Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / Configuration / ScriptingAuthenticationServiceSection.cs / 1 / ScriptingAuthenticationServiceSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Configuration; using System.Security.Permissions; using System.Web; using System.Web.Configuration; [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class ScriptingAuthenticationServiceSection : ConfigurationSection { private static readonly ConfigurationProperty _propEnabled = new ConfigurationProperty("enabled", typeof(bool), false); private static readonly ConfigurationProperty _propRequireSSL = new ConfigurationProperty("requireSSL", typeof(bool), false); private static ConfigurationPropertyCollection _properties = BuildProperties(); private static ConfigurationPropertyCollection BuildProperties() { ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); properties.Add(_propEnabled); properties.Add(_propRequireSSL); return properties; } internal static ScriptingAuthenticationServiceSection GetConfigurationSection() { return (ScriptingAuthenticationServiceSection)WebConfigurationManager.GetWebApplicationSection("system.web.extensions/scripting/webServices/authenticationService"); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("enabled", DefaultValue = false)] public bool Enabled { get { return (bool)this[_propEnabled]; } set { this[_propEnabled] = value; } } [ConfigurationProperty("requireSSL", DefaultValue = false)] public bool RequireSSL { get { return (bool) this[_propRequireSSL]; } set { this[_propRequireSSL] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AsymmetricSignatureDeformatter.cs
- LazyInitializer.cs
- InternalCache.cs
- TypeHelpers.cs
- DropShadowEffect.cs
- SizeAnimationBase.cs
- SQLString.cs
- MetadataUtilsSmi.cs
- ProfileBuildProvider.cs
- ConnectionStringSettings.cs
- SspiWrapper.cs
- StorageRoot.cs
- mediaclock.cs
- CodeExpressionCollection.cs
- VersionConverter.cs
- TreeViewAutomationPeer.cs
- MethodBuilder.cs
- CodeLinePragma.cs
- FixedElement.cs
- SymbolEqualComparer.cs
- GlobalizationAssembly.cs
- ProtocolProfile.cs
- Run.cs
- MenuTracker.cs
- ApplicationManager.cs
- LogSwitch.cs
- DataAdapter.cs
- ToolStripSystemRenderer.cs
- ObjRef.cs
- PKCS1MaskGenerationMethod.cs
- ChangeProcessor.cs
- GcHandle.cs
- ImageIndexConverter.cs
- FaultDesigner.cs
- SmiEventSink_DeferedProcessing.cs
- CustomValidator.cs
- RowToFieldTransformer.cs
- IncrementalCompileAnalyzer.cs
- mongolianshape.cs
- SafeBuffer.cs
- SafeHandles.cs
- NumberAction.cs
- MergePropertyDescriptor.cs
- TextChangedEventArgs.cs
- DataException.cs
- TablePattern.cs
- ExtendedPropertyCollection.cs
- IntranetCredentialPolicy.cs
- mediaeventargs.cs
- ReachFixedPageSerializerAsync.cs
- Border.cs
- XPathDocumentIterator.cs
- XmlText.cs
- TypedTableBaseExtensions.cs
- DataRow.cs
- ArraySortHelper.cs
- SafeLibraryHandle.cs
- CodeExporter.cs
- DescendantOverDescendantQuery.cs
- TextModifier.cs
- CodeCatchClause.cs
- HttpWebResponse.cs
- SymLanguageVendor.cs
- COM2ExtendedBrowsingHandler.cs
- EncoderBestFitFallback.cs
- InternalSafeNativeMethods.cs
- Floater.cs
- BrowserDefinition.cs
- TrustSection.cs
- SamlNameIdentifierClaimResource.cs
- AssociationEndMember.cs
- FamilyCollection.cs
- SqlDataSourceAdvancedOptionsForm.cs
- XmlSchemaAppInfo.cs
- InvalidAsynchronousStateException.cs
- sortedlist.cs
- LookupNode.cs
- HyperLink.cs
- PopupRoot.cs
- _OverlappedAsyncResult.cs
- ProxyHelper.cs
- PolyLineSegment.cs
- Overlapped.cs
- EncoderParameter.cs
- DSASignatureFormatter.cs
- ColorConvertedBitmap.cs
- Util.cs
- PersonalizableAttribute.cs
- DependencyObjectProvider.cs
- HandlerBase.cs
- EqualityComparer.cs
- wmiprovider.cs
- IPAddress.cs
- HTTPNotFoundHandler.cs
- Application.cs
- SqlDataSource.cs
- DataGridViewBand.cs
- MenuStrip.cs
- MaskedTextBox.cs
- GridSplitter.cs