Monday, September 28, 2009

NWSGI 2.0 Release Candidate 1 Released

To coincide with IronPython 2.6 RC1, NWSGI 2.0 RC1 is now available.

This release is identical to Beta 2, except for the version of IronPython is uses.

Friday, September 25, 2009

Using NWSGI 2.0 Beta 2 with IronPython 2.6 RC1

UPDATE: This won't work. The IronPython team made some changes that break the ABI (Microsoft.Dynamic, I'm looking at you) which renders this fix unworkable.

NWSGI is linked against specific versions of IronPython, so every time the IronPython team changes the AssemblyVersion, I need to respin NWSGI. In the meantime, an <assemblyBinding/> section can be used in web.config to make previous NWSGI version work with newer IronPython versions.

Thanks to Markus Törnqvist for coming up the specific elements for this case:

       <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
               <assemblyIdentity name="IronPython" publicKeyToken="31bf3856ad364e35" culture="neutral" />
               <bindingRedirect oldVersion="" newVersion="2.6.10920.0" />
               <assemblyIdentity name="Microsoft.Scripting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
               <bindingRedirect oldVersion="" newVersion="" />

I’ll try to get an update of NWSGI out as soon as possible.