What is the Python / IronPython web development framework working in the Microsoft technology stack?

I started learning Python using the IronPython implementation. I would like to do some web development now. I am looking for a python web development framework that runs in the Microsoft technology stack (IIS + MS SQL Server). Django looks like an interesting structure, but based on what I read, getting it to work in the Microsoft technology stack seems very difficult or impossible.

I want to incline a web framework that uses the strengths of python, so ASP.NET is not an option here.

The reasons I want to make Python in the full Microsoft stack are as follows:

  • We are a .Net store, and our production servers launch the full Microsoft stack
  • With IronPython, I can interact with our .Net Libraries product
  • Our existing database runs on SQL Server, and I want to develop an application that queries this database
  • Deploying my Python projects on our server will not be allowed if I need to install another web server

Any recommendations?

+6
python ironpython
source share
3 answers

Working with the full MS stack will be difficult, since there are not many flash flash objects. You are lucky with the WAMP approach (Windows / Apache / MySQL-PostgreSQL / Python).

Saying that Django works on Windows, and can even run on IIS using PyISAPIe and MS SQL Server .

TurboGears can also be installed on Windows and MS SQL Server Support through its ORM server blocks.

Trying to use -AMP under Windows can sometimes be an exercise in masochism. This can be done, but using these frameworks under Linux / BSD is much simpler and more enjoyable. You should definitely try it.

+7
source share

Although perhaps not completely mature, isapi-wsgi seems like a promising way to run the WSGI middleware in IIS (I have no hands - Experience with it, but it seems worth a try!). After WSGI works with almost any Python web card, including Django, it should work on top of it (my personal favorite is werkzeug , non- snippets utilities on top of WSGI, but I understand that this is probably a lower level of abstraction than most web developers prefer typical web applications and websites).

django-mssql should allow Django to work fine on SQL Server and looks mature enough (again, without practical experience). If you prefer a more complex obj-relational mapper, SQLalchemy claims that MS-SQL support is out of the box with minor restrictions (for example, no more than one IDENTITY column per table).

If you want to stick with IronPython, but can live using SQLite instead of MS-Server, you should also use Django on IronPython with IIS.

+3
source share

Django in theory works on Windows, but uses Apache and MySQL. It is impossible (and, of course, not recommended) to run it on IIS.

I know that you didn’t ask this completely, but I should advise that if you really want to get into Python web development, then a search in the Linux technology stack is definitely recommended. :)

+1
source share

All Articles