Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceHostFactory.cs / 1 / 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
- Panel.cs
- TdsParserHelperClasses.cs
- SqlProcedureAttribute.cs
- AjaxFrameworkAssemblyAttribute.cs
- SoapFault.cs
- DataControlFieldTypeEditor.cs
- MenuDesigner.cs
- SecurityElementBase.cs
- DtdParser.cs
- ControlCollection.cs
- SystemResourceKey.cs
- EntityConnection.cs
- BlurBitmapEffect.cs
- ConsumerConnectionPointCollection.cs
- Panel.cs
- AgileSafeNativeMemoryHandle.cs
- WebServicesSection.cs
- EdmEntityTypeAttribute.cs
- TransformProviderWrapper.cs
- SQLInt32.cs
- DynamicQueryableWrapper.cs
- ColorContextHelper.cs
- WsatTransactionHeader.cs
- HandlerBase.cs
- WindowHideOrCloseTracker.cs
- XslCompiledTransform.cs
- PropertyItem.cs
- TreeBuilderBamlTranslator.cs
- SrgsSemanticInterpretationTag.cs
- SchemaInfo.cs
- CellCreator.cs
- StringTraceRecord.cs
- UserControl.cs
- SQLBytes.cs
- SerializationHelper.cs
- DataGridCommandEventArgs.cs
- URLIdentityPermission.cs
- GridEntryCollection.cs
- ApplicationServiceHelper.cs
- XPathDocument.cs
- DataGridTextColumn.cs
- WindowsListViewGroupHelper.cs
- ObjectTypeMapping.cs
- WebPartCancelEventArgs.cs
- SpellerHighlightLayer.cs
- RemoteAsymmetricSignatureFormatter.cs
- RowBinding.cs
- ArgumentOutOfRangeException.cs
- BitmapImage.cs
- InvalidFilterCriteriaException.cs
- ButtonFlatAdapter.cs
- SubMenuStyleCollection.cs
- UIntPtr.cs
- EFDataModelProvider.cs
- SetStoryboardSpeedRatio.cs
- TemplatingOptionsDialog.cs
- SignatureToken.cs
- AssemblyBuilder.cs
- ProfileEventArgs.cs
- HttpHandlerAction.cs
- DrawingContextWalker.cs
- cache.cs
- DbProviderFactories.cs
- ListViewItemSelectionChangedEvent.cs
- TimeSpanParse.cs
- ParserExtension.cs
- MouseGestureValueSerializer.cs
- CurrentChangingEventArgs.cs
- dbenumerator.cs
- ThreadStateException.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- ScriptingRoleServiceSection.cs
- XmlDataDocument.cs
- ObjectCacheHost.cs
- SamlSubject.cs
- Accessible.cs
- PackWebRequestFactory.cs
- CodeDefaultValueExpression.cs
- DataServiceProcessingPipelineEventArgs.cs
- CreateUserErrorEventArgs.cs
- PropVariant.cs
- ResourceManager.cs
- AssemblyName.cs
- BitmapEncoder.cs
- TopClause.cs
- DataStreams.cs
- TraceContext.cs
- DynamicRenderer.cs
- InheritanceRules.cs
- BitmapFrame.cs
- SchemaConstraints.cs
- CodeMemberMethod.cs
- Keywords.cs
- TrackingServices.cs
- TypeViewSchema.cs
- SimpleWorkerRequest.cs
- InheritablePropertyChangeInfo.cs
- OneOfScalarConst.cs
- LoggedException.cs
- WebSysDescriptionAttribute.cs