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
- ListManagerBindingsCollection.cs
- TextBoxBase.cs
- FontSizeConverter.cs
- DoubleAnimation.cs
- Trace.cs
- BaseDataList.cs
- DbUpdateCommandTree.cs
- WebSysDescriptionAttribute.cs
- AutomationPropertyInfo.cs
- ShellProvider.cs
- RootBrowserWindowAutomationPeer.cs
- RuleProcessor.cs
- AspNetHostingPermission.cs
- ArgumentException.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- EventLogInternal.cs
- SqlDataSourceConfigureFilterForm.cs
- BaseTreeIterator.cs
- XmlLanguage.cs
- NewArrayExpression.cs
- ContextQuery.cs
- Accessible.cs
- HttpRequest.cs
- BufferedGraphicsManager.cs
- WebPartAuthorizationEventArgs.cs
- TiffBitmapEncoder.cs
- SafeThemeHandle.cs
- Operand.cs
- NodeLabelEditEvent.cs
- SqlException.cs
- Frame.cs
- SimpleRecyclingCache.cs
- XmlAnyElementAttributes.cs
- BamlBinaryReader.cs
- CacheOutputQuery.cs
- WpfPayload.cs
- CachedFontFamily.cs
- ToolStripContentPanelDesigner.cs
- XmlSchemaSimpleContentRestriction.cs
- SqlCommandAsyncResult.cs
- CheckableControlBaseAdapter.cs
- TextServicesCompartmentEventSink.cs
- VisualStyleElement.cs
- AQNBuilder.cs
- SafeLocalMemHandle.cs
- HtmlTable.cs
- WebPartHelpVerb.cs
- MSAANativeProvider.cs
- _LoggingObject.cs
- XmlNotation.cs
- DecimalStorage.cs
- DataTransferEventArgs.cs
- listitem.cs
- Html32TextWriter.cs
- SmtpNegotiateAuthenticationModule.cs
- x509utils.cs
- XmlAnyAttributeAttribute.cs
- XmlNotation.cs
- ExternalException.cs
- CalendarAutoFormatDialog.cs
- X509SecurityToken.cs
- AssertSection.cs
- ExternalCalls.cs
- MediaCommands.cs
- StrongNameMembershipCondition.cs
- StdRegProviderWrapper.cs
- StreamProxy.cs
- ModelPerspective.cs
- DataGridRowEventArgs.cs
- NestedContainer.cs
- TypefaceCollection.cs
- PagerSettings.cs
- ConstraintConverter.cs
- ExtenderControl.cs
- DataTableTypeConverter.cs
- LoopExpression.cs
- DataRelationCollection.cs
- ColorMap.cs
- WebPartTransformerCollection.cs
- HttpWebRequestElement.cs
- SqlClientMetaDataCollectionNames.cs
- BaseTransportHeaders.cs
- PropertyGrid.cs
- ChtmlMobileTextWriter.cs
- XmlSchemaIdentityConstraint.cs
- RemotingConfiguration.cs
- EntityCommandDefinition.cs
- Assembly.cs
- LicenseProviderAttribute.cs
- ObjectDataSourceSelectingEventArgs.cs
- TypeReference.cs
- RepeatButton.cs
- UserPreferenceChangedEventArgs.cs
- _Win32.cs
- ProcessHostFactoryHelper.cs
- BooleanAnimationUsingKeyFrames.cs
- RecognizerInfo.cs
- CellQuery.cs
- TokenBasedSetEnumerator.cs
- IndependentlyAnimatedPropertyMetadata.cs