* HttpApplication.cs: introduced HTTP handler cache to save time
on repetitive handler collection traversals. On busy sites the
traversal of the default 26 handlers may account for thousands of
unnecessary calls to configsystem.LocateHandler method, which may
also involve executing a regex. The cache is cleared whenever the
HTTP handler collection is modified.
2007-11-02 Marek Habersack <[email protected]>
* HttpHandlerActionCollection.cs: clear http handler cache in
HttpApplication if the collection is modified.
2007-11-02 Marek Habersack <[email protected]>
* HandlerFactoryConfiguration.cs: clear the HttpApplication HTTP
handler cache whenever the collection is modified.
svn path=/trunk/mcs/; revision=88716
* ConfigurationElement.cs : ListErrors() and SetPropertyValue()
are protected.
* ConfigurationSection.cs : the .ctor() is protected.
* ConfigurationElementCollection.cs : CollectionType is public.
Count and BaseAdd() are not virtual.
* ConfigurationPropertyCollection.cs : Count is not virtual.
* SettingElementCollection.cs : CollectionType is protected.
* TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
CustomErrorCollection.cs, CompilerCollection.cs,
HttpHandlerActionCollection.cs,
FormsAuthenticationUserCollection.cs,
AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
CollectionType is public.
svn path=/trunk/mcs/; revision=56425
* HttpHandlerAction.cs: add some c&p code from the 1.1 config
stuff to look for matching handlers.
(..ctor): add parameterless ctor.
* HttpHandlerActionCollection.cs: clean up formatting.
(CreateNewElement): call the parameter-less ctor for
HttpHandlerAction.
* HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
the default collection.
(get_Handlers): implement.
(LocateHandler): copy over (and massage) some 1.1 config code.
* MachineKeySection.cs: move some code over from the 1.1 config
code to deal with autogeneration of keys, as well as converting
from the string rep to the byte[] rep.
svn path=/trunk/mcs/; revision=53577
* System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
and nuke S.W.C_2.0/InternalSection.cs.
* System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
the HttpModules property.
* System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
reindent, and add MonoTODO's.
* System.Web.Configuration_2.0/HttpHandlerAction.cs: use
properties in the ctor, and remove the instance variables.
* System.Web.Configuration_2.0/InternalSection.cs: nuke.
* System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
stubs.
* System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.
* System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.
* System.Web.Configuration_2.0/CompilationSection.cs: inherit from
ConfigurationSection, not InternalSection.
* System.Web.Configuration_2.0/SiteMapSection.cs: same.
* System.Web.Configuration_2.0/PagesSection.cs: same.
* System.Web.Configuration_2.0/MembershipSection.cs: same.
* System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
same.
svn path=/trunk/mcs/; revision=52587