Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceHostFactory.cs / 1305376 / 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
- Base64Decoder.cs
- SchemaTypeEmitter.cs
- InheritedPropertyDescriptor.cs
- IsolatedStorageFilePermission.cs
- MessagePartProtectionMode.cs
- SiteMapNode.cs
- PublisherMembershipCondition.cs
- TriggerCollection.cs
- HostProtectionException.cs
- XmlSchemaInfo.cs
- SafeNativeMethods.cs
- TranslateTransform.cs
- SafeProcessHandle.cs
- HoistedLocals.cs
- WebControlsSection.cs
- ProcessModule.cs
- ContactManager.cs
- FormsAuthentication.cs
- BitmapEncoder.cs
- PageBuildProvider.cs
- NumberSubstitution.cs
- UpdateProgress.cs
- TreeNodeClickEventArgs.cs
- XmlNavigatorStack.cs
- TdsParserStateObject.cs
- HostedElements.cs
- EntityCommand.cs
- XmlKeywords.cs
- TabControlEvent.cs
- GridLength.cs
- StreamSecurityUpgradeAcceptor.cs
- HtmlContainerControl.cs
- MemoryFailPoint.cs
- Events.cs
- ImageAttributes.cs
- XmlNodeChangedEventArgs.cs
- SvcMapFileSerializer.cs
- FixUp.cs
- AppSettingsReader.cs
- System.Data.OracleClient_BID.cs
- Funcletizer.cs
- HttpResponseInternalWrapper.cs
- Clipboard.cs
- TableLayoutPanelBehavior.cs
- XmlCharacterData.cs
- TreeNodeStyleCollection.cs
- MemberInitExpression.cs
- SqlInternalConnectionSmi.cs
- ControlBuilder.cs
- ExceptionAggregator.cs
- DescendentsWalkerBase.cs
- UIAgentAsyncBeginRequest.cs
- InternalSafeNativeMethods.cs
- CodePropertyReferenceExpression.cs
- StaticSiteMapProvider.cs
- IPAddressCollection.cs
- SvcMapFile.cs
- HostedTransportConfigurationManager.cs
- ContentIterators.cs
- QuadraticBezierSegment.cs
- SystemIPInterfaceProperties.cs
- LinkClickEvent.cs
- Semaphore.cs
- GlyphTypeface.cs
- DiscoveryClientDocuments.cs
- Environment.cs
- smtpconnection.cs
- SizeConverter.cs
- JoinTreeNode.cs
- WebControlAdapter.cs
- OledbConnectionStringbuilder.cs
- DataGridViewColumnDesigner.cs
- ISAPIApplicationHost.cs
- StrongNameIdentityPermission.cs
- FormatterServices.cs
- InOutArgument.cs
- TypeDependencyAttribute.cs
- ContainerUtilities.cs
- MetadataArtifactLoaderCompositeFile.cs
- StyleTypedPropertyAttribute.cs
- SqlUnionizer.cs
- HostedImpersonationContext.cs
- XmlReturnWriter.cs
- Int64Animation.cs
- Cloud.cs
- TrustExchangeException.cs
- DbTransaction.cs
- XamlTreeBuilder.cs
- DayRenderEvent.cs
- EnumCodeDomSerializer.cs
- XmlHelper.cs
- StringWriter.cs
- WebServiceAttribute.cs
- ServiceBusyException.cs
- TableLayoutSettingsTypeConverter.cs
- ValueTypeFixupInfo.cs
- ClientUriBehavior.cs
- SoapSchemaExporter.cs
- LineBreakRecord.cs
- HttpModule.cs