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
- RuleAttributes.cs
- XsltConvert.cs
- StorageEndPropertyMapping.cs
- CodeDOMUtility.cs
- SqlInternalConnectionTds.cs
- Misc.cs
- DescendantOverDescendantQuery.cs
- CodeExpressionStatement.cs
- SystemTcpConnection.cs
- InternalPolicyElement.cs
- SqlCaseSimplifier.cs
- sqlstateclientmanager.cs
- ReferenceConverter.cs
- DesignerTransactionCloseEvent.cs
- Calendar.cs
- TypeConverter.cs
- ProtocolsSection.cs
- KnownTypeAttribute.cs
- PersistenceContext.cs
- CalendarDateChangedEventArgs.cs
- SqlDataSource.cs
- BamlTreeNode.cs
- Vector3DKeyFrameCollection.cs
- Visual.cs
- TypeNameConverter.cs
- SqlXmlStorage.cs
- ModuleElement.cs
- CodeMemberMethod.cs
- BeginStoryboard.cs
- WebPartConnectionsDisconnectVerb.cs
- SerializationFieldInfo.cs
- EncryptedData.cs
- SqlClientPermission.cs
- FileLoadException.cs
- TCPListener.cs
- controlskin.cs
- BindingNavigator.cs
- AutoSizeToolBoxItem.cs
- _LocalDataStore.cs
- RSAOAEPKeyExchangeDeformatter.cs
- MarshalByValueComponent.cs
- FileDialogCustomPlace.cs
- SecurityManager.cs
- BeginStoryboard.cs
- ReadOnlyActivityGlyph.cs
- WebRequestModuleElementCollection.cs
- SingleAnimationUsingKeyFrames.cs
- ActiveDesignSurfaceEvent.cs
- PropertyFilterAttribute.cs
- InstanceContextManager.cs
- NonceCache.cs
- DataTableMapping.cs
- Timer.cs
- UnsafeNativeMethods.cs
- SourceCollection.cs
- Automation.cs
- StandardToolWindows.cs
- EraserBehavior.cs
- Signature.cs
- Baml6Assembly.cs
- WorkflowViewService.cs
- IndexingContentUnit.cs
- Transactions.cs
- MenuItemBindingCollection.cs
- DataGridViewImageColumn.cs
- LoggedException.cs
- IndexedString.cs
- XmlSchemaImport.cs
- ScriptServiceAttribute.cs
- DataSourceHelper.cs
- QilGenerator.cs
- NonceCache.cs
- TimeoutException.cs
- Vector3DConverter.cs
- ListParagraph.cs
- EventManager.cs
- InvalidDataException.cs
- ResourceExpressionBuilder.cs
- ConfigUtil.cs
- KeyEventArgs.cs
- LostFocusEventManager.cs
- PrimitiveXmlSerializers.cs
- ScriptRef.cs
- CacheMode.cs
- ColumnWidthChangingEvent.cs
- WmlMobileTextWriter.cs
- OutputCacheSettingsSection.cs
- OrderedDictionaryStateHelper.cs
- QilParameter.cs
- DataGridColumnCollection.cs
- CodeDirectoryCompiler.cs
- SafeNativeMethodsMilCoreApi.cs
- RawAppCommandInputReport.cs
- FieldToken.cs
- ImpersonateTokenRef.cs
- DesignBindingPicker.cs
- SnapshotChangeTrackingStrategy.cs
- ServiceBuildProvider.cs
- SerializableAttribute.cs
- CreateSequenceResponse.cs