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
- RecognitionResult.cs
- MemberHolder.cs
- SafeNativeMethods.cs
- TaiwanCalendar.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ItemContainerPattern.cs
- VirtualPathUtility.cs
- CategoryNameCollection.cs
- XmlTextReaderImplHelpers.cs
- ServiceOperationParameter.cs
- Html32TextWriter.cs
- OutputScopeManager.cs
- SessionStateContainer.cs
- QueryOutputWriter.cs
- DockProviderWrapper.cs
- WorkItem.cs
- DeleteStoreRequest.cs
- SafeLibraryHandle.cs
- OAVariantLib.cs
- _LoggingObject.cs
- StaticContext.cs
- SimpleMailWebEventProvider.cs
- QueryProcessor.cs
- QilFunction.cs
- SafeCancelMibChangeNotify.cs
- XmlSchemaElement.cs
- Solver.cs
- ButtonFlatAdapter.cs
- CollectionsUtil.cs
- AnimatedTypeHelpers.cs
- _ContextAwareResult.cs
- HelpEvent.cs
- ScriptComponentDescriptor.cs
- listitem.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- OrderByQueryOptionExpression.cs
- ElementsClipboardData.cs
- InvokeProviderWrapper.cs
- TextParentUndoUnit.cs
- GenericAuthenticationEventArgs.cs
- Label.cs
- ConsumerConnectionPointCollection.cs
- AsymmetricAlgorithm.cs
- WebPartCloseVerb.cs
- NamespaceCollection.cs
- HtmlWindowCollection.cs
- TreeBuilder.cs
- RtfToXamlLexer.cs
- NamedPipeProcessProtocolHandler.cs
- HttpFileCollection.cs
- FixedSOMPage.cs
- EvidenceTypeDescriptor.cs
- ContentPosition.cs
- InOutArgumentConverter.cs
- DataObjectAttribute.cs
- SpellerInterop.cs
- ManagedFilter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- LinqDataSourceUpdateEventArgs.cs
- PropertyGeneratedEventArgs.cs
- HttpWebRequestElement.cs
- DbgUtil.cs
- PolyBezierSegment.cs
- DataMemberListEditor.cs
- XmlSchemaType.cs
- NumericUpDownAcceleration.cs
- GlyphRun.cs
- Attributes.cs
- FontFaceLayoutInfo.cs
- SocketException.cs
- EventKeyword.cs
- CommonDialog.cs
- CollectionTypeElement.cs
- FilterQueryOptionExpression.cs
- Column.cs
- WebPartDeleteVerb.cs
- MemoryRecordBuffer.cs
- CodeBlockBuilder.cs
- CryptoApi.cs
- ScriptingRoleServiceSection.cs
- Point3DCollection.cs
- AnnotationMap.cs
- ColumnResizeAdorner.cs
- GeometryDrawing.cs
- ClientType.cs
- WorkflowView.cs
- _AutoWebProxyScriptEngine.cs
- _BaseOverlappedAsyncResult.cs
- XmlProcessingInstruction.cs
- ComponentChangedEvent.cs
- ManagedFilter.cs
- SurrogateSelector.cs
- StoragePropertyMapping.cs
- SelectionItemProviderWrapper.cs
- VerificationAttribute.cs
- PageParser.cs
- Size.cs
- DesignerActionListCollection.cs
- RawKeyboardInputReport.cs
- VisualStateManager.cs