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
- ListParagraph.cs
- PinProtectionHelper.cs
- TablePatternIdentifiers.cs
- SQLDecimalStorage.cs
- Rotation3D.cs
- RewritingValidator.cs
- infer.cs
- SafeNativeMethods.cs
- HitTestParameters3D.cs
- SqlFileStream.cs
- ErrorFormatterPage.cs
- MiniModule.cs
- TableRowCollection.cs
- DataBindingCollection.cs
- AutoResetEvent.cs
- FileSystemWatcher.cs
- PropertyValueUIItem.cs
- ResolveDuplex11AsyncResult.cs
- BulletedList.cs
- MediaScriptCommandRoutedEventArgs.cs
- WebProxyScriptElement.cs
- TCPClient.cs
- InputScope.cs
- BamlLocalizableResourceKey.cs
- GroupBox.cs
- LayoutManager.cs
- BuilderPropertyEntry.cs
- AutoGeneratedField.cs
- ReceiveParametersContent.cs
- SchemaUtility.cs
- DefaultTraceListener.cs
- UrlMappingsModule.cs
- DataBindingsDialog.cs
- CollectionType.cs
- ConfigurationSectionHelper.cs
- ImageIndexConverter.cs
- SimpleWorkerRequest.cs
- GregorianCalendar.cs
- CodeAccessSecurityEngine.cs
- DataGridCell.cs
- MsmqIntegrationElement.cs
- SqlUtil.cs
- RenderingBiasValidation.cs
- ErrorFormatterPage.cs
- BitmapScalingModeValidation.cs
- EntityFrameworkVersions.cs
- EnumValidator.cs
- SqlErrorCollection.cs
- RelationshipConstraintValidator.cs
- DataGridViewSelectedColumnCollection.cs
- AttachedPropertyInfo.cs
- ConfigUtil.cs
- SqlSelectStatement.cs
- ReversePositionQuery.cs
- RotateTransform3D.cs
- BulletChrome.cs
- EndpointAddressProcessor.cs
- MenuBase.cs
- ZipArchive.cs
- HttpCookiesSection.cs
- ScriptRegistrationManager.cs
- PersistNameAttribute.cs
- ByteAnimationBase.cs
- DataTableNewRowEvent.cs
- WebServiceErrorEvent.cs
- Evidence.cs
- ButtonField.cs
- SqlRowUpdatingEvent.cs
- RegistryExceptionHelper.cs
- _NestedSingleAsyncResult.cs
- Expressions.cs
- PartitionResolver.cs
- DataGridItemCollection.cs
- XpsPackagingException.cs
- TouchPoint.cs
- ToolStripPanel.cs
- HotSpot.cs
- SHA384Managed.cs
- ColorMatrix.cs
- FunctionNode.cs
- XPathNavigatorReader.cs
- BuildProviderAppliesToAttribute.cs
- ResourceReader.cs
- DesignSurfaceServiceContainer.cs
- TableCellCollection.cs
- Double.cs
- PreviewPrintController.cs
- XmlSchemaAnyAttribute.cs
- COM2ComponentEditor.cs
- BlurEffect.cs
- ComplexBindingPropertiesAttribute.cs
- MDIControlStrip.cs
- Cursor.cs
- ClientSponsor.cs
- VideoDrawing.cs
- PixelFormats.cs
- FlagsAttribute.cs
- _NativeSSPI.cs
- BlurEffect.cs
- ToolStripItemRenderEventArgs.cs