Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / HttpModulesSection.cs / 2 / HttpModulesSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.IO; using System.Text; using System.Web.Configuration; using System.Globalization; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class HttpModulesSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propHttpModules = new ConfigurationProperty(null, typeof(HttpModuleActionCollection), null, ConfigurationPropertyOptions.IsDefaultCollection); static HttpModulesSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propHttpModules); } public HttpModulesSection() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("", IsDefaultCollection = true)] public HttpModuleActionCollection Modules { get { return (HttpModuleActionCollection)base[_propHttpModules]; } } internal HttpModuleCollection CreateModules() { HttpModuleCollection modules = new HttpModuleCollection(); foreach (HttpModuleAction module in Modules) { modules.AddModule(module.Entry.ModuleName, module.Entry.Create()); } modules.AddModule("DefaultAuthentication", new System.Web.Security.DefaultAuthenticationModule()); return modules; } } }
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AppSettingsSection.cs
- ClosureBinding.cs
- CustomTrackingRecord.cs
- SystemThemeKey.cs
- MessageContractImporter.cs
- oledbmetadatacollectionnames.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- IDictionary.cs
- DiscoveryMessageSequenceCD1.cs
- AVElementHelper.cs
- ParseElementCollection.cs
- ObjectResult.cs
- CollectionDataContractAttribute.cs
- DataGridViewRowConverter.cs
- DirectoryGroupQuery.cs
- TemplatePropertyEntry.cs
- _SslState.cs
- DEREncoding.cs
- XamlTypeMapper.cs
- SignatureDescription.cs
- WebException.cs
- GraphicsState.cs
- RunClient.cs
- ChildChangedEventArgs.cs
- X509CertificateChain.cs
- nulltextcontainer.cs
- BaseResourcesBuildProvider.cs
- Parameter.cs
- TransportContext.cs
- NativeMethods.cs
- SortedDictionary.cs
- _WinHttpWebProxyDataBuilder.cs
- altserialization.cs
- DataDocumentXPathNavigator.cs
- CodeConditionStatement.cs
- CultureData.cs
- SplitterPanel.cs
- RootBuilder.cs
- SafeEventLogWriteHandle.cs
- CharacterShapingProperties.cs
- XmlTextReaderImplHelpers.cs
- SafeRightsManagementEnvironmentHandle.cs
- DriveNotFoundException.cs
- WebPartConnectionsDisconnectVerb.cs
- XmlDataSourceView.cs
- MergeFilterQuery.cs
- StrongTypingException.cs
- QilChoice.cs
- FixedSOMTextRun.cs
- HandlerBase.cs
- MSAAWinEventWrap.cs
- DBConnection.cs
- EncoderNLS.cs
- BaseTemplateBuildProvider.cs
- GlyphElement.cs
- TableParaClient.cs
- CollectionTypeElement.cs
- InvokeProviderWrapper.cs
- ValuePatternIdentifiers.cs
- TypeInfo.cs
- CharKeyFrameCollection.cs
- DrawingServices.cs
- ScriptResourceInfo.cs
- grammarelement.cs
- DomainUpDown.cs
- WebSysDescriptionAttribute.cs
- JoinGraph.cs
- XmlUtilWriter.cs
- GridItem.cs
- IndexedString.cs
- FormsAuthenticationConfiguration.cs
- ScaleTransform.cs
- ViewCellSlot.cs
- PointLight.cs
- ResXDataNode.cs
- ImageClickEventArgs.cs
- ProvideValueServiceProvider.cs
- ScrollBarAutomationPeer.cs
- LogicalExpr.cs
- OleDbErrorCollection.cs
- DrawingContextDrawingContextWalker.cs
- UICuesEvent.cs
- RelationalExpressions.cs
- Documentation.cs
- SendActivityDesigner.cs
- Column.cs
- MergePropertyDescriptor.cs
- DataGridRowEventArgs.cs
- StringToken.cs
- FlowchartSizeFeature.cs
- _CommandStream.cs
- LinqDataSource.cs
- SafeMILHandle.cs
- TrackingServices.cs
- GridViewCellAutomationPeer.cs
- LocalizableAttribute.cs
- WebPartConnectionsEventArgs.cs
- MD5CryptoServiceProvider.cs
- SecuritySessionFilter.cs
- UriSectionReader.cs