[Mono-bugs] [Bug 578880] System.Web.Hosting.HostingEnvironment's IsHosted, ApplicationID and SiteName properties not provided for a hosted environment

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 11 16:05:07 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=578880

http://bugzilla.novell.com/show_bug.cgi?id=578880#c1


Peter Johanson <peter at peterjohanson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at peterjohanson.com

--- Comment #1 from Peter Johanson <peter at peterjohanson.com> 2010-02-11 21:05:07 UTC ---
Just want to second this bug. This creates a problem for Spark View Engine
(http://sparkviewengine.com/) which uses HostingEnvironment.IsHosted and
HostingEnvironment.VirtualPathProvider to determine if it is running in a
hosted environment.

You can see the code they use there successfully on .NET in the
CreateDefaultViewFolder() method of SparkViewEngine here:
http://github.com/loudej/spark/blob/master/src/Spark/SparkViewEngine.cs

I discovered this when testing FubuMVC's Spark view engine on mono-2.6.1.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list