Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TreeViewHitTestInfo.cs
- EmbossBitmapEffect.cs
- MemoryRecordBuffer.cs
- RectangleGeometry.cs
- FrameworkContextData.cs
- ScriptControlManager.cs
- RenderData.cs
- EventHandlerList.cs
- DocumentPage.cs
- SqlCachedBuffer.cs
- SmtpTransport.cs
- PeerContact.cs
- AxisAngleRotation3D.cs
- Wizard.cs
- XmlSecureResolver.cs
- ParentUndoUnit.cs
- PropertyTabAttribute.cs
- XmlWrappingReader.cs
- AppliedDeviceFiltersDialog.cs
- DataGridRow.cs
- MimeMultiPart.cs
- ItemType.cs
- WebInvokeAttribute.cs
- PartDesigner.cs
- GridViewDeletedEventArgs.cs
- WebPartsPersonalizationAuthorization.cs
- Scripts.cs
- TreeViewAutomationPeer.cs
- KeyboardDevice.cs
- SqlIdentifier.cs
- X509ChainElement.cs
- TableRowGroupCollection.cs
- Subtree.cs
- WindowVisualStateTracker.cs
- ProfileEventArgs.cs
- AspNetHostingPermission.cs
- _SslState.cs
- OrthographicCamera.cs
- Point3DCollectionValueSerializer.cs
- IndentTextWriter.cs
- NameSpaceExtractor.cs
- SymLanguageVendor.cs
- DBSqlParserColumnCollection.cs
- HttpFormatExtensions.cs
- InvokeBase.cs
- ServiceHandle.cs
- CompositeDuplexBindingElement.cs
- HttpContextServiceHost.cs
- UnsafeNativeMethods.cs
- ForeignKeyConstraint.cs
- WorkBatch.cs
- UnmanagedBitmapWrapper.cs
- TextSelection.cs
- ToolStripDropTargetManager.cs
- OverrideMode.cs
- Invariant.cs
- TimelineCollection.cs
- ProtocolsConfigurationEntry.cs
- SafeBitVector32.cs
- DataGridViewButtonColumn.cs
- ClassicBorderDecorator.cs
- CssTextWriter.cs
- RoleGroup.cs
- AppDomainEvidenceFactory.cs
- mediaeventargs.cs
- ResourceBinder.cs
- AuthenticationModuleElementCollection.cs
- Point3DIndependentAnimationStorage.cs
- DesignerVerbCollection.cs
- ComplexType.cs
- TraceSource.cs
- SqlTypesSchemaImporter.cs
- LiteralControl.cs
- DataPagerFieldItem.cs
- ReadOnlyNameValueCollection.cs
- IsolatedStorageSecurityState.cs
- XmlBinaryReaderSession.cs
- TypeConverter.cs
- DocumentViewerBase.cs
- MaskedTextBoxDesigner.cs
- HtmlInputText.cs
- Menu.cs
- RenderCapability.cs
- Brushes.cs
- DefaultWorkflowLoaderService.cs
- ConfigurationSettings.cs
- TdsValueSetter.cs
- PropertyCondition.cs
- XmlNotation.cs
- SkipStoryboardToFill.cs
- FontDialog.cs
- XmlEncodedRawTextWriter.cs
- ListViewDeleteEventArgs.cs
- GC.cs
- ISCIIEncoding.cs
- CompilerInfo.cs
- HandledMouseEvent.cs
- DispatcherTimer.cs
- CodeGen.cs
- CodeConditionStatement.cs