Eval IronPython Scripts during ASP.NET Web Request; Static Engine or Not
Posted
by Josh Pearce
on Stack Overflow
See other posts from Stack Overflow
or by Josh Pearce
Published on 2010-05-12T13:21:21Z
Indexed on
2010/05/12
13:24 UTC
Read the original article
Hit count: 233
I would like to create an ASP.NET MVC web application which has extensible logic that does not require a re-build. I was thinking of creating a filter which had an instance of the IronPython engine. What I would like to know is: how much overhead is there in creating a new engine during each web request, and would it be a better idea to keep a static engine around? However, if I were to keep a single static engine around, what are the issues I might run into as far as locking and script scope? Is it possible to have multiple scopes in the same IropPython engine so I don't get variable collision and security issues between web requests?
© Stack Overflow or respective owner