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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- util.cs
- IdentifierCreationService.cs
- MobileCategoryAttribute.cs
- MultiTouchSystemGestureLogic.cs
- PasswordPropertyTextAttribute.cs
- SqlAggregateChecker.cs
- VariableAction.cs
- ClientSettingsProvider.cs
- DataGridRow.cs
- TextEditorMouse.cs
- DiffuseMaterial.cs
- XmlConvert.cs
- TreeWalker.cs
- PropertiesTab.cs
- XmlNavigatorFilter.cs
- XsltFunctions.cs
- BamlRecords.cs
- KeyEvent.cs
- HttpSessionStateWrapper.cs
- TripleDESCryptoServiceProvider.cs
- TraceHwndHost.cs
- WindowPatternIdentifiers.cs
- StyleCollectionEditor.cs
- TextPenaltyModule.cs
- ToolStripHighContrastRenderer.cs
- WbemException.cs
- ClipboardData.cs
- GeneralTransform2DTo3DTo2D.cs
- Parameter.cs
- DataGridViewColumnCollection.cs
- Ops.cs
- AssemblySettingAttributes.cs
- DesignerVerbCollection.cs
- _NestedMultipleAsyncResult.cs
- GridViewUpdatedEventArgs.cs
- EventLogPermissionEntry.cs
- XComponentModel.cs
- FeatureSupport.cs
- EtwTrace.cs
- ExpanderAutomationPeer.cs
- DataGridViewCellValidatingEventArgs.cs
- CornerRadius.cs
- ConcurrentBag.cs
- XmlIlTypeHelper.cs
- StorageMappingFragment.cs
- CssTextWriter.cs
- CompoundFileReference.cs
- GeneralTransform2DTo3DTo2D.cs
- ServiceNotStartedException.cs
- IdentityNotMappedException.cs
- DeferredElementTreeState.cs
- DiagnosticTraceSource.cs
- StandardCommands.cs
- SplashScreenNativeMethods.cs
- SystemNetworkInterface.cs
- DataSourceCacheDurationConverter.cs
- EntityViewContainer.cs
- StringStorage.cs
- WindowsPrincipal.cs
- BinaryUtilClasses.cs
- MetadataPropertyCollection.cs
- StyleCollection.cs
- CompensationDesigner.cs
- CompositionAdorner.cs
- ManagementOperationWatcher.cs
- SizeAnimationUsingKeyFrames.cs
- ProgressChangedEventArgs.cs
- WebPartConnectionsConfigureVerb.cs
- SymLanguageType.cs
- ValueTypeFixupInfo.cs
- RtfFormatStack.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- TextHidden.cs
- HttpHostedTransportConfiguration.cs
- DesigntimeLicenseContextSerializer.cs
- MeshGeometry3D.cs
- WebPartHelpVerb.cs
- GridPattern.cs
- SafeNativeMethods.cs
- SafeEventHandle.cs
- PackageFilter.cs
- DbgUtil.cs
- XmlAttributeOverrides.cs
- FilterElement.cs
- FontCollection.cs
- SecurityException.cs
- UnionExpr.cs
- DataSourceDesigner.cs
- Atom10ItemFormatter.cs
- MultipleViewPattern.cs
- PropertyChangedEventManager.cs
- LifetimeServices.cs
- BackgroundWorker.cs
- CqlLexer.cs
- SqlFormatter.cs
- FileInfo.cs
- DataPagerFieldCommandEventArgs.cs
- Polyline.cs
- UriSection.cs
- PrintDialogException.cs