Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Configuration / ScriptingAuthenticationServiceSection.cs / 1305376 / ScriptingAuthenticationServiceSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Configuration; using System.Web; using System.Web.Configuration; 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BrushConverter.cs
- Comparer.cs
- AsyncInvokeOperation.cs
- TransformConverter.cs
- DataGridViewCellCollection.cs
- DeclaredTypeValidatorAttribute.cs
- ActionFrame.cs
- ResourcePermissionBase.cs
- LinkedResource.cs
- ControlAdapter.cs
- Tool.cs
- ValidationEventArgs.cs
- PermissionAttributes.cs
- XmlSignatureProperties.cs
- DispatcherEventArgs.cs
- FragmentQuery.cs
- ListControlConvertEventArgs.cs
- SqlBuffer.cs
- CatalogUtil.cs
- OutputScopeManager.cs
- StartUpEventArgs.cs
- SequentialWorkflowHeaderFooter.cs
- ExpressionBuilderCollection.cs
- FloaterBaseParaClient.cs
- ValueTable.cs
- NullableLongAverageAggregationOperator.cs
- TextEditorCharacters.cs
- DesignerSerializerAttribute.cs
- ProjectionPath.cs
- TreeNodeBindingCollection.cs
- OracleNumber.cs
- CompressedStack.cs
- PrintDocument.cs
- EncoderBestFitFallback.cs
- EdmMember.cs
- GPRECTF.cs
- tabpagecollectioneditor.cs
- SessionViewState.cs
- IdentityNotMappedException.cs
- HexParser.cs
- OleDbWrapper.cs
- Model3DGroup.cs
- Group.cs
- OutputScopeManager.cs
- WindowsGraphicsCacheManager.cs
- EventsTab.cs
- IisTraceListener.cs
- Literal.cs
- RegisteredDisposeScript.cs
- Wildcard.cs
- EncryptedPackage.cs
- XmlQueryRuntime.cs
- BitmapMetadataBlob.cs
- ColorConvertedBitmapExtension.cs
- RemotingServices.cs
- HMAC.cs
- ReaderWriterLock.cs
- RowToParametersTransformer.cs
- LogSwitch.cs
- OverlappedAsyncResult.cs
- EventWaitHandleSecurity.cs
- ExclusiveHandle.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- InvalidPropValue.cs
- ProfilePropertySettingsCollection.cs
- Pen.cs
- TrackingRecord.cs
- WebPartConnectionsEventArgs.cs
- CanonicalXml.cs
- DiagnosticsConfiguration.cs
- COM2Properties.cs
- SqlServices.cs
- ListViewInsertEventArgs.cs
- XPSSignatureDefinition.cs
- ImpersonationOption.cs
- XmlArrayItemAttribute.cs
- SizeConverter.cs
- DateTimePicker.cs
- FullTextBreakpoint.cs
- Pkcs7Signer.cs
- MultipartContentParser.cs
- TemplatedWizardStep.cs
- ComMethodElementCollection.cs
- odbcmetadatacolumnnames.cs
- PageContentCollection.cs
- ISO2022Encoding.cs
- metadatamappinghashervisitor.cs
- OleDbMetaDataFactory.cs
- HttpRuntime.cs
- SecurityRuntime.cs
- SyndicationPerson.cs
- DesignerOptionService.cs
- PointCollection.cs
- DataGridViewCellCollection.cs
- FlowDocumentReaderAutomationPeer.cs
- ControllableStoryboardAction.cs
- CustomAttribute.cs
- SecuritySessionSecurityTokenProvider.cs
- MenuTracker.cs
- ObsoleteAttribute.cs