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
- CompiledAction.cs
- TimerEventSubscriptionCollection.cs
- SettingsPropertyIsReadOnlyException.cs
- HtmlEncodedRawTextWriter.cs
- SelectionItemPattern.cs
- DataGridViewComboBoxCell.cs
- ConnectionPointGlyph.cs
- ClipboardData.cs
- DataTemplate.cs
- DataSet.cs
- TextChange.cs
- IdleTimeoutMonitor.cs
- CharacterBuffer.cs
- CorrelationTokenInvalidatedHandler.cs
- GeneralTransform3D.cs
- JpegBitmapEncoder.cs
- ConfigurationValidatorAttribute.cs
- DependentTransaction.cs
- SqlReorderer.cs
- XmlAttributes.cs
- Point3DAnimationUsingKeyFrames.cs
- ItemCheckedEvent.cs
- ConfigErrorGlyph.cs
- X509ClientCertificateAuthentication.cs
- AdapterUtil.cs
- QuinticEase.cs
- StorageComplexPropertyMapping.cs
- FakeModelPropertyImpl.cs
- FrameworkElementFactoryMarkupObject.cs
- SymbolPair.cs
- PeerNearMe.cs
- GraphicsPath.cs
- BamlLocalizabilityResolver.cs
- Symbol.cs
- SafeUserTokenHandle.cs
- _HeaderInfo.cs
- CallbackTimeoutsBehavior.cs
- UnconditionalPolicy.cs
- PointValueSerializer.cs
- StorageFunctionMapping.cs
- ParseElement.cs
- ListViewCancelEventArgs.cs
- AudioDeviceOut.cs
- DataTemplateSelector.cs
- DragStartedEventArgs.cs
- EffectiveValueEntry.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- VariableAction.cs
- WmlPanelAdapter.cs
- SimpleBitVector32.cs
- MenuCommand.cs
- BigInt.cs
- Source.cs
- VirtualPathProvider.cs
- EntityConnection.cs
- ForwardPositionQuery.cs
- AuthorizationContext.cs
- FieldNameLookup.cs
- HybridObjectCache.cs
- __Filters.cs
- DispatcherOperation.cs
- BamlMapTable.cs
- Classification.cs
- Matrix3D.cs
- AllMembershipCondition.cs
- SHA384.cs
- GridViewColumnHeader.cs
- storagemappingitemcollection.viewdictionary.cs
- Nodes.cs
- FtpCachePolicyElement.cs
- SqlNodeAnnotations.cs
- HelpKeywordAttribute.cs
- KeySplineConverter.cs
- XmlDictionaryWriter.cs
- XmlSchemaSimpleTypeRestriction.cs
- ChannelParameterCollection.cs
- VisualStates.cs
- OutputCacheSettingsSection.cs
- ProviderConnectionPointCollection.cs
- Array.cs
- InvokeSchedule.cs
- Scene3D.cs
- messageonlyhwndwrapper.cs
- smtppermission.cs
- MsmqSecureHashAlgorithm.cs
- DataGridRow.cs
- ListMarkerSourceInfo.cs
- SafeArrayRankMismatchException.cs
- Vector.cs
- Visual.cs
- WebRequestModuleElement.cs
- ElementNotAvailableException.cs
- SQLBinary.cs
- ChtmlTextWriter.cs
- ShaderEffect.cs
- AsyncContentLoadedEventArgs.cs
- Vector3DCollectionConverter.cs
- WebSysDescriptionAttribute.cs
- ListViewGroupItemCollection.cs
- ProviderConnectionPointCollection.cs