1 2008-03-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3 * ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
5 2008-02-18 Vladimir Krasnov <vladimirk@mainsoft.com>
7 * WebConfigurationManager.cs: performance improvement, cached
10 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
12 * GlobalizationSection.cs: fixed GetSanitizedCulture, performance
15 2008-02-05 Marek Habersack <mhabersack@novell.com>
17 * CompilerCollection.cs: Get (string language) should not use
18 BaseGet as our collection is keyed on a list of language names
19 (e.g. "cs;csharp") and passing a single language won't match in
20 BaseGet correctly. Use the overriden indexer instead.
21 Initialize the base class with the case-insensitive
22 comparer. Fixes bug #357824.
24 2008-01-27 Daniel Nauck <dna@mono-project.de>
26 * HttpHandlerAction.cs: fixed the internal method PathMatches ()
27 removed wrong caching of FileMatchingInfo classes with request specific
28 informations. Now we check against the current request path and cache
29 the result in a dictionary.
30 Also check correctly against all possible paths from the HttpHandler.
33 2007-12-27 Marek Habersack <mhabersack@novell.com>
35 * ProfileGroupSettingsCollection.cs: added an internal method to
36 add/overwrite new group settings. Used from
37 RootProfilePropertySettingsCollection.
39 * ProfileGroupSettings.cs: added the missing "name" property to
40 the properties collection.
41 Marked the propertySettingsProp property as the default
43 Added internal deserialization method, used from
44 RootProfilePropertySettingsCollection to support the 'group'
47 * ProfileSection.cs: defaultProviderProp typo - the name of the
48 provider should be "AspNetSqlProfileProvider"
50 * RootProfilePropertySettingsCollection.cs: added
51 OnDeseerializeUnrecognizedElement to support the profile 'group'
53 Added a missing Unmerge method.
55 2007-12-11 Vladimir Krasnov <vladimirk@mainsoft.com>
57 * SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
59 2007-12-08 Marek Habersack <mhabersack@novell.com>
61 * WebConfigurationManager.cs: GetSection now runs each section
62 through a mapper (if any is defined for the section) before
63 returning it to the caller.
65 2007-11-23 Marek Habersack <mhabersack@novell.com>
67 * TagPrefixCollection.cs: changed the collection type to
70 * ProfileSection.cs: added missing Properties property, added a
71 static constructor to create property descriptors. Use property
72 descriptors in property accessors.
74 * ProfileGroupSettingsCollection.cs: added missing attribute to
75 the class, removed CollectionType method, added missing IsModified
76 and ResetModified methods, added missing Properties property.
78 * ProfileGroupSettings.cs: added missing Properties property,
79 adjusted the set of custom attributes of the PropertySettings
82 * ProcessModelSection.cs: change the default value of the CpuMask
85 * OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
88 * OutputCacheProfile.cs: added the VaryByContentEncoding property.
90 * FormsAuthenticationConfiguration.cs: corrected defaults for the
93 * ExpressionBuilder.cs: corrected defaults for the
94 ExpressionPrefix and Type properties.
96 * CustomErrorsSection.cs: added two missing overrides -
97 DeserializeSection and Reset.
99 * ClientTargetSection.cs: added the missing Properties property.
100 Added static constructor to create the property collection.
102 * CustomErrorCollection.cs: removed the ThrowOnDuplicate
105 * CacheSection.cs: corrected defaults for the
106 PercentagePhysicalMemoryUsedLimit property.
108 * ClientTargetCollection.cs: added missing Properties property.
110 * IConfigMapPathFactory.cs: added
112 * IConfigMapPath.cs: added
114 * RoleManagerSection.cs: added a static constructor, a collection
115 of properties, the missing Properties property.
117 2007-11-22 Marek Habersack <mhabersack@novell.com>
119 * RoleManagerSection.cs: CookieTimeout property custom attributes
120 changed to match MS.NET's ones.
122 * AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
123 property - it's not found in the MS.NET version of the class.
125 2007-11-06 Marek Habersack <mhabersack@novell.com>
127 * MachineKeySectionUtils.cs: make sure keys are autogenerated when
130 2007-11-02 Marek Habersack <mhabersack@novell.com>
132 * HttpHandlerActionCollection.cs: clear http handler cache in
133 HttpApplication if the collection is modified.
135 2007-11-01 Marek Habersack <mhabersack@novell.com>
137 * MachineKeySection.cs: moved all the internal static methods and
138 properties to MachineKeySectionUtils.cs
140 * MachineKeySectionUtils.cs: added. This file is included in the
141 System.Web.Extensions compilation.
142 The old properties from MachineKeySection.cs became methods.
144 2007-10-24 Marek Habersack <mhabersack@novell.com>
146 * HttpHandlerAction.cs: exact path matching must be done on the
147 original string in PathMatches, not on the sliced one. Fixes bug
150 2007-10-17 Marek Habersack <mhabersack@novell.com>
152 * WebConfigurationHost.cs: if running outside hosted environment,
153 read only the assemblyname.config configuration file instead of
154 web.config. Fixes bug #332425
156 2007-10-15 Marek Habersack <mhabersack@novell.com>
158 * ProvidersHelper.cs: use HttpApplication.LoadType instead of
161 * HttpModulesSection.cs: use HttpApplication.LoadType when loading
162 modules, to include both the bin/ directory and the top-level
163 assemblies in search. Fixes bug #333686.
165 2007-08-30 Marek Habersack <mhabersack@novell.com>
167 * MachineKeySection.cs: retrieve the keys from the registry before
168 falling back to the old method. Fixes bug #76606
170 2007-08-23 Marek Habersack <mhabersack@novell.com>
172 * ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
173 renamed to LoadTypeFromBin.
175 2007-08-21 Marek Habersack <mhabersack@novell.com>
177 * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
178 to get the provider settings type.
180 2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
182 * PagesEnableSessionState.cs: Marked internal on 1.0 profile.
184 2007-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
186 * ProfileGroupSettingsCollection.cs: added ResetInternal internal
188 * RootProfilePropertySettingsCollection.cs: added Reset method
189 override to reset GroupSettings collection
191 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
193 * HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
195 2007-06-12 Vladimir Krasnov <vladimirk@mainsoft.com>
197 * CompilationSection.cs: TARGET_JVM on not supported features
198 * HttpModulesSection.cs: ctor should be static
200 2007-06-03 Adar Wesley <adarw@mainsoft.com>
202 * ProfilePropertySettingsCollection.cs: added missing method
203 OnDeserializeUnrecognizedElement.
205 2007-05-30 Marek Habersack <mhabersack@novell.com>
207 * WebConfigurationManager.cs: if errors happen when opening the
208 configuration file, mark the manager as unsafe to prevent further
209 usage and avoid error loops.
211 2007-05-17 Igor Zelmanovich <igorz@mainsoft.com>
213 * WebConfigurationHost.cs: for TARGET_J2EE only:
214 prevent NullRefference Exception.
216 2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>
218 * WebConfigurationManager.cs:
219 make configurations hashtable case-insensitive.
220 * WebConfigurationHost.cs: for TARGET_J2EE only:
221 GetStreamName returns file path in right case, that make it works
222 on case-sensitive file system.
224 2007-05-15 Marek Habersack <mhabersack@novell.com>
226 * BuildProviderCollection.cs: refactoring - use
227 HttpApplication.LoadType to actually look up the type.
229 * HttpHandlerAction.cs: as above
231 * WebConfigurationHost.cs: refactoring - moved the LoadType to
232 HttpApplication to share the code between 1.1 and 2.0 profiles.
234 2007-05-14 Marek Habersack <mhabersack@novell.com>
236 * UrlMappingCollection.cs: implemented the Item (string) indexer.
238 * UrlMapping.cs: implemented the URL validation callback body
239 (doesn't work at the moment).
241 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
243 * WebConfigurationManager.cs:
244 make configurations synchronized.
245 added new internal method RemoveConfigurationFromCache.
247 2007-05-07 Marek Habersack <mhabersack@novell.com>
249 * PagesSection.cs: buffering is on by default.
251 2007-04-24 Marek Habersack <mhabersack@novell.com>
253 * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
254 because bad URLs can cause it to throw exceptions. If such
255 exception is caught, throw a HttpException for Bad Request (400).
256 Look for types in the top-level assemblies (App_Code and
259 * WebConfigurationManager.cs: added two internal methods for safe
260 retrieval of config sections.
262 2007-04-19 Marek Habersack <mhabersack@novell.com>
264 * HttpHandlerAction.cs: look up types in all the toplevel
265 assemblies. Fixes bug #80897.
267 2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
269 * ProcessModelSection.cs : cpuMask default value should be int,
272 2007-04-06 Marek Habersack <mhabersack@novell.com>
274 * CustomErrorsSection.cs: make the customErrors section work.
276 * PagesSection.cs: provide appropriate default value for the
277 asyncTimeout setting.
279 2007-03-24 Marek Habersack <mhabersack@novell.com>
281 * WebConfigurationHost.cs: allow MachineToApplication definition
282 for config paths that equal the domain virtual app directory.
284 2007-03-22 Adar Wesley <adarw@mainsoft.com>
286 * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
287 still throw if there is no value in browscaps.ini and the property is called.
289 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
291 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
292 lock when checking if configuration is already open
294 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
296 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
297 GetBasePath call and locations search, since this not affects
298 configuration initialization, but improves performance
300 2007-03-12 Marek Habersack <mhabersack@novell.com>
302 * ProvidersHelper.cs: support loading custom providers from
303 App_Code assemblies. Fixes bug #81071.
304 Also set eol-style to native.
306 2007-03-08 Gert Driesen <drieseng@users.souceforge.net>
308 * PagesSection.cs: Revert part of Adar's patch that regresses
311 2007-03-06 Adar Wesley <adarw@mainsoft.com>
313 * PagesSection.cs: improve Enum parsing and strongly typed default values.
315 2007-02-20 Marek Habersack <grendello@gmail.com>
317 * Patch from Gert Driesen <drieseng@users.sourceforge.net>
318 * PagesSection.cs: Process value of EnableSessionState attribute
319 case-sensitive, and perform check in getter. Fix for bug #80913.
320 * PageParser.cs: Added note on difference in behaviour between page
321 level attribute and configuration attribute for enableSessionState.
322 * PagesConfiguration.cs: Fixed compiler warning.
324 2007-02-22 Marek Habersack <grendello@gmail.com>
326 * CompilerCollection.cs: Optimize language lookup a bit.
328 2007-02-05 Konstantin Triger <kostat@mainsoft.com>
330 * TagPrefixCollection.cs: Fix element key creation.
332 2007-02-04 Konstantin Triger <kostat@mainsoft.com>
334 * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
335 fix the default value.
337 2007-02-02 Marek Habersack <grendello@gmail.com>
339 * TagPrefixCollection.cs: Add the CollectionType parameter.
340 Get rid of unnecessary interface references in the class declaration.
341 GetElementKey should return Source which should be unique, unlike TagPrefix.
343 2007-01-04 Konstantin Triger <kostat@mainsoft.com>
345 * ProfileSection.cs: Ensure enabled = true by default; cleanup.
347 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
349 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
351 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353 * GlobalizationSection.cs: make encodings actually work for the 2.0
356 2006-12-21 Marek Habersack <grendello@gmail.com>
358 * TagMapInfo.cs: Add an internal default constructor for use from
361 * TagMapCollection.cs: Don't call the string,string constructor of
362 TagMapInfo - the class disallows empty strings as values of its
365 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
367 * RoleManagerSection.cs: refactored using attributes
369 2006-12-20 Marek Habersack <grendello@gmail.com>
371 * ProfilePropertyNameValidator.cs: added a few checks.
373 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
375 * WebConfigurationManager.cs: fixed GetSection to execute
376 GetRuntimeObject, refactored GetSection and GetWebApplicationSection
378 2006-12-17 Vladimir Krasnov <vladimirk@mainsoft.com>
380 * HttpHandlerAction.cs: fixed 'verb' config property
382 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
384 * ProvidersHelper.cs: fixed: load assembles from /bin
386 2006-11-22 Miguel de Icaza <miguel@novell.com>
388 * SessionStateSection.cs: Do not call Enum.Parse with a null
389 argument, prevents an exception from being thrown.
391 2006-11-20 Marek Habersack <grendello@gmail.com>
393 * GlobalizationSection.cs: Added support for "auto" cultures and
394 the "auto:DEFAULT_CULTURE" cultures.
396 2006-11-13 Konstantin Triger <kostat@mainsoft.com>
398 * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
400 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
402 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
403 ProfilePropertySettingsCollection.cs, ProfileSection.cs
404 RootProfilePropertySettingsCollection.cs: refactoring and fix of
407 2006-10-18 Marek Habersack <grendello@gmail.com>
409 * WebConfigurationManager.cs: implement support for extra
410 assemblies to be referenced when compiling a page.
412 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
414 * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
415 that fixes bug #79283.
417 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
419 * WebConfigurationHost.cs: do not recourse as this will be done by
420 Configuration object.
422 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
424 * WebConfigurationManager.cs: added configSystem property under
426 * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
428 * CompilationSection.cs: BuildProviders property removed from
430 * SystemWebSectionGroup.cs: Compilation property removed from
433 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
435 * NullableStringValidator.cs : new internal class that is almost
436 identical to StringValidator but allows null value.
437 * PropertyHelper.cs : use new NullableStringValidator.
438 * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
440 2006-06-08 Chris Toshok <toshok@ximian.com>
442 * WebConfigurationHost.cs (InitForConfiguration): i know this is
443 going to bite me in the ass, but guard against configPath being ==
444 to "/", since this will result in an infinite loop.
445 (MapPath): fix a NRE.
447 2006-05-18 Atsushi Enomoto <atsushi@ximian.com>
449 * WebConfigurationManager.cs: recent sys.config.dll changes on
450 ConfigurationManager.GetSection() which should call
451 GetRuntimeObject() should also apply here. Fixed monodoc web.
453 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
455 * HttpHandlerAction.cs: keep the internal exception
457 2006-05-08 Chris Toshok <toshok@ximian.com>
459 * WebConfigurationManager.cs (GetBasePath): fix bug where
460 path.Length was 0 when we got to the last while loop (and indexed
461 -1 into an array.) Thanks Marek for the fix.
463 2006-05-04 Chris Toshok <toshok@ximian.com>
467 * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
468 how we should use the build provider machinery to get types.
469 (MapPath): add rudimentary mapping in the case where we don't have
470 a request, basically handle the case where the url begins with (or
471 is) HttpRuntime.AppDomainAppVirtualPath.
473 * WebConfigurationManager.cs (GetSection): if we don't have a
474 valid request, open the web configuration corresponding to
475 HttpRuntime.AppDomainAppVirtualPath.
476 (GetBasePath): comment this a little, and make it work in the case
477 where we don't have an HttpRequest.
479 2006-04-27 Chris Toshok <toshok@ximian.com>
481 * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
482 being introduce a overridden property MS doesn't make use of.
483 This needs readdressing, but it should get people making use of
484 <authorization> rules working again.
486 2006-04-25 Chris Toshok <toshok@ximian.com>
488 * AuthorizationRule.cs (Reset): finally figure out what this
489 method is supposed to do. Assign our Action property based on
492 2006-04-25 Chris Toshok <toshok@ximian.com>
494 * WebConfigurationHost.cs (InitForConfiguration): actually, use
495 HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
496 It's never null, and its use cleans things up a bit.
498 2006-04-25 Chris Toshok <toshok@ximian.com>
500 * WebConfigurationHost.cs (InitForConfiguration): stop going up
501 the virtual hierarchy once we reach the application's base virtual
504 2006-04-24 Chris Toshok <toshok@ximian.com>
506 * AuthorizationSection.cs (IsValidUser): fix a problem that
507 surfaced when converting from the 1.1 to 2.0 config classes. Only
508 check for verb match if there are actually verbs to match against.
510 2006-04-11 Chris Toshok <toshok@ximian.com>
512 * ExpressionBuilderCollection.cs (CreateNewElement): call argless
515 * ExpressionBuilder.cs: add internal argumentless ctor for use by
518 2006-03-24 Chris Toshok <toshok@ximian.com>
520 * WebConfigurationManager.cs (GetConfig): add a fallback case for
521 configuration sections that don't subclass from
522 ConfigurationSection.
524 2006-03-24 Chris Toshok <toshok@ximian.com>
526 * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
527 ("/") would result in 2 configurations for that toplevel path to
530 2006-03-08 Chris Toshok <toshok@ximian.com>
532 * ProvidersHelper.cs: implement this static class properly.
534 * SiteMapSection.cs (ProvidersInternal): add internal property to
535 get the actual SiteMapProviderCollection from here.
537 2006-02-28 Chris Toshok <toshok@ximian.com>
539 * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
541 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
544 * CompilerCollection.cs: removed compatibility code.
546 * BuildProviderCollection.cs: add GetProviderForExtension().
548 2006-02-02 Chris Toshok <toshok@ximian.com>
550 * WebConfigurationManager.cs (GetSection(string,string)):
553 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
555 * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
556 CustomErrorCollection.cs, CompilerCollection.cs,
557 HttpHandlerActionCollection.cs,
558 FormsAuthenticationUserCollection.cs,
559 AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
560 CollectionType is public.
562 2006-02-01 Chris Toshok <toshok@ximian.com>
564 * WebConfigurationManager.cs: In the normal case, get the current
565 request's web.config, not the application's. If there is no
566 current request, get the application's.
567 (GetWebApplicationConfiguration): use Request.ApplicationPath, not
568 Request.PhysicalApplicationPath. OpenWebConfiguration takes
571 * HttpConfigurationSystem.cs: GetWebApplicationSection =>
574 2006-02-01 Chris Toshok <toshok@ximian.com>
576 * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
580 2006-02-01 Chris Toshok <toshok@ximian.com>
582 * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
583 use this to determine if ConfigurationManager.AppSettings should
586 2006-01-31 Chris Toshok <toshok@ximian.com>
588 * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
589 inside of an ifdef NET_2_0?
591 2006-01-30 Chris Toshok <toshok@ximian.com>
593 * WebConfigurationManager.cs: lots of little changes. hopefully
594 this doesn't break anyone. it fixes all the nunit problems
597 * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
598 case, handle the case where we have a WebConfigurationFileMap.
599 (MapPath): this is likely wrong, but in the case where we don't
600 have a file map or current HttpContext, just return the path.
602 2006-01-29 Chris Toshok <toshok@ximian.com>
604 * HttpModulesSection.cs (LoadModules): I'm not sure we want to
605 solve this problem in this way, but the 1.x code forces
606 DefaultAuthenticationModule to be in the list of modules..
607 Without this fix (or something else) HttpContext.User is null when
610 2006-01-26 Chris Toshok <toshok@ximian.com>
612 * HttpConfigurationSystem.cs: new class that gets sections from
615 * WebConfigurationManager.cs: change a lot of the
616 NotImplementedExceptions to NotSupportedExceptions.
617 (AppSettings): implement by just returning
618 ConfigurationManager.AppSettings (note this is broken because
619 ConfigurationManager.AppSettings are read-only, but it works for
621 (ConnectionStrings): same (and probably broken in the same way..)
622 (Init): replace the 2.0 IInternalConfigSystem with our
623 HttpConfigurationSystem.
625 * WebConfigurationHost.cs: add a comment about how things are
626 likely to work in the face of IRemoteWebConfigurationHostServer.
627 (CreateConfigurationContext): return a WebContext instance.
629 2006-01-25 Chris Toshok <toshok@ximian.com>
631 * AuthorizationSection.cs (IsValidUser): instead of a blanket
632 false for a null user, just set the username to "" and short
633 circuit out the check for roles.
635 2006-01-25 Chris Toshok <toshok@ximian.com>
637 * AuthorizationRule.cs (CheckUser): handle * and ?, and use
638 String.Compare instead of ==.
639 (CheckVerb): use String.Compare instead of ==.
641 * AuthorizationSection.cs (IsValidUser): return false for a null
644 2006-01-22 Chris Toshok <toshok@ximian.com>
646 * GlobalizationSection.cs (VerifyData): quiet mcs.
648 2006-01-18 Chris Toshok <toshok@ximian.com>
650 * SystemWebSectionGroup.cs: wrap System.Web.Services references in
653 2006-01-16 Chris Toshok <toshok@ximian.com>
655 * WebConfigurationManager.cs: implement a IConfigurationSystem for
656 use with WebConfigurationManager.
657 (GetSection): try to load the section
658 using GetWebApplicationSection before calling into
659 ConfigurationManager.GetSection.
660 (GetWebApplicationConfiguration): move common code to here.
661 (GetWebApplicationSection): use GetWebApplicationConfiguration.
662 (AppSettings): implement.
664 * WebConfigurationHost.cs (GetWebConfigFileName): add
665 "Web.Config", and move to an array/loop implementation. maybe we
666 should scan the directory and check ToLower() instead of
667 explicitly enumerating?
669 2006-01-10 Chris Toshok <toshok@ximian.com>
671 * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
672 (ProcessModel): add the ConfigurationPropertyAttribute.
674 2006-01-10 Chris Toshok <toshok@ximian.com>
676 * PagesSection.cs (.cctor): fix the default value for the
677 enableSessionState attribute - it's not a bool, but a
678 PagesEnableSessionState enum.
680 2006-01-10 Chris Toshok <toshok@ximian.com>
682 * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
683 DecryptionKey192Bits): if the keys are null, generate them. Fixes
684 Page.EnableViewStateMac support.
686 2006-01-09 Chris Toshok <toshok@ximian.com>
688 * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
689 SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
690 PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
693 2006-01-09 Chris Toshok <toshok@ximian.com>
695 * ExpressionBuilderCollection.cs (.cctor): no need to create a
696 collection property here. we're already in the collection.
698 * CompilationSection.cs: fix typo.
700 2006-01-04 Chris Toshok <toshok@ximian.com>
702 * MachineKeySection.cs: bring over some more internal methods from
703 MachineKeyConfig, and call Set{Decryption,Validation}Key from
704 their respective property setters.
706 2006-01-03 Chris Toshok <toshok@ximian.com>
708 * AuthorizationSection.cs (IsValidUser): add analogous method from
709 AuthorizationConfig.cs.
711 * AuthorizationRule.cs: add predicates for Verb, User, and Role
712 analogous to what existed in AuthorizationConfig.cs.
714 2005-12-11 Chris Toshok <toshok@ximian.com>
716 * WebConfigurationManager.cs (OpenMachineConfiguration): just call
717 ConfigurationManager.OpenMachineConfiguration.
718 (OpenWebConfiguration): remove the "IntPtr userToken" version and
719 add a "string userName" version to clean up corcompare output.
720 Modify all the overloads to pass null instead of IntPtr.Zero.
721 (GetWebApplicationSection): if we're not running in a web
722 application, use the machine configuration.
724 2005-12-06 Chris Toshok <toshok@ximian.com>
726 * CodeSubDirectory.cs (DirectoryName): don't use an private field,
727 but base[directoyNameProp].
729 * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
730 so we can insert duplicates.
732 (GetElementKey): MS for some reason just uses the action for the
734 (Remove): pass the correct key.
736 * ProfileGroupSettings.cs (GetHashCode): implement.
738 * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
741 * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
744 * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
745 we don't get a invalid cast exception later on.
747 * AuthorizationRule.cs (VerifyData): split out the verification
748 foo from PreSerialize.
749 (PostDeserialize): so we can call it from here.
750 (PreSerialize): and here.
752 2005-12-05 Chris Toshok <toshok@ximian.com>
754 * AuthorizationRuleCollection.cs (GetKey): split out the logic for
755 creating a key from a rule here.
756 (GetElementKey): use it here.
759 2005-12-04 Chris Toshok <toshok@ximian.com>
761 * UrlMapping.cs: add an internal argument-less ctor.
763 * UrlMappingCollection.cs (CreateNewElement): use argument-less
766 (AllKeys): implement.
768 * TrustLevel.cs: add an internal argument-less ctor.
770 * TrustLevelCollection.cs (Set): implement.
771 (CreateNewElement): use argument-less ctor.
772 (IsElementName): implement.
773 (ElementName): implement.
774 (set_Item (int index)): use Set.
775 (ThrowOnDuplicate): implement.
777 * TagPrefixInfo.cs: add internal argument-less ctor.
779 * TagPrefixCollection.cs (CreateNewElement): call argument-less
781 (CollectionType): add text to TODO.
782 (ElementName): implement.
784 * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
785 (AllKeys): implement.
787 * RuleSettings.cs: add internal argument-less ctor.
789 * RuleSettingsCollection.cs (Contains): implement.
790 (CreateNewElement): use argument-less ctor.
791 (IndexOf): implement.
794 * RootProfilePropertySettingsCollection.cs (IsModified): chain up
795 to base.IsModified for now.
796 (Reset): chain up to base.Reset for now.
797 (ResetModified): chain up to base.ResetModified for now.
799 * ProfileSettings.cs: add internal argument-less ctor.
801 * ProfileSettingsCollection.cs (Contains): implement.
802 (CreateNewElement): use argument-less ctor.
803 (IndexOf): implement.
806 * ProfilePropertySettingsCollection.cs (IndexOf): implement.
808 (AllKeys): implement.
810 * ProfileGroupSettings.cs: add internal argument-less ctor.
812 * ProfileGroupSettingsCollection.cs (CreateNewElement): use
815 (ResetModified): for now call base.ResetModified.
817 (AllKeys): implement.
819 * OutputCacheProfile.cs: add internal argument-less ctor.
821 * OutputCacheProfileCollection.cs (CreateNewElement): use
824 (AllKeys): implement.
826 * HttpModuleActionCollection.cs (Add): remove MonoTODO.
827 (CreateNewElement): same.
829 * HttpHandlerActionCollection.cs (GetElementKey): build up the key
830 from both the path and the verb.
833 * FormsAuthenticationUserCollection.cs (Set): implement.
834 (AllKeys): implement.
836 * EventMappingSettings.cs: add an internal argument-less ctor.
838 * EventMappingSettingsCollection.cs (Contains): implement.
839 (CreateNewElement): use argument-less ctor.
840 (IndexOf): implement.
843 * CompilerCollection.cs (GetKey): implement.
844 (AllKeys): implement.
846 * ClientTargetCollection.cs (GetKey): implement.
847 (AllKeys): implement.
849 * AuthorizationRuleCollection.cs (Set): implement.
850 (ElementName): add some text to the MonoTODO.
851 (set_Item (int index)): use Set.
853 2005-12-04 Chris Toshok <toshok@ximian.com>
855 * CustomError.cs: add an internal argument-less ctor for use by
858 * CustomErrorCollection.cs: implement all the MonoTODO's.
860 2005-12-02 Chris Toshok <toshok@ximian.com>
862 * GlobalizationSection.cs (VerifyData): split out the stuff that
863 used to live in PreSerialize here.
864 (PreSerialize): call VerifyData here.
865 (PostDeserialize): and here.
867 2005-12-01 Chris Toshok <toshok@ximian.com>
869 * GlobalizationSection.cs (PreSerialize): add checks for Culture
870 and UICulture properties.
872 2005-12-01 Chris Toshok <toshok@ximian.com>
874 * AuthorizationRule.cs (..ctor): provide default values for
875 roles/users/verbs here. Not sure if we should do this in the ctor
876 or if the System.Configuration infrastructure should.. time will
878 (PreSerialize): throw if Roles.Count and Users.Count == 0.
879 (SerializeElement): write out the element here. don't chain up to
880 the base class since that has differing behavior than what we
883 2005-11-30 Chris Toshok <toshok@ximian.com>
885 * CompilerCollection.cs: ugly hack to fix the
886 2.0-without-config-2.0 case. wrap this file in #if
887 CONFIGURATION_2_0 as well as #if NET_2_0.
891 2005-11-28 Chris Toshok <toshok@ximian.com>
893 * SessionStateSection.cs (CookieLess): correct the compat function
896 2005-11-28 Chris Toshok <toshok@ximian.com>
898 * GlobalizationSection.cs (GetEncoding): if the encoding name is
899 null, default to utf-8 before we hit the try block, so we don't
900 throw and generate a spurious warning.
902 * SessionStateSection.cs: The Cookieless handling needs a custom
903 parser, it appears, as the converter is a StringConverter, not a
904 GenericEnumConverter.
905 (ParseCookieMode): the parser.
907 2005-11-28 Chris Toshok <toshok@ximian.com>
909 * PagesSection.cs (GetInstance): nuke.
911 * CompilationSection.cs (GetInstance): nuke.
913 2005-11-28 Chris Toshok <toshok@ximian.com>
915 * HttpHandlerAction.cs: add some c&p code from the 1.1 config
916 stuff to look for matching handlers.
917 (..ctor): add parameterless ctor.
919 * HttpHandlerActionCollection.cs: clean up formatting.
920 (CreateNewElement): call the parameter-less ctor for
923 * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
924 the default collection.
925 (get_Handlers): implement.
926 (LocateHandler): copy over (and massage) some 1.1 config code.
928 * MachineKeySection.cs: move some code over from the 1.1 config
929 code to deal with autogeneration of keys, as well as converting
930 from the string rep to the byte[] rep.
932 2005-11-28 Chris Toshok <toshok@ximian.com>
934 * HttpModuleActionCollection.cs (CreateNewElement): use the new
935 HttpModuleAction ctor.
937 * HttpModuleAction.cs: add internal ctor with no parameters, for
938 use in HttpModuleActionCollection.
940 2005-11-28 Chris Toshok <toshok@ximian.com>
942 * GlobalizationSection.cs (..cctor): the encoding
943 ConfigurationProperties are of type "string", even though the
944 properties themselves are of type Encoding. we do conversions
945 manually in the setter/getters. gross. Add code (mostly c&p +
946 massaged from GlobalizationConfigurationHandler) for this and also
947 to handle the culture gettes.
949 2005-11-26 Chris Toshok <toshok@ximian.com>
951 * AuthorizationRuleCollection.cs (GetElementKey): implement this.
953 * ProfilePropertyNameValidator.cs: make this internal, and add a
954 blurb about how MS doesn't do the testing you'd expect them to.
956 2005-11-25 Chris Toshok <toshok@ximian.com>
958 * AuthorizationRuleCollection.cs (CreateNewElement): remove
961 * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
963 * ProfileGroupSettings.cs: reformat some things.
965 * FormsAuthenticationUser.cs (Name): remove MonoTODO.
967 * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
969 * ProfilePropertySettings.cs: add internal argument-less ctor.
971 * IdentitySection.cs (GetRuntimeObject): return this.
973 * ProfilePropertySettingsCollection.cs: implement much of the
976 * WebControlsSection.cs (GetRuntimeObject): implement.
978 * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
982 2005-11-24 Chris Toshok <toshok@ximian.com>
984 * AssemblyInfo.cs: move this here from System.Web.Configuration,
985 and fix up the properties.
987 * SystemWebSectionGroup.cs: enable most of the sections (2
988 remaining to be enabled.)
990 2005-11-24 Chris Toshok <toshok@ximian.com>
992 * ProcessModelSection.cs, SqlCacheDependencySection.cs,
993 SessionStateSection.cs, PassportAuthentication.cs,
994 FormsAuthenticationConfiguration.cs,
995 SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
996 BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
998 (ValidateElement): new static validator callback.
999 (ElementProperty): enable this, return elementProperty.
1001 2005-11-23 Chris Toshok <toshok@ximian.com>
1003 * ProfilePropertyNameValidator.cs: new implementation.
1005 * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
1006 ClientTargetSection.cs, ClientTargetSection.cs,
1007 BufferModeSettings.cs, HttpModulesSection.cs,
1008 WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
1009 NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
1010 AuthenticationSection.cs, RuleSettings.cs,
1011 FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
1012 WebPartsPersonalizationAuthorization.cs, Compiler.cs,
1013 ExpressionBuilder.cs, OutputCacheProfile.cs,
1014 FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
1015 OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
1016 ExpressionBuilderCollection.cs, ProfileSettings.cs,
1017 SessionStateSection.cs, HealthMonitoringSection.cs,
1018 FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
1019 SessionPageStateSection.cs, TrustSection.cs,
1020 AnonymousIdentificationSection.cs, WebControlsSection.cs,
1021 ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
1022 ProcessModelSection.cs, RoleManagerSection.cs,
1023 MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
1024 validator/converters.
1026 * MachineKeySection.cs (..cctor): fix validators/converters.
1027 (Validation): enable the Converter.
1029 * CodeSubDirectory.cs (..cctor): fix validator/converters.
1030 (DirectoryName): add note about missing validator decoration.
1032 * HttpModuleAction.cs (..cctor): init properties.
1033 (Properties): return properties.
1035 * CompilationSection.cs (..cctor): fix validator/converters.
1036 (GetInstance): add in this pre-2.0 interface for the time being,
1037 hopefully it'll make it easier to migrate later on.
1039 * HttpHandlerActionCollection.cs (..cctor): init properties.
1040 (Properties): return properties.
1042 * PagesSection.cs (..cctor): fix validator/converters.
1043 (GetInstance): add in this pre-2.0 interface for the time being,
1044 hopefully it'll make it easier to migrate later on.
1046 * HttpHandlersSection.cs (..cctor): init properties.
1047 (Properties): return properties.
1049 * EventMappingSettings.cs (..cctor): fix validator/converters.
1050 (Name): add note about missing validator decoration.
1052 * HttpHandlerAction.cs (..cctor): fix validator/converters.
1053 (PAth, Type, Verb): add note about missing validator decoration.
1055 * NamespaceCollection.cs (..cctor): fix properties.
1057 * ProfilePropertySettingsCollection.cs (..cctor): init properties.
1058 (..ctor): don't throw NIE.
1059 (Properties): return properties.
1061 * HttpModuleActionCollection.cs (..cctor): init properties.
1062 (Properties): return properties.
1064 * CacheSection.cs (..cctor): fix validators/converters.
1065 (PrivateBytesPollTime): add note about missing validator
1068 * AuthorizationRule.cs (..cctor): fix validators/converters.
1069 (Roles, Users, Verbs): enable the TypeConverter decorations.
1071 * UrlMapping.cs (ValidateUrl): static method for use as a
1072 validation callback. unimplemented as yet.
1073 (..cctor): fix validators/converters.
1074 (MappedUrl): add note about missing validator decoration.
1076 * PropertyHelper.cs: static utility class which contains
1077 references to validators and converters for use in static
1078 constructors (building the Properties arrays).
1080 2005-11-23 Chris Toshok <toshok@ximian.com>
1082 * MachineKeyValidationConverter.cs: new converter (and a pretty
1083 silly one, considering all it seems to do is convert "TripleDES"
1086 * HostingEnvironmentSection.cs (.cctor): use
1087 PositiveTimeSpanValidator like MS does.
1089 2005-11-18 Chris Toshok <toshok@ximian.com>
1091 * HostingEnvironmentSection.cs (.cctor): add validators.
1093 * CompilationSection.cs (.cctor): fix defaultvalue of
1096 2005-11-18 Chris Toshok <toshok@ximian.com>
1098 * SystemWebSectionGroup.cs: enable a whole slew of properties.
1100 * RegexWorker.cs: stub this out.
1102 * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
1103 of the other partial files.
1105 * CompilationSection.cs: fix this up.
1107 * PagesSection.cs: fix some types and add a comment to
1110 * CompilerCollection.cs (Add): new internal method.
1112 * ProvidersHelper.cs: put the using System.Configuration.Provider
1113 inside the NET_2_0 block.
1115 * CacheSection.cs: add validators.
1117 2005-11-14 Chris Toshok <toshok@ximian.com>
1119 * BufferModeSettings.cs: add validators/converters to the
1120 programmatic property list.
1122 * BuildProvider.cs: add validators/converters to the programmatic
1123 property list, and add an internal ctor with no args.
1125 * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
1128 * BuildProviderCollection.cs (CreateNewElement): use the internal
1129 BuildProvider ctor to get around validation.
1131 * AssemblyCollection.cs: same.
1133 2005-11-14 Chris Toshok <toshok@ximian.com>
1135 * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
1136 (set_Item (int index)): implement.
1138 * TagPrefixInfo.cs (Equals): implement.
1139 (GetHashCode): implement.
1141 * AuthorizationRuleCollection.cs (CreateNewElement(string)):
1142 implement propertly.
1143 (IndexOf): implement.
1144 (IsElementName): implement.
1145 (ElementName): implement.
1146 (Item (int index)): implement.
1148 * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
1150 * UrlMappingCollection.cs (set_Item (int index)): implement.
1152 * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
1154 * TransformerInfo.cs (Equals): implement.
1155 (GetHashCode): implement.
1157 * NamespaceInfo.cs (Equals): implement.
1158 (GetHashCode): implement.
1160 * ProfileSettingsCollection.cs (set_Item (int index)): implement.
1162 * TransformerInfoCollection.cs (set_Item (int index)): implement.
1164 * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
1166 * BufferModesCollection.cs (set_Item (int index)): implement.
1168 * BuildProvider.cs: use the base[fooProp] pattern instead of
1171 * ProfileGroupSettingsCollection.cs: implement most of this class.
1173 * RuleSettingsCollection.cs (set_Item (int index)): implement.
1175 * ClientTargetCollection.cs (set_Item (int index)): implement.
1177 * AssemblyCollection.cs (set_Item (int index)): implement.
1179 * BuildProviderCollection.cs (set_Item (int index)): reformat.
1181 * CustomError.cs (Equals): implement.
1182 (GetHashCode): implement.
1184 * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
1186 * PassportAuthentication.cs (RedirectUrl): express consternation
1189 * NamespaceCollection.cs (set_Item (int index)): implement.
1191 * RootProfilePropertySettingsCollection.cs (SerializeElement): add
1194 * ProfilePropertySettingsCollection.cs (set_Item (int index)):
1197 * CustomErrorCollection.cs (set_Item (int index)): implement.
1199 * HttpModuleActionCollection.cs (set_Item (int index)): implement.
1201 * CodeSubDirectoriesCollection.cs (set_Item (int index)):
1204 * CustomErrorsSection.cs (DeserializeSection): include call to
1205 base.DeserializeSection, and add MonoTODO.
1207 * EventMappingSettingsCollection.cs (set_Item (int index)):
1210 * AuthorizationRule.cs (Equals): implement.
1211 (GetHashCode): implement.
1212 (SerializeElement): add comment.
1214 * TagMapCollection.cs (Remove): pass the key to BaseRemove.
1215 (set_Item (int index)): implement.
1217 * TagMapInfo.cs (Equals): implement.
1218 (GetHashCode): implement.
1219 (SerializeElement): add call to base.SerializeElement.
1221 * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
1222 (GetElementKey): implement.
1224 * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
1226 * WebContext.cs: new implementation.
1228 2005-11-13 Chris Toshok <toshok@ximian.com>
1230 * AnonymousIdentificationSection.cs: rework this class a bit to
1231 fit in with the rest of S.W.C. Add validators to the
1232 ConfigurationProperty ctor calls, a pattern which will need to be
1233 replicated across the entire assembly, it appears (uggggh).
1235 2005-11-13 Chris Toshok <toshok@ximian.com>
1237 * AuthorizationRuleCollection.cs: fix ConfigurationCollection
1240 * TransformerInfo.cs: fix corcompare.
1242 * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
1245 * AuthenticationSection.cs: add missing Reset stub.
1247 * ProfileSettingsCollection.cs: use the more succint ctor.
1249 * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
1251 * GlobalizationSection.cs: fix up corcompare.
1253 * WebPartsSection.cs: fix up corcompare.
1255 * ProfileGroupSettingsCollection.cs: add missing
1256 ConfigurationCollection attribute.
1258 * ExpressionBuilder.cs: implement.
1260 * FormsAuthenticationCredentials.cs: fix up corcompare.
1262 * AssemblyCollection.cs: implement Properties.
1264 * SiteMapSection.cs: implement Properties.
1266 * ExpressionBuilderCollection.cs: fix up corcompare.
1268 * ProfileSettings.cs: add missing ctor.
1270 * PassportAuthentication.cs: new implementation.
1272 * SqlCacheDependencySection.cs: fix up corcompare.
1274 * ProfilePropertySettingsCollection.cs: fix up corcompare.
1276 * HttpModuleActionCollection.cs: fix up corcompare.
1278 * EventMappingSettingsCollection.cs: fix up corcompare.
1280 * AuthorizationRule.cs: fix up corcompare.
1282 * WebControlsSection.cs: fix up corcompare.
1284 * AuthorizationSection.cs: fix up corcompare.
1286 * MembershipSection.cs: clean this up, implement Properties, fix
1289 2005-11-13 Chris Toshok <toshok@ximian.com>
1291 * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1292 HostingEnvironmentSection.cs, TrustLevel.cs,
1293 HttpCookiesSection.cs, UrlMappingsSection.cs,
1294 UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1295 RoleManagerSection.cs, ProcessModelSection.cs,
1296 TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1297 MachineKeySection.cs, SessionPageStateSection.cs,
1298 SessionStateSection.cs, ProvidersHelper.cs,
1299 ClientTargetCollection.cs, SecurityPolicySection.cs,
1300 HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1304 2005-11-12 Chris Toshok <toshok@ximian.com>
1306 * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1307 AuthorizationSection.cs, BufferModesCollection.cs,
1308 BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1309 Compiler.cs, DeploymentSection.cs,
1310 EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1311 GlobalizationSection.cs, HealthMonitoringSection.cs,
1312 IdentitySection.cs, OutputCacheProfileCollection.cs,
1313 OutputCacheProfile.cs, OutputCacheSection.cs,
1314 OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1315 ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1316 SqlCacheDependencyDatabaseCollection.cs,
1317 SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1318 SystemWebCachingSectionGroup.cs, TraceSection.cs,
1319 TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1320 WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1321 WebPartsPersonalization.cs, WebPartsSection.cs,
1322 XhtmlConformanceSection.cs: a whole slew of new classes. the
1323 fruits of tons of c&p and ibuprofen.
1326 2005-11-09 Chris Toshok <toshok@ximian.com>
1328 * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1329 BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1330 HttpModulesSection.cs, HttpModuleAction.cs,
1331 HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1332 CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1333 SystemWebSectionGroup.cs, SiteMapSection.cs,
1334 WebConfigurationManager.cs: flesh out the implementation.
1336 * TagMap*.cs, TagPrefix*.cs: new implementation.
1338 * FormsAuthentication*.cs: new implementation.
1340 * Profile*.cs: new implementation.
1342 * Namespace*.cs: new implementation.
1344 * HttpRuntimeSection.cs: new implementation.