Ejemplo n.º 1
0
        /// <summary>
        /// Wrap the context into a generic structure that does not depend on <c>System.Web.HttpContext</c>
        /// and relay request processing to the generic web processor.
        /// </summary>
        /// <param name="context">Context information as sent by IIS.</param>
        public void ProcessRequest(HttpContext context)
        {
            var processor = new WebProcessor();

            processor.RequestIdentity = context.User.Identity;
            processor.RequestPath     = context.Request.Path;
            processor.Process(context.Request.InputStream, context.Response.OutputStream);
        }
Ejemplo n.º 2
0
 public AdditionalInfoSource(WebProcessor parent)
 {
     RequestIdentityName = parent.RequestIdentity.Name;
 }