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
- SpellerError.cs
- RemotingConfigParser.cs
- DEREncoding.cs
- SQLInt32Storage.cs
- ClientFormsIdentity.cs
- DesignerSerializerAttribute.cs
- UnauthorizedWebPart.cs
- LoadWorkflowCommand.cs
- tibetanshape.cs
- XmlQueryType.cs
- DataSourceCache.cs
- SmtpSection.cs
- XmlSchemaGroupRef.cs
- NavigateEvent.cs
- SystemUdpStatistics.cs
- TreeNodeStyleCollection.cs
- WebPartZone.cs
- UIElementCollection.cs
- DbConnectionClosed.cs
- EDesignUtil.cs
- DtdParser.cs
- SafeLibraryHandle.cs
- TreeNodeConverter.cs
- handlecollector.cs
- SchemaTableColumn.cs
- FixedDocumentSequencePaginator.cs
- SystemUdpStatistics.cs
- AsymmetricSecurityProtocolFactory.cs
- StateFinalizationDesigner.cs
- ModelPropertyCollectionImpl.cs
- ConfigXmlText.cs
- TextServicesDisplayAttribute.cs
- GeneratedView.cs
- ReverseQueryOperator.cs
- LoginDesigner.cs
- GraphicsState.cs
- RadioButtonPopupAdapter.cs
- LoginUtil.cs
- BindingCollection.cs
- TreeViewItemAutomationPeer.cs
- XmlCodeExporter.cs
- DataBoundLiteralControl.cs
- HostVisual.cs
- AppDomainFactory.cs
- ItemCheckEvent.cs
- ListControlDesigner.cs
- TrackBarRenderer.cs
- CodeMemberProperty.cs
- DeclarationUpdate.cs
- ArrayMergeHelper.cs
- RepeatInfo.cs
- DmlSqlGenerator.cs
- CodeActivityMetadata.cs
- MtomMessageEncoder.cs
- WsatExtendedInformation.cs
- InternalsVisibleToAttribute.cs
- webproxy.cs
- ToolStripGripRenderEventArgs.cs
- JsonFormatWriterGenerator.cs
- GenericXmlSecurityToken.cs
- ScrollData.cs
- XmlSchemaInferenceException.cs
- CodePageUtils.cs
- ResourceIDHelper.cs
- Win32KeyboardDevice.cs
- IpcClientManager.cs
- DBDataPermissionAttribute.cs
- QuestionEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- TimelineClockCollection.cs
- WindowsFormsSynchronizationContext.cs
- SamlAuthorityBinding.cs
- NativeMethods.cs
- InternalBufferManager.cs
- EntityEntry.cs
- MimePart.cs
- SystemTcpConnection.cs
- ProtocolsConfiguration.cs
- ParallelDesigner.cs
- Crypto.cs
- RuntimeHandles.cs
- SiteMapPath.cs
- MultilineStringConverter.cs
- RoleGroupCollectionEditor.cs
- StorageConditionPropertyMapping.cs
- DataKey.cs
- CharAnimationBase.cs
- FormsAuthentication.cs
- Utility.cs
- AnnotationAuthorChangedEventArgs.cs
- PropertyGridView.cs
- FileUtil.cs
- Label.cs
- ContextDataSourceView.cs
- URLIdentityPermission.cs
- filewebresponse.cs
- DBPropSet.cs
- HtmlEncodedRawTextWriter.cs
- StringBuilder.cs
- BitmapEffectDrawingContextState.cs