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
- SQLDecimal.cs
- Operand.cs
- XmlDocumentType.cs
- TextEndOfParagraph.cs
- HttpRuntime.cs
- XPathNodeList.cs
- DatagridviewDisplayedBandsData.cs
- GacUtil.cs
- EncoderParameters.cs
- SourceSwitch.cs
- BuildProviderCollection.cs
- FloaterParagraph.cs
- SettingsPropertyWrongTypeException.cs
- UserPrincipalNameElement.cs
- SqlDataSourceView.cs
- EntityDesignerDataSourceView.cs
- CategoryNameCollection.cs
- RightsManagementPermission.cs
- FixedPageAutomationPeer.cs
- XamlDesignerSerializationManager.cs
- BidPrivateBase.cs
- GroupItem.cs
- MetaColumn.cs
- _ListenerRequestStream.cs
- NamespaceCollection.cs
- CryptoStream.cs
- XmlQuerySequence.cs
- COAUTHINFO.cs
- StyleHelper.cs
- TextCompositionManager.cs
- BufferedGraphics.cs
- TableLayoutPanelDesigner.cs
- Math.cs
- ExpressionBinding.cs
- TaiwanLunisolarCalendar.cs
- DataGridViewBand.cs
- TagElement.cs
- ListViewEditEventArgs.cs
- Inline.cs
- AnnotationObservableCollection.cs
- DataGridColumn.cs
- SchemaImporter.cs
- TraceUtility.cs
- GetWinFXPath.cs
- CodeTypeDelegate.cs
- PhonemeConverter.cs
- StringInfo.cs
- DocumentApplicationJournalEntry.cs
- UInt16Converter.cs
- ToolStripRenderEventArgs.cs
- EtwTrace.cs
- TransactionFilter.cs
- Privilege.cs
- ContractBase.cs
- VersionUtil.cs
- EmbeddedMailObjectCollectionEditor.cs
- DataSourceComponent.cs
- mda.cs
- DataRelationCollection.cs
- FocusManager.cs
- CompilerError.cs
- XhtmlTextWriter.cs
- WsdlInspector.cs
- LogArchiveSnapshot.cs
- VisualStyleElement.cs
- EndpointAddressMessageFilterTable.cs
- CodeSnippetCompileUnit.cs
- OutputCacheModule.cs
- ControlAdapter.cs
- WebPartVerb.cs
- ServerReliableChannelBinder.cs
- Schema.cs
- SessionIDManager.cs
- RewritingProcessor.cs
- webeventbuffer.cs
- TypeGeneratedEventArgs.cs
- LineProperties.cs
- ToolStripManager.cs
- XPathMessageFilter.cs
- DeclarationUpdate.cs
- FlowNode.cs
- CalendarDayButton.cs
- FrameworkElement.cs
- SoapServerProtocol.cs
- CodeComment.cs
- NativeMethods.cs
- EncoderParameters.cs
- DataGridViewCellLinkedList.cs
- ExpressionBindingCollection.cs
- Visitor.cs
- DbReferenceCollection.cs
- MemberInfoSerializationHolder.cs
- XpsS0ValidatingLoader.cs
- DrawToolTipEventArgs.cs
- SingleObjectCollection.cs
- TrackBarRenderer.cs
- TreeViewAutomationPeer.cs
- CompModSwitches.cs
- PropertyOrder.cs
- DayRenderEvent.cs