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
- TextTreeUndo.cs
- Vector3DAnimation.cs
- VisualStyleRenderer.cs
- ServiceDiscoveryBehavior.cs
- DataErrorValidationRule.cs
- SspiSecurityTokenProvider.cs
- DataSourceHelper.cs
- DynamicQueryableWrapper.cs
- TypedElement.cs
- Parsers.cs
- DefaultTextStoreTextComposition.cs
- _SSPIWrapper.cs
- EditorPartChrome.cs
- RouteParameter.cs
- MessageContractMemberAttribute.cs
- Msec.cs
- controlskin.cs
- SourceSwitch.cs
- SqlEnums.cs
- Pkcs9Attribute.cs
- SoundPlayer.cs
- CryptoStream.cs
- FixedTextView.cs
- PopOutPanel.cs
- Serializer.cs
- TabControlEvent.cs
- DataServiceRequest.cs
- OrCondition.cs
- MatrixConverter.cs
- DataGridTextBoxColumn.cs
- SqlCrossApplyToCrossJoin.cs
- CustomWebEventKey.cs
- MobileCapabilities.cs
- NotifyParentPropertyAttribute.cs
- ConcatQueryOperator.cs
- DataGridCell.cs
- TraceUtility.cs
- precedingquery.cs
- QueryStringParameter.cs
- ExecutionContext.cs
- BinaryUtilClasses.cs
- XmlException.cs
- BamlMapTable.cs
- EncodingTable.cs
- FilteredReadOnlyMetadataCollection.cs
- CreateUserWizard.cs
- CollectionDataContract.cs
- SamlAuthorityBinding.cs
- JsonSerializer.cs
- HttpRequest.cs
- SystemInfo.cs
- IMembershipProvider.cs
- JsonReaderWriterFactory.cs
- ObjectReaderCompiler.cs
- ImmutableObjectAttribute.cs
- AnimationStorage.cs
- PrtTicket_Public_Simple.cs
- DataListItemEventArgs.cs
- TickBar.cs
- JapaneseLunisolarCalendar.cs
- HttpResponseWrapper.cs
- Font.cs
- CleanUpVirtualizedItemEventArgs.cs
- UrlPropertyAttribute.cs
- TextPattern.cs
- CacheEntry.cs
- DragDeltaEventArgs.cs
- HuffCodec.cs
- CallbackValidator.cs
- ArgumentsParser.cs
- DistributedTransactionPermission.cs
- AdjustableArrowCap.cs
- LookupNode.cs
- ConsumerConnectionPoint.cs
- DataGridViewColumnCollection.cs
- ButtonColumn.cs
- NetworkInformationPermission.cs
- AlternationConverter.cs
- DESCryptoServiceProvider.cs
- RoutingExtension.cs
- OdbcDataAdapter.cs
- CharacterBufferReference.cs
- TableStyle.cs
- XmlSchemaChoice.cs
- DataServiceRequestException.cs
- TypeDependencyAttribute.cs
- CheckPair.cs
- ValueSerializerAttribute.cs
- EntitySetRetriever.cs
- TextFindEngine.cs
- InputBuffer.cs
- StringUtil.cs
- FtpRequestCacheValidator.cs
- ControlUtil.cs
- BackgroundWorker.cs
- CngKey.cs
- SpoolingTask.cs
- CuspData.cs
- FrugalList.cs
- SqlUserDefinedAggregateAttribute.cs