2010-02-18 Marek Habersack <mhabersack@novell.com>
* HostingEnvironment.cs: removed SetHostingId and added internal
setters to the SiteName and IsHosted properties.
* ApplicationManager.cs: CreateHost doesn't have to call set
HostingEnvironment.IsHosted, it is done in
ApplicationHost.CreateApplicationHost.
* ApplicationHost.cs: set the ".appId" item in the new appdomain's
data, so that HttpRuntime.AppDomainAppId returns a non-null
value.
Set HostingEnvironment.{IsHosted, SiteName} in the new appdomain
instead of the original one.
All of the above fix bug #578880
2010-02-18 Marek Habersack <mhabersack@novell.com>
* HostingEnvironmentTest.cs: added a test for HostEnvironment
property values both in hosted and non-hosted environments. Patch
contributed by Tiaan Geldenhuys <tagdev@gmail.com>, thanks!
svn path=/trunk/mcs/; revision=151983