* 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 <[email protected]>
* HostingEnvironmentTest.cs: added a test for HostEnvironment
property values both in hosted and non-hosted environments. Patch
contributed by Tiaan Geldenhuys <[email protected]>, thanks!
svn path=/trunk/mcs/; revision=151983
* LogicalTypeInfo.cs: removed the JsonResult class - it has no use
and it can break applications (e.g. Umbraco)
2009-11-19 Marek Habersack <[email protected]>
* VirtualPathUtility.cs: made Normalize internal
2009-11-19 Marek Habersack <[email protected]>
* WebConfigurationHost.cs: IsDefinitionAllowed now normalizes the
passed configuration path, so that MachineToApplication sections
* WebConfigurationManager.cs: use an rw lock to protect access to
sectionCache. This is now necessary as the save handler clears the
cache.
svn path=/trunk/mcs/; revision=146546
* ApplicationHostTest.cs: ignore the CachePath test. We are settig it
to DynamicBase to make all the temporary and shadow-copied files go
into the same directory.
svn path=/trunk/mcs/; revision=117535
* ApplicationHostTest.cs: test update for the PrivateBinPath
change in ApplicationHost (a work-around for an IOMAP bug).
2008-04-15 Marek Habersack <[email protected]>
* ApplicationHost.cs: restore Bin;bin to PrivateBinPath, as a
work-around for an IOMAP bug. Fixes bugs #379890 and #379888
svn path=/trunk/mcs/; revision=100737
* ApplicationHostTest.cs: adjust test for the PrivateBinPath
change in ApplicationHost.
2008-03-13 Marek Habersack <[email protected]>
* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
create watchers for binary application directories.
* HttpApplication.cs:
Remove the BinDirectories enumerator property, replaced with a
BinDirectory one returning a string with path to the binary
directory.
2008-03-13 Marek Habersack <[email protected]>
* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
checking whether we're running in a case-insensitive environment.
Revert to the single-bin-dir behavior when setting the
PrivateBinPath - the directories are sought for in the order given
by HttpApplication.BinDirs and the first existing directory is set
as the value of PrivateBinPath. If none of those are found,
PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
2.0 profile)
2008-03-13 Marek Habersack <[email protected]>
* TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
exists, use HttpApplication.BinDirectory instead.
svn path=/trunk/mcs/; revision=98211
* ApplicationHostTest.cs: adjust ConstructorTest for
AppDomainSetup.PrivateBinPath changes.
2007-11-03 Marek Habersack <[email protected]>
* ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
full paths on 2.0.
2007-11-03 Marek Habersack <[email protected]>
* HttpApplication.cs: removed unused internal PrivateBinPath
property.
* HttpRuntime.cs: BinDirectory returns a path that ends with the
directory separator character.
svn path=/trunk/mcs/; revision=88756
* ApplicationHostTest.cs: use ; as the separator in the
PrivateBinPath test.
2007-08-24 Marek Habersack <[email protected]>
* ApplicationHost.cs: use ; as the separator with PrivateBinPath.
svn path=/trunk/mcs/; revision=84766
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
changes.
2007-08-21 Marek Habersack <[email protected]>
* ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
to get the provider settings type.
2007-08-21 Marek Habersack <[email protected]>
* HttpApplicationFactory.cs: watch for changes in all the
private binary directories for the current application domain.
* HttpApplication.cs: turn the PrivateBinPath property into an
internal enumerable, so that code throughout the assembly can
iterate over the list of private bin directories configured for
the application domain.
Added a new internal method LoadTypeFromPrivateBin, for sharing
with other parts of the assembly.
2007-08-21 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
enumerator when loading or adding assemblies from binary
directories. Remove unused PrivateBinPath property.
* ControlBuilder.cs: remove unused PrivateBinPath property.
* TemplateParser.cs: use HttpApplication.PrivateBinPath when
adding assemblis and loading types.
2007-08-21 Marek Habersack <[email protected]>
* ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
a list of paths relative to AppDomainSetup.ApplicationBase, not a
full path.
We no longer check if the bin directories exist, the user can
create them while the application is running.
2007-08-21 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: get rid of PrivateBinPath property,
it's unused.
2007-08-21 Marek Habersack <[email protected]>
* BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
to look up assemblies in the binary path(s).
svn path=/trunk/mcs/; revision=84589
* ServletWorkerRequest.cs: fixed:
Path.Combine is used in GetFilePathTranslated to consider
platform-depended PathSeparator char.
svn path=/trunk/mcs/; revision=69732
Cleanup the ondotnet target of the System.Web 2.0 test suite (0 failures), making it an efficient reference point for new tests verification.
svn path=/trunk/mcs/; revision=67439
* SimpleWorkerRequestTest.cs: new tests for PathInfo and disabled a test
that throws a nullref under MS.
* ApplicationHostTest.cs: fixed 2 assertions to expect what MS does.
svn path=/trunk/mcs/; revision=58393
* SimpleWorkerRequestTest.cs: Ensure a trailing / in the expected path
as GetAppPathTranslated must have one (while most directory methods
don't append one).
svn path=/trunk/mcs/; revision=50211
* SimpleWorkerRequestTest.cs: Added a test case (GetUriPath) that was
failing in the CAS tests (but wasn't CAS related).
* SimpleWorkerRequestCas.cs: Ignore the ctor(string,string,TextWriter)
test as I don't have a working test case. Simplify GetUriPath check
so it doesn't fail.
svn path=/trunk/mcs/; revision=49992
* AppDomainFactoryCas.cs: New. CAS unit tests for AppDomainFactory.
* ApplicationHostCas.cs: New. CAS unit tests for ApplicationHost.
* ISAPIRuntimeCas.cs: New. CAS unit tests for ISAPIRuntime.
* SimpleWorkerRequestCas.cs: New. CAS unit tests for
SimpleWorkerRequest.
* SimpleWorkerRequestTest.cs: Added a few (unworking) test cases for
GetPathInfo method.
svn path=/trunk/mcs/; revision=49863