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
- FontWeights.cs
- InProcStateClientManager.cs
- columnmapkeybuilder.cs
- CqlParserHelpers.cs
- OleDbConnectionFactory.cs
- CompilerGlobalScopeAttribute.cs
- QfeChecker.cs
- MemoryRecordBuffer.cs
- SessionStateModule.cs
- AutomationElementCollection.cs
- SQLByteStorage.cs
- MatrixAnimationUsingKeyFrames.cs
- ParallelDesigner.cs
- ClientSettings.cs
- LeaseManager.cs
- PageRequestManager.cs
- followingquery.cs
- GeometryDrawing.cs
- FlowDecisionDesigner.xaml.cs
- SafePEFileHandle.cs
- TheQuery.cs
- SimpleTableProvider.cs
- Visual3D.cs
- SingleObjectCollection.cs
- Brush.cs
- AdapterUtil.cs
- TextViewBase.cs
- RadioButton.cs
- TerminateSequence.cs
- MessagePartProtectionMode.cs
- HopperCache.cs
- VBCodeProvider.cs
- ListViewTableCell.cs
- MultiDataTrigger.cs
- ActivationArguments.cs
- Oci.cs
- WebPartPersonalization.cs
- X509CertificateClaimSet.cs
- MetadataItemSerializer.cs
- DelegateSerializationHolder.cs
- ContentElement.cs
- WindowsListBox.cs
- AnimatedTypeHelpers.cs
- ClientTargetSection.cs
- TheQuery.cs
- WindowsFormsHelpers.cs
- HighContrastHelper.cs
- SqlFunctionAttribute.cs
- DataPager.cs
- TagPrefixCollection.cs
- SettingsPropertyValue.cs
- BamlTreeMap.cs
- EntitySetBaseCollection.cs
- NameNode.cs
- PerformanceCounterPermissionAttribute.cs
- VariableModifiersHelper.cs
- GridViewAutomationPeer.cs
- XhtmlBasicControlAdapter.cs
- RootProfilePropertySettingsCollection.cs
- TypeName.cs
- ToolboxItemLoader.cs
- VirtualPath.cs
- EndOfStreamException.cs
- TreeViewDesigner.cs
- PackagePart.cs
- AutomationElement.cs
- CodeDirectoryCompiler.cs
- HMACSHA384.cs
- TypeSystem.cs
- HwndKeyboardInputProvider.cs
- ComponentDispatcher.cs
- XmlSchemaComplexContent.cs
- OleDbSchemaGuid.cs
- GridPatternIdentifiers.cs
- ItemsPanelTemplate.cs
- TreeNodeMouseHoverEvent.cs
- DrawingContextWalker.cs
- TemplateControlParser.cs
- DateTimeSerializationSection.cs
- VisualStateGroup.cs
- DataGridViewElement.cs
- HttpProfileGroupBase.cs
- RuleEngine.cs
- Button.cs
- OpacityConverter.cs
- DatePicker.cs
- DiffuseMaterial.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DataRowChangeEvent.cs
- MouseActionValueSerializer.cs
- ContainerParagraph.cs
- TreeNode.cs
- InvalidCastException.cs
- ViewPort3D.cs
- QuaternionConverter.cs
- IResourceProvider.cs
- Misc.cs
- PEFileEvidenceFactory.cs
- MDIClient.cs
- CorrelationTokenInvalidatedHandler.cs