.netironpython

How to embed IronPython in a .NET application


Is it possible to expose an API in a .NET application by embedding a scripting language like IronPython?

How is it done?


Solution

  • IronPython has a hosting API which can be used to execute IronPython scripts from a C#\VB application.

    This is a good example of embedding IronPython inside a winforms app.Note that the hosting APIs have changed since that post. This post shows an example of the latest API

    You can find the latest specs here [Note: URL throws a 404 as of 2010-09-07]