Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- WorkflowMarkupSerializer.cs
- OleDbTransaction.cs
- HttpGetServerProtocol.cs
- EntityTypeBase.cs
- AssemblyResourceLoader.cs
- OracleLob.cs
- ModelChangedEventArgsImpl.cs
- OdbcErrorCollection.cs
- SafeBitVector32.cs
- ContentDisposition.cs
- ExtensionQuery.cs
- ProfilePropertySettings.cs
- ListChunk.cs
- EntityTypeEmitter.cs
- ProcessHostMapPath.cs
- ReadOnlyHierarchicalDataSource.cs
- Utils.cs
- TypeNameConverter.cs
- TextBoxAutomationPeer.cs
- webproxy.cs
- MessageDecoder.cs
- InstanceDescriptor.cs
- ClientSettingsSection.cs
- CalloutQueueItem.cs
- QuadraticBezierSegment.cs
- ActivityStatusChangeEventArgs.cs
- RightsManagementEncryptionTransform.cs
- SimpleLine.cs
- PeerIPHelper.cs
- ValidationErrorCollection.cs
- UnsafeNativeMethods.cs
- SizeKeyFrameCollection.cs
- ThaiBuddhistCalendar.cs
- ImplicitInputBrush.cs
- FixUpCollection.cs
- DragEventArgs.cs
- RelationshipManager.cs
- StylusEventArgs.cs
- UInt32.cs
- ClientTargetCollection.cs
- WebPartTransformer.cs
- SectionInformation.cs
- TreeWalkHelper.cs
- WebServiceData.cs
- SemanticTag.cs
- ComplusTypeValidator.cs
- NaturalLanguageHyphenator.cs
- RoleService.cs
- EntityDataSourceMemberPath.cs
- ViewCellRelation.cs
- StackSpiller.Generated.cs
- StreamInfo.cs
- DictionaryManager.cs
- ConstructorBuilder.cs
- EntityTypeEmitter.cs
- XmlSignatureProperties.cs
- TypeUtil.cs
- DateTimeHelper.cs
- RelatedPropertyManager.cs
- ExpressionWriter.cs
- SoapElementAttribute.cs
- XmlMembersMapping.cs
- SerializationInfo.cs
- TrustManagerPromptUI.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MetadataUtil.cs
- WorkflowOperationContext.cs
- XmlSchemaCollection.cs
- SpinLock.cs
- WebSysDefaultValueAttribute.cs
- UserControlParser.cs
- HtmlTextBoxAdapter.cs
- TextBoxLine.cs
- Error.cs
- InputMethodStateChangeEventArgs.cs
- Base64Decoder.cs
- shaperfactoryquerycacheentry.cs
- ExpressionsCollectionConverter.cs
- Binding.cs
- ExpressionCopier.cs
- XmlSchemaGroup.cs
- SamlAudienceRestrictionCondition.cs
- PropertyTab.cs
- ProcessHostConfigUtils.cs
- SamlNameIdentifierClaimResource.cs
- RootBrowserWindowAutomationPeer.cs
- Compilation.cs
- ReaderWriterLock.cs
- TraceSection.cs
- WriteableBitmap.cs
- DockPattern.cs
- DbTransaction.cs
- XmlnsDictionary.cs
- SrgsDocumentParser.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- CellLabel.cs
- ListBoxItemWrapperAutomationPeer.cs
- DefaultValidator.cs
- PerspectiveCamera.cs
- IMembershipProvider.cs