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
- ObjectRef.cs
- LinqDataSourceInsertEventArgs.cs
- FlowDocumentPage.cs
- JumpTask.cs
- XPathNavigatorReader.cs
- RectValueSerializer.cs
- Converter.cs
- SqlDataAdapter.cs
- LinqDataSourceUpdateEventArgs.cs
- GeneratedCodeAttribute.cs
- HtmlAnchor.cs
- TemplateBindingExtension.cs
- RepeatInfo.cs
- XPathNodePointer.cs
- SmtpReplyReaderFactory.cs
- DataGridViewRowHeaderCell.cs
- DynamicMetaObject.cs
- TypedElement.cs
- IconConverter.cs
- DocumentScope.cs
- NativeWindow.cs
- DelegatedStream.cs
- XmlElementAttribute.cs
- BindingNavigator.cs
- XmlSchemaExternal.cs
- EventLogPermissionEntryCollection.cs
- MarshalDirectiveException.cs
- ToolStripSystemRenderer.cs
- WorkflowLayouts.cs
- ObjectMaterializedEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- BitmapInitialize.cs
- ImpersonationContext.cs
- KeyedQueue.cs
- AffineTransform3D.cs
- hwndwrapper.cs
- ChannelParameterCollection.cs
- CellPartitioner.cs
- BuildResult.cs
- PartBasedPackageProperties.cs
- UpDownEvent.cs
- JsonByteArrayDataContract.cs
- ReachDocumentSequenceSerializerAsync.cs
- DetailsViewRowCollection.cs
- ExpressionBindingCollection.cs
- SqlNamer.cs
- ToolStripGripRenderEventArgs.cs
- CacheMemory.cs
- ConfigurationValue.cs
- ConstraintEnumerator.cs
- XmlSerializableWriter.cs
- _LocalDataStoreMgr.cs
- SerializationTrace.cs
- DrawingAttributes.cs
- IndexObject.cs
- ConnectionStringSettings.cs
- MemberDescriptor.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DependencyPropertyKind.cs
- NonBatchDirectoryCompiler.cs
- HtmlDocument.cs
- WebPartCancelEventArgs.cs
- BitmapPalette.cs
- CryptoApi.cs
- AuthenticationService.cs
- HttpCacheParams.cs
- EntityWithKeyStrategy.cs
- Line.cs
- DataControlImageButton.cs
- AsyncStreamReader.cs
- DataGridViewComboBoxColumnDesigner.cs
- ColorPalette.cs
- PreviewPrintController.cs
- ImageSource.cs
- Error.cs
- WaveHeader.cs
- AdobeCFFWrapper.cs
- Rfc2898DeriveBytes.cs
- LocatorPartList.cs
- AccessibleObject.cs
- TagPrefixInfo.cs
- MessagePropertyDescriptionCollection.cs
- SystemGatewayIPAddressInformation.cs
- CounterCreationData.cs
- ConnectionPoint.cs
- FieldBuilder.cs
- TextShapeableCharacters.cs
- AutomationTextAttribute.cs
- ActiveDocumentEvent.cs
- RolePrincipal.cs
- SiteMapDataSourceView.cs
- ManagementObject.cs
- NameScope.cs
- Serializer.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- XmlObjectSerializerContext.cs
- ExtensionQuery.cs
- InstanceCreationEditor.cs
- Models.cs
- AuthorizationContext.cs