Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceHostFactory.cs / 1305376 / 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
- IPAddress.cs
- ObjectStateManagerMetadata.cs
- WorkflowOperationErrorHandler.cs
- StdValidatorsAndConverters.cs
- StylusCaptureWithinProperty.cs
- CopyEncoder.cs
- UpdateManifestForBrowserApplication.cs
- EmptyReadOnlyDictionaryInternal.cs
- CodeAttributeDeclarationCollection.cs
- Metafile.cs
- TdsParameterSetter.cs
- WindowsProgressbar.cs
- SplineQuaternionKeyFrame.cs
- ServiceObjectContainer.cs
- AccessDataSourceView.cs
- PersonalizationEntry.cs
- TableCellCollection.cs
- TranslateTransform3D.cs
- EventLogEntry.cs
- InfiniteIntConverter.cs
- _AuthenticationState.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- StatusInfoItem.cs
- wpf-etw.cs
- WizardSideBarListControlItemEventArgs.cs
- ExtendedProtectionPolicyElement.cs
- CngKeyBlobFormat.cs
- BamlTreeNode.cs
- TextPointerBase.cs
- HtmlImage.cs
- TransformerConfigurationWizardBase.cs
- EntityContainerEntitySet.cs
- AuditLog.cs
- CallInfo.cs
- TextClipboardData.cs
- EDesignUtil.cs
- PropertyItemInternal.cs
- DataGridViewBand.cs
- AssociationSetMetadata.cs
- Automation.cs
- ImageFormat.cs
- FixedLineResult.cs
- ConfigXmlAttribute.cs
- Header.cs
- Rotation3D.cs
- BitmapEffectInputConnector.cs
- GridItem.cs
- PermissionListSet.cs
- MimeWriter.cs
- Crc32.cs
- EncoderReplacementFallback.cs
- BaseAsyncResult.cs
- Validator.cs
- BounceEase.cs
- BitmapEffectRenderDataResource.cs
- TokenFactoryCredential.cs
- SerializationSectionGroup.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- AppDomainFactory.cs
- IpcManager.cs
- WorkflowViewElement.cs
- WebPartManagerInternals.cs
- TextTreeRootTextBlock.cs
- NumberFormatInfo.cs
- EmptyCollection.cs
- TableRowCollection.cs
- NullableBoolConverter.cs
- CompoundFileStorageReference.cs
- MetabaseSettingsIis7.cs
- DataMemberConverter.cs
- XmlExtensionFunction.cs
- CodeArrayCreateExpression.cs
- AdornerHitTestResult.cs
- VirtualDirectoryMappingCollection.cs
- ObjectQueryExecutionPlan.cs
- PropertyChangedEventArgs.cs
- MeasureItemEvent.cs
- httpserverutility.cs
- TimeSpanOrInfiniteConverter.cs
- CodeDirectiveCollection.cs
- Pointer.cs
- AuthenticationServiceManager.cs
- CultureInfoConverter.cs
- ScrollContentPresenter.cs
- ControlUtil.cs
- DataGridRowHeaderAutomationPeer.cs
- ContainerUIElement3D.cs
- TextShapeableCharacters.cs
- PropertiesTab.cs
- HostVisual.cs
- EasingKeyFrames.cs
- keycontainerpermission.cs
- SmtpFailedRecipientsException.cs
- BStrWrapper.cs
- PropertyDescriptorComparer.cs
- Transform3D.cs
- CodeAttributeArgument.cs
- WindowsScroll.cs
- ChangeTracker.cs
- FlowDocumentFormatter.cs