Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / Script / Services / RestClientProxyHandler.cs / 2 / RestClientProxyHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Script.Services { internal class RestClientProxyHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { if (context == null) { throw new ArgumentNullException("context"); } string clientProxyString = WebServiceClientProxyGenerator.GetClientProxyScript(context); if (clientProxyString != null) { context.Response.ContentType = "application/x-javascript"; context.Response.Write(clientProxyString); } } public bool IsReusable { get { return false; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecurityException.cs
- BamlTreeNode.cs
- IsolatedStorageException.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- DetailsViewUpdateEventArgs.cs
- XamlRtfConverter.cs
- LessThan.cs
- BitmapFrameEncode.cs
- DataServiceQuery.cs
- TagPrefixInfo.cs
- DocumentCollection.cs
- DateTimeOffsetStorage.cs
- XmlAttributes.cs
- PolicyManager.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- VerticalAlignConverter.cs
- ExtendedProperty.cs
- SerializationObjectManager.cs
- UrlMapping.cs
- ResourceDescriptionAttribute.cs
- DataObjectSettingDataEventArgs.cs
- CodeSubDirectory.cs
- WebPartActionVerb.cs
- DictionaryBase.cs
- NameSpaceEvent.cs
- Triplet.cs
- ObjectDataSourceDisposingEventArgs.cs
- Tuple.cs
- HtmlInputCheckBox.cs
- FlowDocumentView.cs
- EntityTypeEmitter.cs
- Brush.cs
- TrustLevelCollection.cs
- HwndTarget.cs
- DnsElement.cs
- ExtractedStateEntry.cs
- Deserializer.cs
- ExpressionList.cs
- SelectionChangedEventArgs.cs
- PatternMatcher.cs
- PropertyMap.cs
- _ConnectOverlappedAsyncResult.cs
- ServicePointManagerElement.cs
- ContentDesigner.cs
- CultureInfoConverter.cs
- HtmlHead.cs
- NeutralResourcesLanguageAttribute.cs
- DbParameterCollectionHelper.cs
- ObjectNotFoundException.cs
- AdPostCacheSubstitution.cs
- MDIClient.cs
- ConnectionInterfaceCollection.cs
- NullRuntimeConfig.cs
- UriScheme.cs
- XmlSchemaAny.cs
- HttpValueCollection.cs
- ResourcesGenerator.cs
- DeflateStreamAsyncResult.cs
- TransformerInfo.cs
- MessageDesigner.cs
- CacheRequest.cs
- DuplicateWaitObjectException.cs
- ToolStripItemImageRenderEventArgs.cs
- DesignerProperties.cs
- SoapEnumAttribute.cs
- ToolbarAUtomationPeer.cs
- DictionarySectionHandler.cs
- RectangleHotSpot.cs
- TextRangeEditTables.cs
- NotifyParentPropertyAttribute.cs
- HttpPostedFileWrapper.cs
- Authorization.cs
- peersecurityelement.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- InputBinder.cs
- HttpContextWrapper.cs
- RecognizedWordUnit.cs
- ColumnCollection.cs
- XmlSchemaType.cs
- EFAssociationProvider.cs
- AttributeProviderAttribute.cs
- ApplicationGesture.cs
- TypeReference.cs
- RowUpdatedEventArgs.cs
- MissingMethodException.cs
- SqlNodeTypeOperators.cs
- ListBoxAutomationPeer.cs
- RegionInfo.cs
- ProfileManager.cs
- TabControlAutomationPeer.cs
- baseshape.cs
- DiscoveryMessageSequenceGenerator.cs
- Clipboard.cs
- EntityType.cs
- SubpageParaClient.cs
- WebPartCancelEventArgs.cs
- CompareInfo.cs
- SpellerHighlightLayer.cs
- XPathNodeIterator.cs
- WebServiceResponseDesigner.cs