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
- XsltInput.cs
- SpeechSeg.cs
- SimpleRecyclingCache.cs
- FloaterParaClient.cs
- HyperLinkStyle.cs
- FlowPosition.cs
- XmlProcessingInstruction.cs
- mda.cs
- BindValidationContext.cs
- GetLedgerRequest.cs
- PieceDirectory.cs
- SafeEventLogWriteHandle.cs
- CompModHelpers.cs
- ViewCellRelation.cs
- Invariant.cs
- Bind.cs
- X509ScopedServiceCertificateElementCollection.cs
- FrameworkTemplate.cs
- ThreadSafeList.cs
- EventMappingSettings.cs
- _NTAuthentication.cs
- TextDecoration.cs
- QueryableDataSourceEditData.cs
- XmlReaderSettings.cs
- PolicyLevel.cs
- ApplicationId.cs
- DesignerLabelAdapter.cs
- BaseComponentEditor.cs
- SplashScreenNativeMethods.cs
- CompositeCollection.cs
- PropertyGridEditorPart.cs
- WrappedOptions.cs
- SqlTypeSystemProvider.cs
- ChineseLunisolarCalendar.cs
- UnknownBitmapEncoder.cs
- DbConnectionClosed.cs
- TextEditorTyping.cs
- BufferedGraphics.cs
- TextFormatterContext.cs
- ResourcePermissionBaseEntry.cs
- IRCollection.cs
- RuntimeArgumentHandle.cs
- DataKeyCollection.cs
- LeftCellWrapper.cs
- OdbcConnectionPoolProviderInfo.cs
- MissingMethodException.cs
- Facet.cs
- DefaultTextStoreTextComposition.cs
- ButtonColumn.cs
- VisualBasicHelper.cs
- x509store.cs
- SqlServices.cs
- SystemParameters.cs
- XmlChoiceIdentifierAttribute.cs
- EdmProperty.cs
- StartUpEventArgs.cs
- AutoCompleteStringCollection.cs
- SafeEventLogReadHandle.cs
- ToolStripContextMenu.cs
- URL.cs
- NativeMethods.cs
- FormViewPagerRow.cs
- NativeMethods.cs
- ConvertTextFrag.cs
- UIEndRequest.cs
- EntityContainerAssociationSetEnd.cs
- CopyNamespacesAction.cs
- _DigestClient.cs
- FolderBrowserDialog.cs
- HtmlWindowCollection.cs
- AutoScrollHelper.cs
- ClientConfigurationHost.cs
- ReliableSessionBindingElement.cs
- FrameworkContentElement.cs
- TreeNodeBindingDepthConverter.cs
- NumberFunctions.cs
- HttpDigestClientCredential.cs
- HtmlInputSubmit.cs
- FontFamily.cs
- RetrieveVirtualItemEventArgs.cs
- EditorServiceContext.cs
- SortKey.cs
- ImageUrlEditor.cs
- CompiledXpathExpr.cs
- DBConcurrencyException.cs
- CompositeCollectionView.cs
- DetailsView.cs
- RepeaterDesigner.cs
- CommonDialog.cs
- XmlILOptimizerVisitor.cs
- ChtmlPageAdapter.cs
- BasicAsyncResult.cs
- LocalizedNameDescriptionPair.cs
- DataGridCaption.cs
- keycontainerpermission.cs
- PerformanceCounterManager.cs
- Lasso.cs
- CommandBindingCollection.cs
- SizeLimitedCache.cs
- Int64AnimationBase.cs