Re: [Ironruby-core] Hosting DLR under ASP.NET

2010-02-02 Thread Ivan Porto Carrero
There you go: http://github.com/casualjim/ironrubymvc --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Tue, Feb 2, 2010

Re: [Ironruby-core] Hosting DLR under ASP.NET

2010-02-02 Thread Ivan Porto Carrero
The best is to host the scriptingruntime in global.asax A script scope is something that you can think of as a unit of runnable script (1 or more files) so in a web scenario I'd say that a scriptscope is scoped to a request. For IronRubyMVC it works like this: Global.asax initializes the ruby eng

Re: [Ironruby-core] Hosting DLR under ASP.NET

2010-02-02 Thread Shay Friedman
What do you want to achieve? Do you want to display pages written in Ruby, call Ruby functions, something else? Shay Friedman | .NET Technologies Expert | Author of IronRuby Unleashed | Sela Technology Center Blog: http://IronShay.com | Twit

[Ironruby-core] Hosting DLR under ASP.NET

2010-02-02 Thread Marco Parenzan
Dear All, are there any advices about hosting DLR under ASP.NET for scripting? (not for views!)? Where hosting ScriptingRuntime, ScriptingEngine? As static variables in Global.asax? In Application? Where hosting ScriptingScope? In Session? Destroy and reistantiate at each call? I have to develop