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
- SqlConnectionPoolGroupProviderInfo.cs
- LightweightCodeGenerator.cs
- DefaultBindingPropertyAttribute.cs
- entityreference_tresulttype.cs
- InheritanceContextChangedEventManager.cs
- TransactionScope.cs
- FormViewUpdateEventArgs.cs
- PageBorderless.cs
- XmlArrayItemAttributes.cs
- XmlILCommand.cs
- HScrollProperties.cs
- SupportsEventValidationAttribute.cs
- EmptyImpersonationContext.cs
- SafeRightsManagementQueryHandle.cs
- OracleString.cs
- ReadOnlyTernaryTree.cs
- UnitControl.cs
- _ListenerRequestStream.cs
- ChangeDirector.cs
- ActivityScheduledRecord.cs
- CharacterBuffer.cs
- TableRowCollection.cs
- JavaScriptString.cs
- DrawingVisualDrawingContext.cs
- WebProxyScriptElement.cs
- SqlMethodTransformer.cs
- PolicyManager.cs
- AutomationElement.cs
- DescendentsWalker.cs
- CharacterHit.cs
- ToolStripProgressBar.cs
- BitmapEffectGroup.cs
- InternalConfigEventArgs.cs
- BindingExpressionBase.cs
- Collection.cs
- CorrelationKey.cs
- CodeTypeReferenceExpression.cs
- RegexCompilationInfo.cs
- XMLSyntaxException.cs
- Semaphore.cs
- SocketPermission.cs
- WorkBatch.cs
- HttpChannelHelper.cs
- CellTreeNode.cs
- BitStack.cs
- SafePointer.cs
- ValidationEventArgs.cs
- SurrogateSelector.cs
- VerticalAlignConverter.cs
- SourceCollection.cs
- HttpPostLocalhostServerProtocol.cs
- RangeValidator.cs
- CubicEase.cs
- EntityClientCacheEntry.cs
- SystemFonts.cs
- DetailsViewRowCollection.cs
- CalendarAutomationPeer.cs
- NotifyIcon.cs
- ScrollChangedEventArgs.cs
- ItemType.cs
- SharedDp.cs
- Verify.cs
- DataGridViewRowCollection.cs
- coordinatorfactory.cs
- ResXBuildProvider.cs
- RegexStringValidator.cs
- DbUpdateCommandTree.cs
- GC.cs
- EditorZoneBase.cs
- PersonalizationState.cs
- Processor.cs
- GroupItem.cs
- _HelperAsyncResults.cs
- EditorPartChrome.cs
- Helper.cs
- COAUTHIDENTITY.cs
- UInt64Converter.cs
- RuleSet.cs
- AttachmentService.cs
- OleDbDataReader.cs
- XmlDocumentSerializer.cs
- WebPageTraceListener.cs
- ReflectionUtil.cs
- SqlTransaction.cs
- ContextMenuStripGroupCollection.cs
- MdiWindowListStrip.cs
- UserNamePasswordValidator.cs
- HotCommands.cs
- AsymmetricKeyExchangeFormatter.cs
- MdiWindowListItemConverter.cs
- XPathExpr.cs
- HttpProcessUtility.cs
- TextTreeExtractElementUndoUnit.cs
- ConfigurationValue.cs
- FrameworkRichTextComposition.cs
- EmptyEnumerator.cs
- HyperLinkField.cs
- X509Certificate2.cs
- PerfCounters.cs
- CannotUnloadAppDomainException.cs