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
- UnmanagedHandle.cs
- SiblingIterators.cs
- DataBoundControlAdapter.cs
- XPathBuilder.cs
- Command.cs
- Main.cs
- FillBehavior.cs
- IPEndPoint.cs
- BitStream.cs
- DatatypeImplementation.cs
- KoreanLunisolarCalendar.cs
- SafeIUnknown.cs
- FlowDocument.cs
- PageScaling.cs
- ColumnWidthChangedEvent.cs
- OleAutBinder.cs
- RSAPKCS1SignatureFormatter.cs
- RIPEMD160Managed.cs
- AspNetHostingPermission.cs
- PeerPresenceInfo.cs
- PerfService.cs
- ListViewTableRow.cs
- DependentList.cs
- ClockGroup.cs
- ProviderConnectionPoint.cs
- SparseMemoryStream.cs
- Line.cs
- WindowsComboBox.cs
- JoinCqlBlock.cs
- CmsInterop.cs
- ImageListImage.cs
- PointCollection.cs
- FtpCachePolicyElement.cs
- ButtonChrome.cs
- ArcSegment.cs
- MetadataLocation.cs
- MarkupCompilePass1.cs
- ConsumerConnectionPointCollection.cs
- DataGridPreparingCellForEditEventArgs.cs
- SecurityElement.cs
- ValidationErrorCollection.cs
- ProcessHostMapPath.cs
- WebPartConnectionCollection.cs
- CombinedGeometry.cs
- UInt32Converter.cs
- DllHostInitializer.cs
- ReturnType.cs
- MsmqChannelFactoryBase.cs
- SchemaEntity.cs
- LogicalExpressionTypeConverter.cs
- OraclePermission.cs
- ZipIOLocalFileBlock.cs
- MsmqHostedTransportConfiguration.cs
- DependentTransaction.cs
- SetterTriggerConditionValueConverter.cs
- DatagridviewDisplayedBandsData.cs
- Base64Stream.cs
- LoginView.cs
- Mappings.cs
- DefaultPropertiesToSend.cs
- NativeMethods.cs
- TableSectionStyle.cs
- IisTraceWebEventProvider.cs
- EndpointDiscoveryMetadata11.cs
- ErasingStroke.cs
- ProfileProvider.cs
- UserControl.cs
- DataGridViewRowCollection.cs
- SystemIPAddressInformation.cs
- SessionSwitchEventArgs.cs
- CFStream.cs
- MailDefinition.cs
- KeyProperty.cs
- VisualStyleElement.cs
- SamlDoNotCacheCondition.cs
- ExpressionVisitor.cs
- Error.cs
- TextDecorations.cs
- CodeDirectoryCompiler.cs
- PageWrapper.cs
- IpcChannelHelper.cs
- FillBehavior.cs
- RSAPKCS1SignatureDeformatter.cs
- ServiceRoute.cs
- BoundingRectTracker.cs
- SpAudioStreamWrapper.cs
- ElementProxy.cs
- PeerName.cs
- SqlDataSource.cs
- StringConcat.cs
- LayoutSettings.cs
- DCSafeHandle.cs
- StorageBasedPackageProperties.cs
- ComponentSerializationService.cs
- SqlDataSourceCommandEventArgs.cs
- ByteStreamMessageEncodingElement.cs
- RangeValidator.cs
- DropShadowEffect.cs
- WebConfigurationHostFileChange.cs
- Block.cs