Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Handlers / TransferRequestHandler.cs / 1551089 / TransferRequestHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Handlers { using System; using System.Web.Hosting; internal class TransferRequestHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { IIS7WorkerRequest wr = context.WorkerRequest as IIS7WorkerRequest; if (wr == null) { throw new PlatformNotSupportedException(SR.GetString(SR.Requires_Iis_Integrated_Mode)); } // Dev10 848405: use original unencoded URL (i.e., pass null for url so W3_REQUEST::SetUrl is not called) wr.ScheduleExecuteUrl(null, null, null, true, context.Request.EntityBody, null); // force the completion of the current request so that the // child execution can be performed immediately after unwind context.ApplicationInstance.EnsureReleaseState(); // DevDiv Bugs 162750: IIS7 Integrated Mode: TransferRequest performance issue // Instead of calling Response.End we call HttpApplication.CompleteRequest() context.ApplicationInstance.CompleteRequest(); } public bool IsReusable { get { return true; } } } } // 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
- OracleParameterCollection.cs
- PropertyReferenceExtension.cs
- FixUpCollection.cs
- ContourSegment.cs
- XDRSchema.cs
- ValueType.cs
- Ipv6Element.cs
- PropertyPathWorker.cs
- NamedPipeTransportSecurity.cs
- IDReferencePropertyAttribute.cs
- ListViewUpdateEventArgs.cs
- EnumValidator.cs
- StreamInfo.cs
- MergablePropertyAttribute.cs
- Exceptions.cs
- HitTestDrawingContextWalker.cs
- TypeConverterAttribute.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- FieldAccessException.cs
- GroupStyle.cs
- CngProperty.cs
- PageWrapper.cs
- wmiprovider.cs
- OdbcConnectionString.cs
- Int16AnimationUsingKeyFrames.cs
- IndexedWhereQueryOperator.cs
- TreeWalker.cs
- Comparer.cs
- SpellerHighlightLayer.cs
- NetTcpBinding.cs
- RNGCryptoServiceProvider.cs
- BamlRecords.cs
- WmlFormAdapter.cs
- OpenFileDialog.cs
- SelectionChangedEventArgs.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- StorageInfo.cs
- IInstanceTable.cs
- StringReader.cs
- CombinedGeometry.cs
- UriTemplateCompoundPathSegment.cs
- PathSegmentCollection.cs
- OleDbMetaDataFactory.cs
- ContentAlignmentEditor.cs
- ParallelTimeline.cs
- SQLBinary.cs
- XPathDocumentIterator.cs
- Int32Rect.cs
- HttpListenerTimeoutManager.cs
- LogReservationCollection.cs
- SHA512.cs
- PrinterSettings.cs
- XmlChildNodes.cs
- ServerReliableChannelBinder.cs
- ConfigXmlCDataSection.cs
- WindowsToolbarItemAsMenuItem.cs
- CommonDialog.cs
- MasterPageCodeDomTreeGenerator.cs
- DetailsViewInsertedEventArgs.cs
- WeakReference.cs
- ReversePositionQuery.cs
- InternalConfigRoot.cs
- WinFormsSpinner.cs
- WebSysDefaultValueAttribute.cs
- IteratorDescriptor.cs
- SchemaImporter.cs
- IERequestCache.cs
- mil_sdk_version.cs
- FindResponse.cs
- GAC.cs
- TypeToken.cs
- DurableRuntimeValidator.cs
- ConditionCollection.cs
- SourceFilter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- AdornedElementPlaceholder.cs
- XsltConvert.cs
- ButtonFieldBase.cs
- DiscoveryClientProtocol.cs
- ICspAsymmetricAlgorithm.cs
- UrlPath.cs
- SqlException.cs
- XmlArrayItemAttributes.cs
- CodeDelegateInvokeExpression.cs
- PartitionedStreamMerger.cs
- RandomNumberGenerator.cs
- EnvelopedPkcs7.cs
- FacetEnabledSchemaElement.cs
- xsdvalidator.cs
- ApplicationHost.cs
- Cursors.cs
- WeakReferenceEnumerator.cs
- EventToken.cs
- IPipelineRuntime.cs
- PreDigestedSignedInfo.cs
- DefaultProxySection.cs
- LineInfo.cs
- OleDbStruct.cs
- DataGridViewCellCollection.cs
- Freezable.cs