Project Description

NWSGI is a .NET implementation of the Python WSGI specification for IronPython. It is implemented as an ASP.NET HttpHandler for use with IIS 6 and 7.

What is WSGI?

WSGI is a Python standard for implementing the interface between web servers and web applications. See PEP 333 for all of the gory details.

WSGI forms the foundation of modern Python web frameworks like Pylons, CherryPy, and Django. Unfortunately, IronPython needs some more time to mature to be capable of running there frameworks, but progress is being made.

What is NWSGI?

NWSGI is an implementation of the Python WSGI spec (other implementations include wsgiref and mod_wsgi). NWSGI is implemented in .NET as an ASP.NET 2.0 HttpHandler that embeds IronPython.

Why NWSGI?

The primary reason for NWSGI's existence is IIS7. IIS7 uses HttpHandlers as its native extension mechanism and web.config files for configuration. This makes deploying NWSGI on IIS7 very easy and opens up all of the IIS7 and ASP.NET fatures to Python web applications. NWSGI can be deployed to the GAC,making it possible to deploy a Python web application by simply creating a web.config with the proper information and pointing IIS7 at the directory.

NWSGI allows the integration of Python applications with existing ASP.NET facilities such as caching, sessions, and user management. Python applications can co-exist with and exploit the infrastructure of existing ASP.NET applications and web farms.

NWSGI includes a management UI extension for IIS 7 that enables graphical and command line administration of NWSGI through IIS 7's fantastic administration capabilities.

Documentation

Latest News

 Jeff Hardy's Blog News Feed 
Monday, September 28, 2009  |  From Jeff Hardy's Blog
Friday, September 25, 2009  |  From Jeff Hardy's Blog
Saturday, August 15, 2009  |  From Jeff Hardy's Blog
Thursday, July 02, 2009  |  From Jeff Hardy's Blog
Tuesday, June 30, 2009  |  From Jeff Hardy's Blog
 Jeff Hardy's Blog News Feed 
Last edited Oct 3 at 5:47 PM by jdhardy, version 19

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (6)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987