Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- EndOfStreamException.cs
- SecurityProtocolCorrelationState.cs
- NodeLabelEditEvent.cs
- ControlFilterExpression.cs
- AtomEntry.cs
- Rotation3DKeyFrameCollection.cs
- RegionData.cs
- MouseEventArgs.cs
- COM2ColorConverter.cs
- FragmentQuery.cs
- Substitution.cs
- TableItemStyle.cs
- HttpCacheVaryByContentEncodings.cs
- EntryPointNotFoundException.cs
- PopOutPanel.cs
- ValueTypeFixupInfo.cs
- ProxyWebPartManager.cs
- CreateUserErrorEventArgs.cs
- PathFigureCollectionConverter.cs
- SrgsGrammar.cs
- EmptyQuery.cs
- XmlWrappingWriter.cs
- PersonalizationStateInfo.cs
- X509Certificate2.cs
- FixedPosition.cs
- _ListenerRequestStream.cs
- Path.cs
- UnsafeNativeMethods.cs
- XmlSchemaGroupRef.cs
- WebFormDesignerActionService.cs
- AxisAngleRotation3D.cs
- ObjectConverter.cs
- Attributes.cs
- UnmanagedMemoryStreamWrapper.cs
- ManagementObject.cs
- NamedPermissionSet.cs
- VectorConverter.cs
- SoapExtensionImporter.cs
- GACIdentityPermission.cs
- NullRuntimeConfig.cs
- PageTextBox.cs
- AssemblyBuilder.cs
- DomainUpDown.cs
- RelationshipType.cs
- TextRange.cs
- SiteMapDataSourceView.cs
- SessionStateSection.cs
- ColorConverter.cs
- TriggerAction.cs
- OuterGlowBitmapEffect.cs
- RemotingSurrogateSelector.cs
- HtmlInputButton.cs
- OleDbErrorCollection.cs
- SchemaTableOptionalColumn.cs
- TextAutomationPeer.cs
- JavascriptXmlWriterWrapper.cs
- HotSpotCollection.cs
- PolicyUtility.cs
- ManualResetEvent.cs
- XmlSchemaSimpleContentRestriction.cs
- DataListDesigner.cs
- GAC.cs
- PriorityBinding.cs
- TextEditorTables.cs
- GridViewUpdateEventArgs.cs
- XmlResolver.cs
- ContainerSelectorGlyph.cs
- MissingMemberException.cs
- DataGridViewRowsRemovedEventArgs.cs
- DrawListViewSubItemEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- ApplicationActivator.cs
- JsonReaderWriterFactory.cs
- WsatAdminException.cs
- XPathBinder.cs
- MethodMessage.cs
- TextEncodedRawTextWriter.cs
- DataGridViewCellCollection.cs
- InvalidWMPVersionException.cs
- RMPublishingDialog.cs
- CheckPair.cs
- IconBitmapDecoder.cs
- PenThread.cs
- TableSectionStyle.cs
- ExtensionCollection.cs
- RelAssertionDirectKeyIdentifierClause.cs
- MaterialGroup.cs
- SafeSystemMetrics.cs
- OutputScope.cs
- Trigger.cs
- WindowsPrincipal.cs
- WebResourceAttribute.cs
- D3DImage.cs
- PerspectiveCamera.cs
- TraceSection.cs
- Stack.cs
- ListBase.cs
- RectAnimationUsingKeyFrames.cs
- CatalogZone.cs
- TemplateKey.cs