[IronPython] Implementing WSGI server as ASP.NET handler

Eric Larson ionrock at gmail.com
Thu Mar 30 07:16:46 PST 2006


That is rad. :)

On 3/30/06, Sanghyeon Seo <sanxiyn at gmail.com> wrote:
>
> Hello, I got a proof-of-concept WSGI server as ASP.NET handler
> working, using IronPython.
>
> My development environment is Debian GNU/Linux with latest Mono and
> XSP, and IronPython 1.0 Beta 4 with patches.
>
> All the relevant codes are here. I will write a nice HOWTO when I got
> some more time.
> http://sparcs.kaist.ac.kr/~tinuviel/fepy/
>
> Extract IronPython release and copy CPython's Lib directory over. Then
> download wsgi.py from lib directory to Lib directory.
>
> Create a directory (this will be ASP.NET application root directory).
> Download web.config and wsgi_hello.py from example directory.
>
> Create "bin" directory inside the application root directory. Make
> symbolic links to IronMath.dll, IronPython.dll, and copied-over Lib
> directory there. Then download WSGI.cs and its Makefile from src
> directory, and build WSGI.dll.
>
> Now just run "xsp2" ("xsp" is for .NET 1.x, and won't work with
> IronPython) from the application root directory. You should see
> something like:
>
> xsp2
> Listening on port: 8080 (non-secure)
> Listening on address: 0.0.0.0
> Root directory: /home/tinuviel/devel/fepy/wsgi
> Hit Return to stop the server.
>
> Do not hit return.
>
> Open http://localhost:8080/wsgi_hello.py in your web browser and get
> greeted.
>
> Seo Sanghyeon
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/users-ironpython.com/attachments/20060330/71cbf290/attachment.html


More information about the users mailing list