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
- StylusPointPropertyInfo.cs
- AsnEncodedData.cs
- DataGridPageChangedEventArgs.cs
- ReadOnlyDataSource.cs
- ResourceDescriptionAttribute.cs
- SchemaMerger.cs
- AttributeCollection.cs
- SubpageParagraph.cs
- Vector3dCollection.cs
- SrgsDocument.cs
- altserialization.cs
- MSAANativeProvider.cs
- BufferAllocator.cs
- BigInt.cs
- SystemWebExtensionsSectionGroup.cs
- EventProviderWriter.cs
- RouteValueDictionary.cs
- PreviewKeyDownEventArgs.cs
- TypeUsageBuilder.cs
- JournalNavigationScope.cs
- DragCompletedEventArgs.cs
- AutomationTextAttribute.cs
- TextServicesCompartment.cs
- ComplexTypeEmitter.cs
- DataTemplateKey.cs
- Int16KeyFrameCollection.cs
- ReferenceService.cs
- CustomAttributeFormatException.cs
- FixedSOMFixedBlock.cs
- ArgumentValidation.cs
- SqlIdentifier.cs
- RequestCacheEntry.cs
- Parameter.cs
- DataServiceHostWrapper.cs
- DataSourceControl.cs
- SourceInterpreter.cs
- DbDataSourceEnumerator.cs
- XmlILAnnotation.cs
- BuildProviderUtils.cs
- ControlIdConverter.cs
- CodeMemberEvent.cs
- ContainerParagraph.cs
- SrgsNameValueTag.cs
- BaseDataBoundControl.cs
- ObjectQuery_EntitySqlExtensions.cs
- ValidationError.cs
- VBCodeProvider.cs
- ThemeableAttribute.cs
- DBBindings.cs
- XmlChoiceIdentifierAttribute.cs
- MsmqInputMessagePool.cs
- CheckedListBox.cs
- MetadataLocation.cs
- DataGridViewBand.cs
- Evidence.cs
- ListView.cs
- DynamicRouteExpression.cs
- BitmapEffectInputData.cs
- XamlInt32CollectionSerializer.cs
- CheckBoxRenderer.cs
- EventLogPermissionEntry.cs
- OdbcParameterCollection.cs
- ObjectViewFactory.cs
- x509utils.cs
- ExpressionBuilderCollection.cs
- MetricEntry.cs
- KeyConstraint.cs
- IndexOutOfRangeException.cs
- ToolStripStatusLabel.cs
- ThreadPool.cs
- RequestStatusBarUpdateEventArgs.cs
- FormClosedEvent.cs
- RequestQueue.cs
- WebBrowserEvent.cs
- Pair.cs
- WpfGeneratedKnownTypes.cs
- ButtonFlatAdapter.cs
- TextHidden.cs
- XmlDataCollection.cs
- ContextStack.cs
- ConstraintEnumerator.cs
- DataGridViewHitTestInfo.cs
- ResourcePermissionBaseEntry.cs
- FusionWrap.cs
- ConfigurationManagerHelperFactory.cs
- XmlByteStreamWriter.cs
- XMLSchema.cs
- ImageSource.cs
- Margins.cs
- DataViewSetting.cs
- EventMappingSettings.cs
- WinFormsSecurity.cs
- Contracts.cs
- BackgroundFormatInfo.cs
- XmlSchemaSimpleTypeList.cs
- PartialArray.cs
- GlyphRunDrawing.cs
- CompModHelpers.cs
- TargetException.cs
- ConnectionInterfaceCollection.cs