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
- SerializationInfo.cs
- ClientFormsIdentity.cs
- DockPattern.cs
- WebPartCloseVerb.cs
- XmlConverter.cs
- HandleValueEditor.cs
- SelectionListDesigner.cs
- DataGridViewCellLinkedList.cs
- CompilationUtil.cs
- SqlFileStream.cs
- BaseDataBoundControl.cs
- GridViewRowEventArgs.cs
- MatrixTransform.cs
- TextDecorationCollection.cs
- DataGridAutoFormatDialog.cs
- CallbackHandler.cs
- OleDbErrorCollection.cs
- PDBReader.cs
- HttpRequestCacheValidator.cs
- MultipleFilterMatchesException.cs
- FileSecurity.cs
- ScaleTransform3D.cs
- AdapterUtil.cs
- DesignerHelpers.cs
- FormViewAutoFormat.cs
- InfoCardAsymmetricCrypto.cs
- AlternateViewCollection.cs
- Popup.cs
- Simplifier.cs
- VBCodeProvider.cs
- InlineObject.cs
- FilterQuery.cs
- DataGridCaption.cs
- SpecialFolderEnumConverter.cs
- TextMessageEncodingElement.cs
- BoundField.cs
- EntityDataSourceViewSchema.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ControlCollection.cs
- TextSpanModifier.cs
- RangeValidator.cs
- ExceptionWrapper.cs
- DataGridState.cs
- BlurBitmapEffect.cs
- DataGridViewAccessibleObject.cs
- LocalizationComments.cs
- TypeDelegator.cs
- HttpListenerRequest.cs
- IriParsingElement.cs
- SafePEFileHandle.cs
- RepeatBehavior.cs
- CommonProperties.cs
- ProxyHwnd.cs
- EntityDataSourceChangingEventArgs.cs
- PageThemeParser.cs
- DSACryptoServiceProvider.cs
- WindowHideOrCloseTracker.cs
- HierarchicalDataBoundControlAdapter.cs
- SamlAttributeStatement.cs
- Win32PrintDialog.cs
- ReaderContextStackData.cs
- DataGridHelper.cs
- EntityContainerRelationshipSet.cs
- XamlLoadErrorInfo.cs
- ReservationNotFoundException.cs
- DataGridTextBoxColumn.cs
- WebPartEditorApplyVerb.cs
- Comparer.cs
- IgnoreFlushAndCloseStream.cs
- TextTreeExtractElementUndoUnit.cs
- RoamingStoreFileUtility.cs
- SerializationSectionGroup.cs
- Lasso.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ViewKeyConstraint.cs
- ChangeNode.cs
- SqlTriggerAttribute.cs
- XmlSchemaParticle.cs
- BuildManager.cs
- ListSurrogate.cs
- DynamicRendererThreadManager.cs
- HierarchicalDataBoundControl.cs
- CommandTreeTypeHelper.cs
- ImageConverter.cs
- XamlStackWriter.cs
- NameObjectCollectionBase.cs
- JulianCalendar.cs
- Environment.cs
- Statements.cs
- SqlClientFactory.cs
- UnsafeNativeMethods.cs
- FrameworkReadOnlyPropertyMetadata.cs
- VBIdentifierName.cs
- DefaultHttpHandler.cs
- SafePEFileHandle.cs
- ThumbButtonInfo.cs
- CodeObjectCreateExpression.cs
- EventManager.cs
- ContentValidator.cs
- EditorPartDesigner.cs