Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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. // //----------------------------------------------------------------------------- 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
- CacheChildrenQuery.cs
- PageSettings.cs
- ValidatingReaderNodeData.cs
- WebPartTracker.cs
- ByteKeyFrameCollection.cs
- XmlJsonWriter.cs
- NonNullItemCollection.cs
- DefaultAsyncDataDispatcher.cs
- CompiledQuery.cs
- FixedSOMElement.cs
- HostedImpersonationContext.cs
- PasswordTextContainer.cs
- ZipIOExtraFieldElement.cs
- OleDbEnumerator.cs
- FileLoadException.cs
- TdsValueSetter.cs
- counter.cs
- RouteParser.cs
- DocumentPageView.cs
- MediaTimeline.cs
- ValueTable.cs
- SqlDataSourceTableQuery.cs
- ScriptReferenceBase.cs
- HtmlShimManager.cs
- Annotation.cs
- StylusPointPropertyInfoDefaults.cs
- BitmapData.cs
- SoapElementAttribute.cs
- FixedSOMImage.cs
- TextLineResult.cs
- SubMenuStyleCollectionEditor.cs
- DefinitionUpdate.cs
- WindowPattern.cs
- IndexedGlyphRun.cs
- TimeSpanValidatorAttribute.cs
- Base64Stream.cs
- IndependentAnimationStorage.cs
- OleDbReferenceCollection.cs
- MailHeaderInfo.cs
- DataGridTextBoxColumn.cs
- XmlBinaryWriter.cs
- ErrorsHelper.cs
- RIPEMD160.cs
- XmlSchemaExternal.cs
- ControlPersister.cs
- AssociatedControlConverter.cs
- SoapElementAttribute.cs
- OleDbMetaDataFactory.cs
- QuotedPrintableStream.cs
- RoutedEvent.cs
- XmlQueryCardinality.cs
- DataControlLinkButton.cs
- ObjectItemCollection.cs
- DataReceivedEventArgs.cs
- PublisherIdentityPermission.cs
- ByteConverter.cs
- StructuralType.cs
- AssociationType.cs
- AggregateNode.cs
- TemplatedWizardStep.cs
- PagesChangedEventArgs.cs
- ValueUtilsSmi.cs
- ListSourceHelper.cs
- WebHeaderCollection.cs
- URLMembershipCondition.cs
- Classification.cs
- ScrollItemPattern.cs
- MaskedTextBox.cs
- SamlAssertionKeyIdentifierClause.cs
- StorageEntitySetMapping.cs
- PerformanceCounterPermissionAttribute.cs
- DaylightTime.cs
- FormatConvertedBitmap.cs
- PingOptions.cs
- ListViewInsertionMark.cs
- SQLInt32Storage.cs
- ParagraphResult.cs
- TextParagraphCache.cs
- MexNamedPipeBindingElement.cs
- DynamicAttribute.cs
- StatusBar.cs
- CounterSample.cs
- ProvidersHelper.cs
- ToolBar.cs
- OleCmdHelper.cs
- ContentDisposition.cs
- VolatileEnlistmentMultiplexing.cs
- ValidatedControlConverter.cs
- CurrencyWrapper.cs
- SimpleType.cs
- InternalDispatchObject.cs
- thaishape.cs
- SemanticValue.cs
- ContextMenuStrip.cs
- DynamicRenderer.cs
- PatternMatchRules.cs
- SQLByteStorage.cs
- PropertyPushdownHelper.cs
- NavigationProperty.cs
- ArraySubsetEnumerator.cs