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
- SqlPersonalizationProvider.cs
- ScriptingJsonSerializationSection.cs
- OutputWindow.cs
- PhoneCall.cs
- OuterGlowBitmapEffect.cs
- SimpleWorkerRequest.cs
- _NetRes.cs
- StylusPoint.cs
- RuleSettingsCollection.cs
- SapiGrammar.cs
- ObjectSpanRewriter.cs
- ContainerTracking.cs
- EditBehavior.cs
- SqlUserDefinedTypeAttribute.cs
- DeobfuscatingStream.cs
- DetailsViewInsertedEventArgs.cs
- UniformGrid.cs
- PriorityQueue.cs
- SystemParameters.cs
- dbdatarecord.cs
- PersonalizablePropertyEntry.cs
- GrowingArray.cs
- EDesignUtil.cs
- ToolStripRendererSwitcher.cs
- ToolBar.cs
- x509utils.cs
- SafeFreeMibTable.cs
- DotExpr.cs
- TableLayoutRowStyleCollection.cs
- WebBrowserEvent.cs
- HtmlTextViewAdapter.cs
- DefaultDiscoveryService.cs
- KeyTimeConverter.cs
- FixedSOMPageConstructor.cs
- fixedPageContentExtractor.cs
- NetCodeGroup.cs
- InkCanvasSelectionAdorner.cs
- WebConfigurationHost.cs
- StsCommunicationException.cs
- SignedInfo.cs
- SelectionHighlightInfo.cs
- SAPIEngineTypes.cs
- ButtonFlatAdapter.cs
- FileFormatException.cs
- XmlSerializableServices.cs
- UnsettableComboBox.cs
- SafeRightsManagementSessionHandle.cs
- ExpressionSelection.cs
- Base64Encoder.cs
- HWStack.cs
- CacheAxisQuery.cs
- UpdateExpressionVisitor.cs
- WeakRefEnumerator.cs
- Utils.cs
- EntityDataSourceContextDisposingEventArgs.cs
- DefinitionBase.cs
- PolicyUtility.cs
- PersonalizablePropertyEntry.cs
- XPathItem.cs
- ByteStreamMessage.cs
- TypeNameHelper.cs
- XPathCompiler.cs
- KernelTypeValidation.cs
- XmlNullResolver.cs
- ZipIOLocalFileDataDescriptor.cs
- ServicePointManagerElement.cs
- ListControl.cs
- BuildProvidersCompiler.cs
- RoutedEventValueSerializer.cs
- LookupBindingPropertiesAttribute.cs
- RelationshipEnd.cs
- EventSinkHelperWriter.cs
- EntityDataSourceWrapperCollection.cs
- DocumentCollection.cs
- WarningException.cs
- RelationshipConverter.cs
- DrawingAttributesDefaultValueFactory.cs
- BindingNavigator.cs
- RuntimeEnvironment.cs
- ServicePrincipalNameElement.cs
- StringAnimationBase.cs
- SectionInformation.cs
- TranslateTransform3D.cs
- WmpBitmapDecoder.cs
- XmlCountingReader.cs
- ChtmlTextWriter.cs
- SecurityUtils.cs
- Exceptions.cs
- UriWriter.cs
- SerialPinChanges.cs
- InvalidCastException.cs
- VisualBasicSettingsConverter.cs
- ExceptionHelpers.cs
- RuntimeConfigLKG.cs
- ByteStreamMessageUtility.cs
- IndicFontClient.cs
- TextServicesLoader.cs
- ChannelBinding.cs
- SqlRewriteScalarSubqueries.cs
- ListControl.cs