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
- ConfigurationSectionHelper.cs
- SecuritySessionClientSettings.cs
- StickyNoteAnnotations.cs
- ChooseAction.cs
- SerializerProvider.cs
- QueryOutputWriter.cs
- OlePropertyStructs.cs
- TextDecorations.cs
- TransactionInterop.cs
- MetadataItemEmitter.cs
- EntityContainerEmitter.cs
- SectionInformation.cs
- CodeDOMUtility.cs
- GorillaCodec.cs
- AccessDataSourceView.cs
- Span.cs
- SystemIPv6InterfaceProperties.cs
- CompressStream.cs
- AutomationElementIdentifiers.cs
- WebSysDescriptionAttribute.cs
- SrgsItemList.cs
- NavigationService.cs
- EnumerableRowCollection.cs
- Help.cs
- HttpModulesSection.cs
- LZCodec.cs
- EventMappingSettingsCollection.cs
- ReadWriteObjectLock.cs
- ComplexBindingPropertiesAttribute.cs
- TransformGroup.cs
- ParsedAttributeCollection.cs
- RequestNavigateEventArgs.cs
- EventLogEntry.cs
- EditCommandColumn.cs
- HighlightVisual.cs
- HandleRef.cs
- MulticastOption.cs
- CommandExpr.cs
- StretchValidation.cs
- RadialGradientBrush.cs
- JsonByteArrayDataContract.cs
- DataSourceControl.cs
- QilUnary.cs
- Command.cs
- SurrogateEncoder.cs
- ToolStripPanelRenderEventArgs.cs
- SqlCaseSimplifier.cs
- securitycriticaldataformultiplegetandset.cs
- XmlComplianceUtil.cs
- InvalidOperationException.cs
- MarshalByValueComponent.cs
- TextRange.cs
- BigInt.cs
- Enum.cs
- Path.cs
- XPathEmptyIterator.cs
- ParamArrayAttribute.cs
- NotImplementedException.cs
- InputBuffer.cs
- DefaultPropertyAttribute.cs
- ScriptBehaviorDescriptor.cs
- SamlAuthenticationStatement.cs
- LambdaCompiler.cs
- RectangleF.cs
- OdbcInfoMessageEvent.cs
- DataColumn.cs
- PartitionResolver.cs
- TreeView.cs
- ErrorFormatterPage.cs
- BooleanSwitch.cs
- DesignerInterfaces.cs
- RequestCacheValidator.cs
- SmtpException.cs
- KernelTypeValidation.cs
- ParamArrayAttribute.cs
- ServiceHostFactory.cs
- FigureParagraph.cs
- PathNode.cs
- SendSecurityHeaderElementContainer.cs
- CommonRemoteMemoryBlock.cs
- ClickablePoint.cs
- WebPermission.cs
- Size.cs
- UserPersonalizationStateInfo.cs
- ProjectedWrapper.cs
- AttributeCollection.cs
- Action.cs
- OdbcError.cs
- SignatureHelper.cs
- TextureBrush.cs
- GroupBox.cs
- UnknownBitmapDecoder.cs
- sqlcontext.cs
- FixedSOMSemanticBox.cs
- WebPartEditorOkVerb.cs
- Pool.cs
- Vector3DConverter.cs
- ValueUnavailableException.cs
- httpapplicationstate.cs
- WebReferencesBuildProvider.cs