Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- FeedUtils.cs
- PointHitTestParameters.cs
- _ChunkParse.cs
- HandlerBase.cs
- ReliableSessionElement.cs
- DataServiceQuery.cs
- XmlSchemaAnnotated.cs
- xsdvalidator.cs
- XmlWrappingReader.cs
- AsyncResult.cs
- elementinformation.cs
- BufferedGraphicsContext.cs
- XmlDocumentType.cs
- ValidationError.cs
- DependencyPropertyValueSerializer.cs
- ParameterElementCollection.cs
- SchemaLookupTable.cs
- MimeMapping.cs
- Context.cs
- ExpressionBinding.cs
- TdsParserStateObject.cs
- HtmlInputFile.cs
- SqlStream.cs
- AutoGeneratedField.cs
- PathFigureCollection.cs
- HttpModulesSection.cs
- JulianCalendar.cs
- DeploymentExceptionMapper.cs
- XPathNodePointer.cs
- Rights.cs
- OneOfScalarConst.cs
- AsymmetricSignatureFormatter.cs
- StyleBamlRecordReader.cs
- EndGetFileNameFromUserRequest.cs
- Brush.cs
- ToolStripDropDownMenu.cs
- InvalidWMPVersionException.cs
- ReachDocumentReferenceSerializerAsync.cs
- ArgumentException.cs
- XmlRawWriterWrapper.cs
- __Filters.cs
- DrawingContextWalker.cs
- SafeLocalMemHandle.cs
- LongTypeConverter.cs
- IODescriptionAttribute.cs
- XmlQualifiedName.cs
- TypeUnloadedException.cs
- SafeTimerHandle.cs
- AsyncCodeActivityContext.cs
- GroupedContextMenuStrip.cs
- UrlPath.cs
- RichTextBox.cs
- Command.cs
- ArglessEventHandlerProxy.cs
- PipelineModuleStepContainer.cs
- ElementsClipboardData.cs
- GorillaCodec.cs
- shaperfactoryquerycachekey.cs
- UrlMappingCollection.cs
- And.cs
- DataSourceXmlClassAttribute.cs
- ScriptingJsonSerializationSection.cs
- MsmqIntegrationBindingCollectionElement.cs
- TextBox.cs
- WebConvert.cs
- FramingChannels.cs
- EventBuilder.cs
- ImageList.cs
- WhereQueryOperator.cs
- LingerOption.cs
- ExtendedProperty.cs
- Binding.cs
- CapabilitiesSection.cs
- DrawListViewColumnHeaderEventArgs.cs
- DrawItemEvent.cs
- MD5HashHelper.cs
- EntitySet.cs
- CodeExpressionStatement.cs
- CalendarSelectionChangedEventArgs.cs
- BitmapPalette.cs
- MultitargetingHelpers.cs
- WmlPanelAdapter.cs
- DependencyObjectPropertyDescriptor.cs
- MailBnfHelper.cs
- HtmlButton.cs
- Random.cs
- ArrayList.cs
- MemberHolder.cs
- Number.cs
- ADMembershipProvider.cs
- AttributeQuery.cs
- SoapWriter.cs
- TextBoxLine.cs
- Point3DConverter.cs
- ScriptIgnoreAttribute.cs
- NameValueConfigurationElement.cs
- LongTypeConverter.cs
- NumericUpDown.cs
- QuestionEventArgs.cs
- ProtectedProviderSettings.cs