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
- CodeDomSerializer.cs
- EarlyBoundInfo.cs
- SmiSettersStream.cs
- SqlComparer.cs
- MenuEventArgs.cs
- PolyLineSegment.cs
- LineGeometry.cs
- DictionaryEntry.cs
- QilTernary.cs
- GradientStopCollection.cs
- UIElementAutomationPeer.cs
- GlyphShapingProperties.cs
- NeutralResourcesLanguageAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- X509KeyIdentifierClauseType.cs
- RecordConverter.cs
- SecurityHeaderElementInferenceEngine.cs
- StaticExtension.cs
- FormViewInsertedEventArgs.cs
- CookieProtection.cs
- XPathChildIterator.cs
- UndirectedGraph.cs
- HtmlHead.cs
- Int64KeyFrameCollection.cs
- FunctionImportElement.cs
- CharEnumerator.cs
- Parsers.cs
- precedingquery.cs
- TrustLevelCollection.cs
- EllipseGeometry.cs
- FilteredDataSetHelper.cs
- Int64AnimationUsingKeyFrames.cs
- TabControlCancelEvent.cs
- ToolboxItemImageConverter.cs
- NegotiationTokenProvider.cs
- ScrollEventArgs.cs
- DataSourceDesigner.cs
- BitVec.cs
- _HeaderInfo.cs
- StrokeIntersection.cs
- AdornerHitTestResult.cs
- DbgCompiler.cs
- TableAdapterManagerHelper.cs
- WebHttpElement.cs
- DesignBindingPicker.cs
- DiscoveryClientRequestChannel.cs
- EntityContainerAssociationSet.cs
- CommandManager.cs
- DefaultValueTypeConverter.cs
- SecurityCapabilities.cs
- DockingAttribute.cs
- FixedLineResult.cs
- ProxyRpc.cs
- SystemFonts.cs
- ReadOnlyDataSource.cs
- ISAPIApplicationHost.cs
- BrowserTree.cs
- SymbolEqualComparer.cs
- XamlToRtfParser.cs
- MemoryStream.cs
- Triplet.cs
- Panel.cs
- JsonEncodingStreamWrapper.cs
- XsdDateTime.cs
- ObjectReaderCompiler.cs
- ServerType.cs
- PieceDirectory.cs
- InputProcessorProfilesLoader.cs
- DeleteHelper.cs
- Journaling.cs
- KeyConverter.cs
- PageBuildProvider.cs
- CodeMemberField.cs
- InkPresenter.cs
- SignerInfo.cs
- DataGridViewLinkCell.cs
- Selection.cs
- SplitContainerDesigner.cs
- MultiAsyncResult.cs
- CellQuery.cs
- AmbientProperties.cs
- SoundPlayerAction.cs
- Lasso.cs
- SimpleApplicationHost.cs
- ArglessEventHandlerProxy.cs
- Property.cs
- ISAPIWorkerRequest.cs
- CompositeCollectionView.cs
- IListConverters.cs
- WithStatement.cs
- ZipIOFileItemStream.cs
- TextDecorationCollectionConverter.cs
- Path.cs
- ClientUtils.cs
- GroupDescription.cs
- ProvideValueServiceProvider.cs
- ProfileServiceManager.cs
- MetadataItemCollectionFactory.cs
- ListMarkerLine.cs
- GZipStream.cs