[Ironpython-users] Build-Problem : ASP.NET with IronPython 2.7.4

Bernd Viehmann bernd.viehmann at googlemail.com
Fri Jan 17 10:28:18 CET 2014


Hi, Jeff.

I have tried this. I also found an remark on the blog of Jimmy Schementi.
He says that you just have to rename Microsoft.Web.Scripting to
Microsoft.Scripting.AspNet. But now it throws an exception when
initialising the type "Microsoft.Scripting.AspNet.EngineHelper".

Jimmy wrote:

Background

This download enables IronPython as an ASP.NET programming
language<http://www.asp.net/dynamiclanguages>.
To create a new IronPython ASP.NET WebForms project, simply copy
examples\web.config and examples\bin, and use
examples\hello-webforms.aspxas a reference. A redistributed copy of
the IronPython 2.7 Alpha 1 binaries
can be found in the examples\bin directory; all files except
Microsoft.Scripting.AspNet.dll, the IronPython ASP.NET integration, are
from the IronPython 2.7 Alpha 1 release.

For more detail on getting started, here’s a simple walk-through of making
the “hello-webforms”
app<http://blog.jimmy.schementi.com/2008/09/aspnet-dynamic-language-support.html>
.


I will try it with a question in the ASP.NET Forum. Thanxx much, Jeff :-)


2014/1/17 Jeff Hardy <jdhardy at gmail.com>

> I don't actually know where that DLL comes from. I thought all of the
> ASP.NET support was in Microsoft.Scripting.AspNet, so you could see of
> those types are in there.
>
> - Jeff
>
> On Fri, Jan 17, 2014 at 7:15 AM, Bernd Viehmann
> <bernd.viehmann at googlemail.com> wrote:
> > Hi,
> >
> > i am playing and have tried to create an ASP.NET project with IronPython
> > 2.7.4. I have copied the dlls to the bin-folder in my project. But in the
> > platform-folder of the 2.7.4. version there is dll missing:
> > Microsoft.Web.Scripting.
> >
> > This dll is used in the old dynamic.language-support example-project
> (which
> > is older now). So when i try to build the project i get an error-message
> > that the type "Microsoft.Web.Scripting.UI.NoCompileCodePageParserFilter"
> > could not be loaded.
> >
> > The Microsoft.Web.Scripting.dll is used several times in the web.config
> that
> > i have taken from the older dynamic-lng-spprt example. Here is a list:
> >
> >     <pages compilationMode="Auto"
> >
> pageParserFilterType="Microsoft.Web.Scripting.UI.NoCompileCodePageParserFilter"
> > pageBaseType="Microsoft.Web.Scripting.UI.ScriptPage"
> > userControlBaseType="Microsoft.Web.Scripting.UI.ScriptUserControl">
> >       <controls>
> >         <add tagPrefix="asp" namespace="System.Web.UI"
> > assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
> > PublicKeyToken=31BF3856AD364E35"/>
> >         <add tagPrefix="asp" namespace="System.Web.UI.WebControls"
> > assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
> > PublicKeyToken=31BF3856AD364E35"/>
> >       </controls>
> >     </pages>
> >
> >     <httpModules>
> >       <add name="DynamicLanguageHttpModule"
> > type="Microsoft.Web.Scripting.DynamicLanguageHttpModule"/>
> >       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
> > System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
> > PublicKeyToken=31BF3856AD364E35"/>
> >     </httpModules>
> >
> >
> >     <modules>
> >       <remove name="ScriptModule"/>
> >       <add name="ScriptModule" preCondition="managedHandler"
> > type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
> > Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
> >       <add name="DynamicLanguageHttpModule" preCondition="integratedMode"
> > type="Microsoft.Web.Scripting.DynamicLanguageHttpModule"/>
> >     </modules>
> >
> >
> > does somebody fixed that? is the dll not longer used and i have to make
> some
> > changes in my web.config ? or is there an upgrade for this dll?
> >
> > thanks much for your help and kind regards
> >
> > Bernd
> >
> > _______________________________________________
> > Ironpython-users mailing list
> > Ironpython-users at python.org
> > https://mail.python.org/mailman/listinfo/ironpython-users
> >
>



-- 

Mit freundlichen Grüßen

Bernd Viehmann
Mahrweg 46
41836 Hückelhoven

Tel.: 02433 9640 100
Fax: 02433 9640 109
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140117/8d360c2e/attachment.html>


More information about the Ironpython-users mailing list