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
- OdbcParameter.cs
- StylusShape.cs
- ToolStripArrowRenderEventArgs.cs
- PropertyPathWorker.cs
- StringFreezingAttribute.cs
- CommandBindingCollection.cs
- OverrideMode.cs
- Command.cs
- SAPICategories.cs
- DefaultObjectMappingItemCollection.cs
- TextServicesLoader.cs
- DirectionalLight.cs
- DomNameTable.cs
- DataGridViewRowPrePaintEventArgs.cs
- ISAPIApplicationHost.cs
- OptimizedTemplateContent.cs
- CounterSampleCalculator.cs
- Funcletizer.cs
- QilChoice.cs
- SessionStateModule.cs
- ContentWrapperAttribute.cs
- FullTrustAssembly.cs
- CommandHelpers.cs
- UrlMappingCollection.cs
- DirectoryInfo.cs
- HandledMouseEvent.cs
- XmlSchemaDatatype.cs
- PaginationProgressEventArgs.cs
- ConnectionStringsSection.cs
- ChtmlImageAdapter.cs
- EastAsianLunisolarCalendar.cs
- FaultContext.cs
- _NetRes.cs
- CheckBoxPopupAdapter.cs
- AffineTransform3D.cs
- ExtensionFile.cs
- WithStatement.cs
- BitArray.cs
- DataSourceConverter.cs
- DataGridCellsPresenter.cs
- MappingException.cs
- LiteralTextParser.cs
- CssClassPropertyAttribute.cs
- DetailsViewUpdatedEventArgs.cs
- XmlSchemaGroupRef.cs
- EventMappingSettings.cs
- SecurityDocument.cs
- HttpHeaderCollection.cs
- CodeAttributeDeclarationCollection.cs
- ConfigurationManagerHelper.cs
- Sql8ConformanceChecker.cs
- DataColumnCollection.cs
- MergeFilterQuery.cs
- SelectionRange.cs
- CompilationAssemblyInstallComponent.cs
- Assembly.cs
- HtmlControl.cs
- ReferencedType.cs
- IpcChannelHelper.cs
- LinkConverter.cs
- DictionaryEditChange.cs
- CodeDomDesignerLoader.cs
- UpdateExpressionVisitor.cs
- DeclarativeCatalogPart.cs
- ImageAnimator.cs
- Positioning.cs
- InvalidCastException.cs
- ScrollPattern.cs
- ApplicationSecurityInfo.cs
- MDIControlStrip.cs
- ScrollEventArgs.cs
- IPipelineRuntime.cs
- WsatAdminException.cs
- SessionEndingEventArgs.cs
- HttpException.cs
- CacheMode.cs
- ThicknessAnimationBase.cs
- BitmapImage.cs
- ConfigXmlCDataSection.cs
- ScriptBehaviorDescriptor.cs
- NewArray.cs
- QilTargetType.cs
- PrinterResolution.cs
- CustomErrorCollection.cs
- TokenFactoryCredential.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ValidationHelpers.cs
- SharedPerformanceCounter.cs
- StreamReader.cs
- OutputWindow.cs
- QueryMatcher.cs
- VScrollBar.cs
- SchemaCollectionPreprocessor.cs
- ADMembershipUser.cs
- MdiWindowListStrip.cs
- LexicalChunk.cs
- TemplateBindingExtension.cs
- ElementMarkupObject.cs
- SudsParser.cs
- WindowsEditBoxRange.cs