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
- EmptyWorkItem.cs
- FlowDocumentPage.cs
- ItemsPanelTemplate.cs
- DataGridAutomationPeer.cs
- InstanceCollisionException.cs
- TripleDESCryptoServiceProvider.cs
- HyperLinkStyle.cs
- MessageBox.cs
- LineGeometry.cs
- DataRowExtensions.cs
- KeyInterop.cs
- RowSpanVector.cs
- HitTestWithGeometryDrawingContextWalker.cs
- Region.cs
- NativeMethods.cs
- EmptyTextWriter.cs
- TargetPerspective.cs
- FunctionImportMapping.cs
- CharacterBuffer.cs
- XomlCompilerResults.cs
- KnownBoxes.cs
- DataGridViewCellParsingEventArgs.cs
- LocalIdKeyIdentifierClause.cs
- SizeAnimationUsingKeyFrames.cs
- CaseStatementSlot.cs
- CodeMemberEvent.cs
- ToolStripItemTextRenderEventArgs.cs
- UserControl.cs
- DataTableCollection.cs
- DefaultAsyncDataDispatcher.cs
- TrackingCondition.cs
- ListenerChannelContext.cs
- SetterBase.cs
- GlyphsSerializer.cs
- SQLString.cs
- MarginsConverter.cs
- AppSettingsExpressionEditor.cs
- EventHandlersStore.cs
- HostedBindingBehavior.cs
- XmlDictionaryReaderQuotas.cs
- ScriptingProfileServiceSection.cs
- TextPattern.cs
- IndividualDeviceConfig.cs
- Border.cs
- TextSchema.cs
- CompilationLock.cs
- ProfileSettings.cs
- CompiledIdentityConstraint.cs
- XmlComplianceUtil.cs
- Deflater.cs
- StringFreezingAttribute.cs
- MediaSystem.cs
- InternalException.cs
- DBNull.cs
- ProcessHostFactoryHelper.cs
- DataColumn.cs
- FormsIdentity.cs
- HandoffBehavior.cs
- ViewPort3D.cs
- DataRowExtensions.cs
- ParseElementCollection.cs
- MobileCategoryAttribute.cs
- ApplicationHost.cs
- HashLookup.cs
- PasswordPropertyTextAttribute.cs
- ExpressionWriter.cs
- WmlCommandAdapter.cs
- RecognizerStateChangedEventArgs.cs
- HitTestParameters.cs
- PageParserFilter.cs
- SerializationObjectManager.cs
- InvokeWebServiceDesigner.cs
- TransactionContextValidator.cs
- ItemAutomationPeer.cs
- OracleRowUpdatedEventArgs.cs
- CurrencyManager.cs
- ReliableChannelBinder.cs
- LogEntryDeserializer.cs
- RadioButtonList.cs
- AddInProcess.cs
- ColorPalette.cs
- COM2IDispatchConverter.cs
- MenuItemStyle.cs
- HttpServerVarsCollection.cs
- SHA384Managed.cs
- HttpPostedFileWrapper.cs
- HtmlElementEventArgs.cs
- BCryptNative.cs
- WhiteSpaceTrimStringConverter.cs
- SrgsDocument.cs
- SolidBrush.cs
- CmsInterop.cs
- SplashScreen.cs
- SettingsSection.cs
- WindowsToolbarAsMenu.cs
- OLEDB_Util.cs
- followingsibling.cs
- AQNBuilder.cs
- DataBoundControlActionList.cs
- handlecollector.cs