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
- LaxModeSecurityHeaderElementInferenceEngine.cs
- ScalarType.cs
- SoapHttpTransportImporter.cs
- AlignmentXValidation.cs
- PropertyEmitter.cs
- DataGridViewBand.cs
- DefaultExpressionVisitor.cs
- WpfWebRequestHelper.cs
- RuleRefElement.cs
- SiteMapProvider.cs
- SoapIncludeAttribute.cs
- GAC.cs
- ModuleElement.cs
- SingleConverter.cs
- BindingBase.cs
- RequestNavigateEventArgs.cs
- OrderByLifter.cs
- XmlILAnnotation.cs
- OperationSelectorBehavior.cs
- LinkConverter.cs
- __Filters.cs
- Int64AnimationBase.cs
- ControlBindingsConverter.cs
- WorkflowRuntimeElement.cs
- AuthenticationService.cs
- DownloadProgressEventArgs.cs
- BStrWrapper.cs
- GridViewRowCollection.cs
- UserThread.cs
- PropertyGridEditorPart.cs
- TcpTransportBindingElement.cs
- ListViewPagedDataSource.cs
- TrackingExtract.cs
- AuthenticateEventArgs.cs
- VisualStyleRenderer.cs
- ByteArrayHelperWithString.cs
- SqlWebEventProvider.cs
- DBSchemaRow.cs
- ClrPerspective.cs
- IndicShape.cs
- ExpressionPrinter.cs
- HttpPostProtocolReflector.cs
- Size3D.cs
- XamlClipboardData.cs
- UnauthorizedWebPart.cs
- _SpnDictionary.cs
- EncoderParameter.cs
- BitmapMetadataEnumerator.cs
- TransformConverter.cs
- RealProxy.cs
- NodeInfo.cs
- SchemaAttDef.cs
- TextServicesProperty.cs
- RequestTimeoutManager.cs
- NativeMethods.cs
- DoubleUtil.cs
- DataGridViewCellConverter.cs
- ReferentialConstraint.cs
- glyphs.cs
- Paragraph.cs
- InstancePersistence.cs
- CodeNamespaceImportCollection.cs
- StatusBarPanelClickEvent.cs
- DictationGrammar.cs
- ToolStripDropDownClosingEventArgs.cs
- PenThread.cs
- documentsequencetextview.cs
- HelpProvider.cs
- UpDownEvent.cs
- CornerRadius.cs
- DesignerForm.cs
- HttpChannelHelpers.cs
- OverrideMode.cs
- Crc32.cs
- RegularExpressionValidator.cs
- BindingExpressionBase.cs
- RequestCacheManager.cs
- RequestCacheManager.cs
- StopRoutingHandler.cs
- InstanceData.cs
- Nodes.cs
- DataObjectAttribute.cs
- Transform3DGroup.cs
- ParameterBuilder.cs
- DllNotFoundException.cs
- DesignerEventService.cs
- DataObjectFieldAttribute.cs
- CharAnimationUsingKeyFrames.cs
- Fault.cs
- RichTextBoxDesigner.cs
- Decoder.cs
- CodeConditionStatement.cs
- RowUpdatingEventArgs.cs
- PreProcessInputEventArgs.cs
- Menu.cs
- LocalServiceSecuritySettingsElement.cs
- StringFormat.cs
- QilXmlReader.cs
- DataServiceRequest.cs
- TypeNameConverter.cs