BlueCollar.Dashboard.StaticFileHandler.PerformRequest C# (CSharp) Method

PerformRequest() protected method

Performs the concrete request operation and returns the output as a byte array.
protected PerformRequest ( System.Web.HttpContextBase context ) : byte[]
context System.Web.HttpContextBase The HTTP context to perform the request for.
return byte[]
        protected override byte[] PerformRequest(HttpContextBase context)
        {
            try
            {
                return this.PerformRequest(context, this.CreateFile(context));
            }
            catch (FileNotFoundException)
            {
                NotFound();
            }

            return null;
        }

Same methods

StaticFileHandler::PerformRequest ( System.Web.HttpContextBase context, StaticFile file ) : byte[]