[IronPython] IronPython and Silverlight SDK

Seshadri Pillailokam Vijayaraghavan seshapv at microsoft.com
Thu Sep 18 22:43:03 CEST 2008


I can address the non-silverlight, DLR hosting part of your query -

The following posts should help you get started with hosting the desktop DLR in your app (with and w/o using config files)
http://blogs.msdn.com/seshadripv/archive/2008/09/07/dlr-hosting-api-latest-version-of-the-spec-is-available-online-includes-changes-to-runtime-initialization.aspx
http://blogs.msdn.com/seshadripv/archive/2008/09/11/dlr-hosting-sample-simple-dlr-host-using-the-new-app-config-based-scriptruntime-creation.aspx
http://blogs.msdn.com/seshadripv/archive/2008/09/14/dlr-hosting-api-how-to-create-a-scriptruntime-object-without-using-app-config-files-using-language-specific-hosting-api.aspx

The second link contains a self contained sample console app that hosts the latest (IP V2 B5) desktop DLR.

Hope this helps

Sesh

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Miha Valencic
Sent: Thursday, September 18, 2008 1:23 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython and Silverlight SDK

Hi!

I downladed the lastest SL SDK from codeplex and wanted to use ScriptRuntime and ruby & python engines with it.

I found out, that the API is quite different between IP 2.0b4 and the version included in the SL-SDK.

Is the SL-SDK version intended for "hosting" scenarios at all? Or is it Silverlight only? I noticed that the Microsoft.Scripting.dll is a version 2.0, whereas the one with IronPython b4 (and b5) is 1.0

While on the subject, how can I use the DLR in the "hosting scenario" and use either IronPython or IronRuby as a languages on top of it in the same ScriptRuntime?

Thanks,
  Miha

ps: The hosting-spec documents is ok to see the "overview" of what it is it supposed to do, but I am missing specifically some "guidance" on how to initialize the ScriptRuntime from configuration. What is expected there?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080918/7e01f311/attachment.html>


More information about the Ironpython-users mailing list