Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- HtmlCommandAdapter.cs
- SqlServices.cs
- IdentityHolder.cs
- JumpList.cs
- StringFreezingAttribute.cs
- odbcmetadatafactory.cs
- ForceCopyBuildProvider.cs
- AnnotationHighlightLayer.cs
- SerializerProvider.cs
- DrawingCollection.cs
- RecordBuilder.cs
- CharacterBufferReference.cs
- MouseGestureValueSerializer.cs
- TransactionChannelFaultConverter.cs
- SqlDataSourceFilteringEventArgs.cs
- _LocalDataStoreMgr.cs
- WindowVisualStateTracker.cs
- Scene3D.cs
- Parameter.cs
- SettingsAttributes.cs
- Globals.cs
- EventManager.cs
- SmtpNegotiateAuthenticationModule.cs
- Rotation3DAnimation.cs
- Bitmap.cs
- CustomError.cs
- QuotedPrintableStream.cs
- FrameworkElement.cs
- LOSFormatter.cs
- CompositeControl.cs
- Encoder.cs
- ProfessionalColors.cs
- UnrecognizedPolicyAssertionElement.cs
- ScrollChrome.cs
- QueryContinueDragEvent.cs
- CompiledAction.cs
- ServiceThrottlingBehavior.cs
- DataGridLinkButton.cs
- TTSVoice.cs
- RootBuilder.cs
- MemberHolder.cs
- TextDecorationCollection.cs
- PropertyInformation.cs
- DiscreteKeyFrames.cs
- HttpRequest.cs
- StdValidatorsAndConverters.cs
- RoleManagerSection.cs
- WaitHandle.cs
- CommandHelpers.cs
- DeviceContext.cs
- LinkClickEvent.cs
- Automation.cs
- TextDecorationUnitValidation.cs
- EntitySqlQueryCacheEntry.cs
- CookieProtection.cs
- Brush.cs
- FlowDocumentReaderAutomationPeer.cs
- Font.cs
- XmlUrlResolver.cs
- OdbcConnectionFactory.cs
- ObjectListItemCollection.cs
- UpdateRecord.cs
- NotifyInputEventArgs.cs
- MatrixIndependentAnimationStorage.cs
- StretchValidation.cs
- Binding.cs
- WCFBuildProvider.cs
- PhysicalOps.cs
- LoginNameDesigner.cs
- SchemaCreator.cs
- DocumentReference.cs
- BaseTemplateBuildProvider.cs
- UnsafeNativeMethods.cs
- SamlAudienceRestrictionCondition.cs
- EditModeSwitchButton.cs
- MobileCategoryAttribute.cs
- XmlSchemaAttributeGroupRef.cs
- EncoderParameters.cs
- BamlResourceDeserializer.cs
- sitestring.cs
- WebPartMenu.cs
- DataObjectEventArgs.cs
- VisualStyleTypesAndProperties.cs
- ValueHandle.cs
- XmlBinaryReader.cs
- XmlSerializerFactory.cs
- TagElement.cs
- RangeValidator.cs
- SymmetricAlgorithm.cs
- TCPClient.cs
- Formatter.cs
- ReferenceConverter.cs
- WebDescriptionAttribute.cs
- TraceHwndHost.cs
- SelectedDatesCollection.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- ResizeGrip.cs
- StoreAnnotationsMap.cs
- Selection.cs
- XPathNodeList.cs