Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.ServiceModel.Web / System / ServiceModel / Configuration / WebHttpBindingCollectionElement.cs / 1305376 / WebHttpBindingCollectionElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Channels; public partial class WebHttpBindingCollectionElement : StandardBindingCollectionElement{ protected internal override Binding GetDefault() { return new WebHttpBinding(); } internal static WebHttpBindingCollectionElement GetBindingCollectionElement() { string sectionPath = "system.serviceModel/bindings"; BindingsSection bindings = (BindingsSection)AspNetEnvironment.Current.GetConfigurationSection(sectionPath); return (WebHttpBindingCollectionElement)bindings[WebHttpBinding.WebHttpBindingConfigurationStrings.WebHttpBindingCollectionElementName]; } } } // 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
- SourceItem.cs
- XPathConvert.cs
- Debug.cs
- SqlConnectionPoolProviderInfo.cs
- DocumentApplication.cs
- WmlCommandAdapter.cs
- XmlDataLoader.cs
- ApplyImportsAction.cs
- ContentFileHelper.cs
- Token.cs
- ExceptionHandlersDesigner.cs
- GroupItemAutomationPeer.cs
- DbProviderManifest.cs
- DragEventArgs.cs
- _ContextAwareResult.cs
- Span.cs
- TypographyProperties.cs
- AsyncResult.cs
- QueryExpr.cs
- ConfigurationErrorsException.cs
- LocalizedNameDescriptionPair.cs
- ScrollableControlDesigner.cs
- X509ClientCertificateAuthentication.cs
- FlowDocumentPaginator.cs
- SafeLibraryHandle.cs
- XmlSignatureProperties.cs
- DefaultMemberAttribute.cs
- BitmapFrame.cs
- PermissionRequestEvidence.cs
- ModifierKeysConverter.cs
- GenericUriParser.cs
- GZipStream.cs
- DataGridViewCellConverter.cs
- DataSourceControl.cs
- RankException.cs
- ZipArchive.cs
- _ListenerResponseStream.cs
- OdbcParameter.cs
- PartialCachingAttribute.cs
- RegexGroup.cs
- PreservationFileReader.cs
- SqlBuilder.cs
- TextTreeTextBlock.cs
- OpenFileDialog.cs
- XPathNodeInfoAtom.cs
- SourceCollection.cs
- UpdateCompiler.cs
- metrodevice.cs
- CompModSwitches.cs
- ExpressionNormalizer.cs
- StrongNameKeyPair.cs
- SoapFault.cs
- BitmapEffect.cs
- TagMapCollection.cs
- Point3DCollectionConverter.cs
- StrongName.cs
- LongValidator.cs
- DependencyPropertyChangedEventArgs.cs
- StringOutput.cs
- EmptyStringExpandableObjectConverter.cs
- XPathDocument.cs
- ProcessThread.cs
- TextViewBase.cs
- SamlSecurityTokenAuthenticator.cs
- InstanceData.cs
- LastQueryOperator.cs
- ComEventsMethod.cs
- SymbolUsageManager.cs
- TemplatedControlDesigner.cs
- Metafile.cs
- XmlValueConverter.cs
- WindowsFont.cs
- TreeViewHitTestInfo.cs
- Resources.Designer.cs
- MetadataArtifactLoaderResource.cs
- ToolStripEditorManager.cs
- MetabaseReader.cs
- FilterEventArgs.cs
- CacheDependency.cs
- DebugInfoGenerator.cs
- ValueConversionAttribute.cs
- DrawingAttributes.cs
- returneventsaver.cs
- ReversePositionQuery.cs
- WindowsFont.cs
- SHA1Managed.cs
- DocobjHost.cs
- WindowsFormsSynchronizationContext.cs
- ClientRuntimeConfig.cs
- UnsafeNativeMethods.cs
- ToolbarAUtomationPeer.cs
- NavigationProgressEventArgs.cs
- WorkflowNamespace.cs
- WebContext.cs
- ItemsPresenter.cs
- TextMessageEncoder.cs
- ADConnectionHelper.cs
- DataTrigger.cs
- PartialCachingAttribute.cs
- GroupBox.cs