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
![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
- ResourceWriter.cs
- SoapSchemaMember.cs
- jithelpers.cs
- FrameworkContentElement.cs
- StylusButtonCollection.cs
- DateTimeOffsetStorage.cs
- Table.cs
- FormsAuthentication.cs
- DbConnectionPoolCounters.cs
- SchemaCollectionPreprocessor.cs
- ResourceExpression.cs
- CollectionViewGroupRoot.cs
- PersonalizablePropertyEntry.cs
- BitStream.cs
- SamlSerializer.cs
- CompiledAction.cs
- WebServiceClientProxyGenerator.cs
- XmlSchemaNotation.cs
- SHA384CryptoServiceProvider.cs
- TimeSpanConverter.cs
- TraceHandler.cs
- CanExecuteRoutedEventArgs.cs
- RegexBoyerMoore.cs
- EntityProviderServices.cs
- XPathScanner.cs
- ArgumentReference.cs
- InfoCardClaimCollection.cs
- ToolTip.cs
- WebPartEditorOkVerb.cs
- ListDictionary.cs
- GregorianCalendar.cs
- UriTemplateHelpers.cs
- RemotingException.cs
- ToolStripStatusLabel.cs
- SingleQueryOperator.cs
- TraceContextRecord.cs
- PropertyKey.cs
- CodePrimitiveExpression.cs
- wgx_sdk_version.cs
- ScrollContentPresenter.cs
- HttpHandlersSection.cs
- HMACSHA384.cs
- DynamicResourceExtension.cs
- HandledEventArgs.cs
- SqlDuplicator.cs
- ObjectQueryState.cs
- __Filters.cs
- PointHitTestResult.cs
- CompensableActivity.cs
- ControlBindingsCollection.cs
- SoapIgnoreAttribute.cs
- DummyDataSource.cs
- ExpressionCopier.cs
- MonthCalendar.cs
- Separator.cs
- WebPartTransformerCollection.cs
- Inline.cs
- BindingCollection.cs
- PageThemeParser.cs
- _NegoStream.cs
- BindingRestrictions.cs
- BuildProvider.cs
- WebRequestModulesSection.cs
- FileSecurity.cs
- BaseDataListPage.cs
- KeyPullup.cs
- HttpApplication.cs
- SizeIndependentAnimationStorage.cs
- SpecialFolderEnumConverter.cs
- ListMarkerLine.cs
- RectConverter.cs
- TypeSystem.cs
- RectangleGeometry.cs
- SparseMemoryStream.cs
- Ray3DHitTestResult.cs
- ExtensionQuery.cs
- XmlRootAttribute.cs
- SqlClientWrapperSmiStream.cs
- MeshGeometry3D.cs
- VarInfo.cs
- EntitySqlQueryBuilder.cs
- SafeRightsManagementQueryHandle.cs
- RemotingServices.cs
- DesignerTransactionCloseEvent.cs
- Root.cs
- DiagnosticTrace.cs
- SoapAttributes.cs
- PageCache.cs
- PropertyGeneratedEventArgs.cs
- HttpClientCertificate.cs
- Empty.cs
- ProfileParameter.cs
- ArrayElementGridEntry.cs
- _SslSessionsCache.cs
- SystemIPv4InterfaceProperties.cs
- UriTemplateCompoundPathSegment.cs
- DecoratedNameAttribute.cs
- ErrorProvider.cs
- ProtocolsConfigurationHandler.cs
- Environment.cs