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
- ParameterModifier.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- XmlSchemaCompilationSettings.cs
- MessageBuffer.cs
- Listbox.cs
- Restrictions.cs
- CryptoStream.cs
- GroupDescription.cs
- TextEditor.cs
- NativeMethods.cs
- KeySpline.cs
- IssuedTokensHeader.cs
- StringSorter.cs
- WebServiceFault.cs
- XmlSchemaNotation.cs
- XPathScanner.cs
- CompareInfo.cs
- Profiler.cs
- PageTheme.cs
- TargetInvocationException.cs
- IndexedWhereQueryOperator.cs
- VBIdentifierName.cs
- DynamicDiscoSearcher.cs
- TrustManagerPromptUI.cs
- TextContainerHelper.cs
- GeometryModel3D.cs
- NotifyParentPropertyAttribute.cs
- CompareValidator.cs
- RelatedView.cs
- EnumValAlphaComparer.cs
- BaseValidator.cs
- GuidConverter.cs
- MemoryStream.cs
- BlurBitmapEffect.cs
- FocusTracker.cs
- ReadOnlyCollectionBase.cs
- SqlCacheDependency.cs
- ProcessDesigner.cs
- ImageUrlEditor.cs
- EmptyCollection.cs
- CfgRule.cs
- ProcessHostFactoryHelper.cs
- UserPersonalizationStateInfo.cs
- IdentityHolder.cs
- ThumbAutomationPeer.cs
- ExpressionHelper.cs
- ImageSourceValueSerializer.cs
- RequestResponse.cs
- TextCollapsingProperties.cs
- ZipIOBlockManager.cs
- DiscardableAttribute.cs
- XsltLoader.cs
- StrokeFIndices.cs
- DataContractSerializerOperationFormatter.cs
- SynchronizationContext.cs
- InkCanvasSelectionAdorner.cs
- LocatorPart.cs
- SQLDecimal.cs
- WebConfigurationHostFileChange.cs
- PassportPrincipal.cs
- MembershipSection.cs
- BitmapMetadata.cs
- UpdateTranslator.cs
- Page.cs
- WorkflowInstanceExtensionManager.cs
- RawStylusInput.cs
- TreeNodeBinding.cs
- CqlErrorHelper.cs
- SpellerInterop.cs
- BinaryObjectWriter.cs
- MetadataWorkspace.cs
- EventsTab.cs
- WorkflowTransactionService.cs
- CodeBlockBuilder.cs
- DragEvent.cs
- InputLangChangeRequestEvent.cs
- CryptoStream.cs
- GeneralTransform3D.cs
- DynamicPropertyHolder.cs
- ResourceProviderFactory.cs
- Rotation3D.cs
- DbProviderFactories.cs
- SqlDataSourceFilteringEventArgs.cs
- VerificationException.cs
- SocketManager.cs
- XmlSchemaDatatype.cs
- WindowsFormsSynchronizationContext.cs
- TextDecorationCollection.cs
- TextCollapsingProperties.cs
- TransactionChannelListener.cs
- OdbcConnectionFactory.cs
- NavigationProperty.cs
- DataRelationCollection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ServiceDescriptions.cs
- SqlConnectionPoolProviderInfo.cs
- FileUtil.cs
- OdbcConnectionFactory.cs
- KeyFrames.cs
- ComPlusTypeLoader.cs