Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceHostFactory.cs / 1 / DataServiceHostFactory.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a way to hook up a WCF service as a raw HTTP handler. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.ServiceModel; using System.ServiceModel.Activation; ////// This structure supports the .NET Framework infrastructure and is /// not intended to be used directly from your code. /// ////// This class is used to hook up a WCF as a raw HTTP handler. /// public class DataServiceHostFactory : ServiceHostFactory { ////// Creates a ServiceHost for a specified type of service with a specific base address. /// /// Specifies the type of service to host. /// The Array of type Uri that contains the base addresses for the service hosted. ///A ServiceHost for the type of service specified with a specific base address. protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) { return new DataServiceHost(serviceType, baseAddresses); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a way to hook up a WCF service as a raw HTTP handler. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.ServiceModel; using System.ServiceModel.Activation; ////// This structure supports the .NET Framework infrastructure and is /// not intended to be used directly from your code. /// ////// This class is used to hook up a WCF as a raw HTTP handler. /// public class DataServiceHostFactory : ServiceHostFactory { ////// Creates a ServiceHost for a specified type of service with a specific base address. /// /// Specifies the type of service to host. /// The Array of type Uri that contains the base addresses for the service hosted. ///A ServiceHost for the type of service specified with a specific base address. protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) { return new DataServiceHost(serviceType, baseAddresses); } } } // 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
- ToolStripContainer.cs
- WebHttpElement.cs
- PathData.cs
- ScriptRegistrationManager.cs
- versioninfo.cs
- SecurityException.cs
- _ConnectOverlappedAsyncResult.cs
- LayoutTableCell.cs
- DataGridViewColumnCollection.cs
- TraceListener.cs
- ConstructorNeedsTagAttribute.cs
- FrameworkElement.cs
- DefaultProxySection.cs
- ListBindableAttribute.cs
- ObjectQueryExecutionPlan.cs
- StrokeFIndices.cs
- AppDomainManager.cs
- XPathSingletonIterator.cs
- WebSysDisplayNameAttribute.cs
- ComboBoxAutomationPeer.cs
- RoutedEventHandlerInfo.cs
- DataFormats.cs
- CompilerScope.cs
- DataServiceRequestOfT.cs
- XmlKeywords.cs
- WindowsHyperlink.cs
- DockingAttribute.cs
- Journaling.cs
- CodeExpressionCollection.cs
- MenuRenderer.cs
- WebPartCancelEventArgs.cs
- StateMachine.cs
- MapPathBasedVirtualPathProvider.cs
- Int32AnimationBase.cs
- RequestCacheValidator.cs
- CounterCreationDataCollection.cs
- XMLSyntaxException.cs
- _WebProxyDataBuilder.cs
- TraceXPathNavigator.cs
- WebPartVerb.cs
- EntityKeyElement.cs
- OperationCanceledException.cs
- TransportContext.cs
- ReflectPropertyDescriptor.cs
- ExpandCollapsePattern.cs
- securitycriticaldata.cs
- HealthMonitoringSectionHelper.cs
- DataContractSerializerMessageContractImporter.cs
- Content.cs
- CompatibleComparer.cs
- SqlDependency.cs
- ConfigurationStrings.cs
- AudioStateChangedEventArgs.cs
- EdmSchemaError.cs
- SimpleMailWebEventProvider.cs
- ZoneButton.cs
- HttpCacheParams.cs
- ColumnHeaderConverter.cs
- MemberInfoSerializationHolder.cs
- LayoutInformation.cs
- ListViewGroupConverter.cs
- SequenceDesignerAccessibleObject.cs
- TrackPointCollection.cs
- AxImporter.cs
- DelegatedStream.cs
- PermissionAttributes.cs
- COM2PictureConverter.cs
- Literal.cs
- FileLevelControlBuilderAttribute.cs
- TextViewBase.cs
- KerberosSecurityTokenAuthenticator.cs
- AssemblyNameProxy.cs
- SqlLiftIndependentRowExpressions.cs
- SrgsElementFactoryCompiler.cs
- MD5.cs
- StorageTypeMapping.cs
- XmlDataProvider.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- X509Chain.cs
- PointAnimationUsingPath.cs
- NativeCppClassAttribute.cs
- DefaultEventAttribute.cs
- ADMembershipUser.cs
- Span.cs
- Line.cs
- CodeEntryPointMethod.cs
- WebServiceParameterData.cs
- ExpressionBinding.cs
- XhtmlBasicValidatorAdapter.cs
- ContainsSearchOperator.cs
- ICollection.cs
- Perspective.cs
- Int16.cs
- ExceptionUtil.cs
- IdentityVerifier.cs
- InfoCardBaseException.cs
- ObjectDataSourceFilteringEventArgs.cs
- EntitySetBase.cs
- BuildProvider.cs
- Int32.cs