Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BooleanKeyFrameCollection.cs
- UrlMappingCollection.cs
- IndependentAnimationStorage.cs
- EmbeddedMailObject.cs
- BitSet.cs
- SqlStatistics.cs
- SafeNativeMethods.cs
- LocalFileSettingsProvider.cs
- XmlTextReaderImpl.cs
- CompositionTarget.cs
- TextTabProperties.cs
- ChildTable.cs
- FixedTextView.cs
- Activator.cs
- HttpContext.cs
- ResourceManagerWrapper.cs
- CodeGotoStatement.cs
- DebuggerAttributes.cs
- ObjectDataProvider.cs
- TextUtf8RawTextWriter.cs
- CodeMethodInvokeExpression.cs
- SeverityFilter.cs
- DateTimeFormatInfoScanner.cs
- Panel.cs
- MetadataProperty.cs
- EmptyQuery.cs
- EventRecordWrittenEventArgs.cs
- smtpconnection.cs
- XmlCharCheckingReader.cs
- FormViewDeletedEventArgs.cs
- ReferencedType.cs
- ToggleProviderWrapper.cs
- UpdatePanel.cs
- UIElementParagraph.cs
- EventToken.cs
- NegotiationTokenProvider.cs
- CheckBoxList.cs
- SymLanguageVendor.cs
- Component.cs
- GuidelineSet.cs
- processwaithandle.cs
- StandardCommandToolStripMenuItem.cs
- WebPartConnectionsCancelEventArgs.cs
- XmlDataProvider.cs
- ProcessDesigner.cs
- QilNode.cs
- FlowSwitchDesigner.xaml.cs
- BuildProvider.cs
- LogExtent.cs
- userdatakeys.cs
- HttpWriter.cs
- CorrelationManager.cs
- DataTrigger.cs
- DbParameterHelper.cs
- SaveFileDialog.cs
- FormatSettings.cs
- TypeBuilder.cs
- ApplicationInterop.cs
- VirtualDirectoryMapping.cs
- _SpnDictionary.cs
- HttpApplicationStateWrapper.cs
- Selector.cs
- XmlSchemaChoice.cs
- CompilationLock.cs
- DataRecord.cs
- NavigationCommands.cs
- EncryptedReference.cs
- validation.cs
- BitmapEffectRenderDataResource.cs
- DetailsViewCommandEventArgs.cs
- InputBinding.cs
- _LocalDataStore.cs
- PreservationFileReader.cs
- DataTable.cs
- CodeDirectoryCompiler.cs
- XmlConvert.cs
- PathParser.cs
- TransportChannelFactory.cs
- FontFamily.cs
- FormsAuthenticationUserCollection.cs
- ApplicationContext.cs
- MessageQueueInstaller.cs
- SinglePageViewer.cs
- DataRelationCollection.cs
- ObjectDataSourceStatusEventArgs.cs
- XmlSchemaExporter.cs
- HtmlInputReset.cs
- TreeView.cs
- EntityModelBuildProvider.cs
- MouseGestureValueSerializer.cs
- DbConnectionPoolGroupProviderInfo.cs
- IProvider.cs
- UtilityExtension.cs
- FormParameter.cs
- SQLGuidStorage.cs
- DataBoundControlAdapter.cs
- QilInvokeEarlyBound.cs
- DrawingDrawingContext.cs
- ExpandedWrapper.cs
- NativeWindow.cs