Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / System.ServiceModel.Activation / System / ServiceModel / Activation / HttpHandler.cs / 1305376 / HttpHandler.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Runtime; using System.Security; using System.ServiceModel; using System.Web; using System.Web.SessionState; class HttpHandler : IHttpHandler, IRequiresSessionState { public bool IsReusable { [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - called outside PermitOnly context.")] get { return true; } } [Fx.Tag.SecurityNote(Critical = "Entry-point from asp.net, called outside PermitOnly context.")] [SecurityCritical] public void ProcessRequest(HttpContext context) { ServiceHostingEnvironment.SafeEnsureInitialized(); HostedHttpRequestAsyncResult.ExecuteSynchronous(context.ApplicationInstance, true, false); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Runtime; using System.Security; using System.ServiceModel; using System.Web; using System.Web.SessionState; class HttpHandler : IHttpHandler, IRequiresSessionState { public bool IsReusable { [Fx.Tag.SecurityNote(Miscellaneous = "RequiresReview - called outside PermitOnly context.")] get { return true; } } [Fx.Tag.SecurityNote(Critical = "Entry-point from asp.net, called outside PermitOnly context.")] [SecurityCritical] public void ProcessRequest(HttpContext context) { ServiceHostingEnvironment.SafeEnsureInitialized(); HostedHttpRequestAsyncResult.ExecuteSynchronous(context.ApplicationInstance, true, 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
- PromptEventArgs.cs
- TextContainerChangedEventArgs.cs
- EntityDataReader.cs
- DBSchemaRow.cs
- HwndSourceParameters.cs
- SessionEndingCancelEventArgs.cs
- CommunicationObject.cs
- _FixedSizeReader.cs
- WinEventTracker.cs
- MatrixUtil.cs
- ZipIOModeEnforcingStream.cs
- RelatedCurrencyManager.cs
- OleDbPermission.cs
- RectangleConverter.cs
- CaseStatement.cs
- FtpWebResponse.cs
- FakeModelItemImpl.cs
- BindingExpressionBase.cs
- MapPathBasedVirtualPathProvider.cs
- Crc32.cs
- ErrorTableItemStyle.cs
- WorkflowServiceNamespace.cs
- XmlSerializationWriter.cs
- BrowserCapabilitiesCodeGenerator.cs
- TextSegment.cs
- input.cs
- OleDbSchemaGuid.cs
- HwndTarget.cs
- TagMapInfo.cs
- ListItemParagraph.cs
- RecordConverter.cs
- InvalidPropValue.cs
- TextReader.cs
- Span.cs
- BitmapImage.cs
- WebPartsSection.cs
- DynamicPropertyReader.cs
- RotationValidation.cs
- DataGridLinkButton.cs
- InlinedLocationReference.cs
- TraceHandler.cs
- MetadataSerializer.cs
- TextTreeUndoUnit.cs
- RegionIterator.cs
- TextBoxLine.cs
- WebPartZone.cs
- Int32Rect.cs
- VarInfo.cs
- OleCmdHelper.cs
- FileReader.cs
- HMAC.cs
- ObservableCollection.cs
- DrawingDrawingContext.cs
- Sorting.cs
- BitVec.cs
- Attachment.cs
- sapiproxy.cs
- SystemColorTracker.cs
- DataRelationCollection.cs
- StringValueConverter.cs
- RbTree.cs
- DrawingContextDrawingContextWalker.cs
- ClientBuildManager.cs
- BinaryMessageEncodingElement.cs
- StagingAreaInputItem.cs
- Lookup.cs
- XamlReaderHelper.cs
- VScrollProperties.cs
- XMLSyntaxException.cs
- WorkflowValidationFailedException.cs
- WizardPanel.cs
- Quaternion.cs
- DESCryptoServiceProvider.cs
- COM2EnumConverter.cs
- InvokeProviderWrapper.cs
- XPathDocument.cs
- HeaderedContentControl.cs
- Win32MouseDevice.cs
- SafeProcessHandle.cs
- GridViewCommandEventArgs.cs
- CroppedBitmap.cs
- MasterPageParser.cs
- embossbitmapeffect.cs
- CompilerState.cs
- PeerNameRecord.cs
- EdgeModeValidation.cs
- GridErrorDlg.cs
- ToolStripGrip.cs
- RuntimeConfig.cs
- PrivilegedConfigurationManager.cs
- SessionViewState.cs
- RegexNode.cs
- HttpDebugHandler.cs
- RenderCapability.cs
- DataGridViewBand.cs
- RefExpr.cs
- TextServicesProperty.cs
- MatrixTransform.cs
- TemplatedMailWebEventProvider.cs
- TraceListener.cs