Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Script / Services / RestClientProxyHandler.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GatewayDefinition.cs
- Int64Animation.cs
- SchemaMerger.cs
- AssemblyBuilder.cs
- BuildResult.cs
- recordstatefactory.cs
- TextContainerChangedEventArgs.cs
- SHA512CryptoServiceProvider.cs
- RectangleConverter.cs
- NamespaceExpr.cs
- WsdlExporter.cs
- ObjectFullSpanRewriter.cs
- AsymmetricSignatureFormatter.cs
- Directory.cs
- RegexWorker.cs
- BypassElement.cs
- DelayedRegex.cs
- TextureBrush.cs
- ExplicitDiscriminatorMap.cs
- AsymmetricAlgorithm.cs
- PropertyItem.cs
- AndCondition.cs
- ListViewCancelEventArgs.cs
- RegexCompilationInfo.cs
- ComponentDispatcherThread.cs
- NoPersistHandle.cs
- Point4DValueSerializer.cs
- AlphabetConverter.cs
- NetTcpBindingElement.cs
- TypeUtil.cs
- CreateUserWizardDesigner.cs
- AdornerDecorator.cs
- DoWorkEventArgs.cs
- WeakReferenceKey.cs
- XmlEnumAttribute.cs
- DesignerOptionService.cs
- ProgressBar.cs
- HostVisual.cs
- SetStateDesigner.cs
- KnownIds.cs
- FeatureManager.cs
- MexTcpBindingElement.cs
- SemanticTag.cs
- ChtmlTextBoxAdapter.cs
- FileSystemInfo.cs
- ProtocolsSection.cs
- MethodBody.cs
- TextChange.cs
- CommandLibraryHelper.cs
- Label.cs
- ExpressionBuilder.cs
- ProviderMetadataCachedInformation.cs
- RunInstallerAttribute.cs
- AuthenticateEventArgs.cs
- LinqDataSourceSelectEventArgs.cs
- ScriptManager.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- util.cs
- RbTree.cs
- StylusButtonEventArgs.cs
- XPathNavigator.cs
- SystemGatewayIPAddressInformation.cs
- Hex.cs
- ApplicationServiceManager.cs
- WindowsComboBox.cs
- ISFTagAndGuidCache.cs
- ModuleElement.cs
- TableLayoutPanelResizeGlyph.cs
- SqlDependencyUtils.cs
- ErrorEventArgs.cs
- DragStartedEventArgs.cs
- RestHandler.cs
- TypefaceMap.cs
- QilTypeChecker.cs
- PeerReferralPolicy.cs
- ResizingMessageFilter.cs
- DynamicValueConverter.cs
- BitmapFrame.cs
- TypeBrowser.xaml.cs
- ToolStripPanelSelectionGlyph.cs
- HttpProfileGroupBase.cs
- BindValidator.cs
- InvalidDataException.cs
- IIS7UserPrincipal.cs
- DesignTimeParseData.cs
- DayRenderEvent.cs
- ImageIndexConverter.cs
- DynamicRouteExpression.cs
- WebPartCatalogCloseVerb.cs
- CookieParameter.cs
- Component.cs
- WebPartZone.cs
- SignedXmlDebugLog.cs
- SqlHelper.cs
- TypeInitializationException.cs
- ServicePoint.cs
- DbProviderFactoriesConfigurationHandler.cs
- NumberFormatter.cs
- BufferModesCollection.cs
- SqlXml.cs