Commit Graph
7 Commits
Author SHA1 Message Date
Marek Habersack dd5ce5833e 2007-08-23 Marek Habersack <[email protected]>
* ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
            renamed to LoadTypeFromBin.

2007-08-23  Marek Habersack  <[email protected]>

            * AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
            and HttpApplication.LoadTypeFromBin.

            * BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
            AddAssembliesInBin.

2007-08-23  Marek Habersack  <[email protected]>

            * ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"
            if running on Windows or with MONO_IOMAP in effect, and to
            "Bin:bin" otherwise.

2007-08-23  Marek Habersack  <[email protected]>

            * SimpleWebHandlerParser.cs: use
            HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
            LoadAssemblyFromBin.
            Restore the old logic in GetTypeFromBin, also use
            HttpApplication.BinDirectoryAssemblies there.

            * TemplateParser.cs: use HttpApplication.BinDirectories to
            interate over the list of bin dirs.
            Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.

2007-08-23  Marek Habersack  <[email protected]>

            * HttpApplication.cs: added a static array BinDirs which contains
            the common bin directory names we can encounter.
            Added internal static property IsRunningOnWindows.
            Added internal enumerable property BinDirectories to iterate over
            the full paths of the available binary directories.
            Added internal enumerable property BinDirectoryAssemblies to
            iterate over .dll files in the bin directories.
            LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
            LoadTypeFromBin uses BinDirectoryAssemblies.
            
            * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
            interate over the list of bin dirs.



svn path=/trunk/mcs/; revision=84684
2007-08-23 10:30:37 +00:00
Marek Habersack fcc675453f 2007-08-21 Marek Habersack <[email protected]>
* 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
2007-08-21 21:13:54 +00:00
Marek Habersack 6e3965db61 A few changes related to App_*Resources and App_Code folders
svn path=/trunk/mcs/; revision=67517
2006-11-08 13:43:06 +00:00
Gonzalo Paniagua Javier f269a83e07 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/WebHandlerParser.cs:
	* System.Web.UI/WebServiceParser.cs:
	* System.Web.UI/UserControlParser.cs:
	* System.Web.UI/PageParser.cs: added new ctor that uses a TextReader
	as input.

	* System.Web.UI/TemplateControlParser.cs: new Reader property.
	* System.Web.UI/SimpleWebHandlerParser.cs: new Reader property and
	ctor.

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

	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/TemplateControlCompiler.cs: CreateMethods is
	now internal.

	* System.Web.Compilation/WebServiceBuildProvider.cs:
	* System.Web.Compilation/PageBuildProvider.cs:
	* System.Web.Compilation/UserControlBuildProvider.cs:
	* System.Web.Compilation/WebHandlerBuildProvider.cs: new build
	providers.

	* System.Web.Compilation/BuildProvider.cs: add assemblies.

	* System.Web.Compilation/BaseCompiler.cs: expose the provider and the
	compile unit through properties.

svn path=/trunk/mcs/; revision=56878
2006-02-14 22:02:15 +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 20f86819b0 2006-02-06 Gonzalo Paniagua Javier <[email protected]>
* IgnoreFileBuildProvider.cs: it's not public.
	* BuildProvider.cs: mostly implemented.


svn path=/trunk/mcs/; revision=56592
2006-02-06 19:53:15 +00:00
Chris Toshok a3a46ec81d stub out the 2.0 System.Web.Compilation stuff.
svn path=/trunk/mcs/; revision=55349
2006-01-10 22:29:39 +00:00