Commit Graph
7 Commits
Author SHA1 Message Date
Marek Habersack 81b8a39b9c [asp.net] DefaultVirtualPathProvider cosmetics.
Use String.IsNullOrEmpty instead of comparing against ""
2011-01-27 15:35:06 +01:00
Marek Habersack 3bcc352c6d 2008-03-27 Marek Habersack <[email protected]>
* BuildManager.cs: AssertVirtualPathExists now queries the
	VirtualPathProvider for path existence if physical path check
	fails, before throwing the 404 exception.

2008-03-27  Marek Habersack  <[email protected]>

	* DefaultVirtualPathProvider.cs: support relative virtual paths in
	all the methods.

	* VirtualPathProvider.cs: FileExists should chain to the previous
	handler, if present.

2008-03-27  Marek Habersack  <[email protected]>

	* Page.cs: added an implementation of the ClientQueryString
	property.

2008-03-27  Marek Habersack  <[email protected]>

	* HttpRequest.cs: make UrlComponents internal.

	* HttpContext.cs: added support for resource provider factories.

svn path=/trunk/mcs/; revision=99122
2008-03-27 13:50:26 +00:00
Marek Habersack 0ad500d7f9 2008-03-12 Marek Habersack <[email protected]>
* DefaultVirtualPathProvider.cs: disable throwing an exception
	when a virtual path is passed to FileExists.
2008-03-12  Marek Habersack  <[email protected]>

	* HttpApplication.cs: HttpContext.Handler may be set by a module
	in any of the event handlers between acquiring the initial handler
	and processing the request. Honor the setting and use
	HttpContext.Handler instead of the matched one if set.

svn path=/trunk/mcs/; revision=98108
2008-03-12 23:57:42 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Gonzalo Paniagua Javier 6be4ffb621 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration_2.0/Compiler.cs:
	* System.Web.Configuration_2.0/CompilerCollection.cs: removed
	compatibility code.

	* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
	GetProviderForExtension().

	* System.Web.UI/IThemeResolutionService.cs: this is now added to the
	sources file, but some other stuff does not compile yet as the
	interface changed after the beta.

	* System.Web.UI/ObjectConverter.cs: removed extra attribute.

	* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.

	* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
	commented the 'good' stuff out, since other files need to be fixed
	too.

	* System.Web.dll.sources: add new files.

	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs: only
	compile these for pre-2.0 assemblies.

	* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
	comments/TODO.
	* System.Web.Hosting/HostingEnvironment.cs: initialize the
	default value for VirtualPathProvider.

	* System.Web.Compilation/CompilerType.cs: implemented.

	* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.

	* System.Web.Compilation/WebServiceCompiler.cs:
	* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
	instance creation code.

	* System.Web.Compilation/ClientBuildManager.cs: implemented some of
	its methods. Not yet ready.

	* System.Web.Compilation/BuildManager.cs: the more interesting methods
	are implemented now.

	* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
	in case of error.

	* System.Web.Compilation/BuildProvider.cs: implemented the
	Get*Compiler* protected methods.


svn path=/trunk/mcs/; revision=56781
2006-02-10 23:43:09 +00:00
Gonzalo Paniagua Javier f32bc54c72 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
* DefaultVirtualDirectory.cs: implemented missing bits.
	* DefaultVirtualFile.cs: fix ctor scope.
	* DefaultVirtualPathProvider.cs: implemented GetFile and GetDirectory.


svn path=/trunk/mcs/; revision=56480
2006-02-02 18:20:47 +00:00
Gonzalo Paniagua Javier fbc96a6dfb 2006-02-01 Gonzalo Paniagua Javier <[email protected]>
* DefaultVirtualDirectory.cs:
	* DefaultVirtualPathProvider.cs:
	* VirtualFile.cs:
	* DefaultVirtualFile.cs: almost done with the default
	VirtualPathProvider which just maps to on-disk directories/files.


svn path=/trunk/mcs/; revision=56430
2006-02-02 01:01:42 +00:00