Forum guidelines
AuthorQuestion
How Can I download a file by using Generic Handler?
Posted By Programming Baby on 06 May 2010
Hi everyone,
I am new here,and I just started to jump into the world of Silverlight,
I am currently developing a project to upload and download files.
I was successfully done the file upload to my app by using Generic Handler,
but I don't have any idea on how to download the files uploaded by using Generic Handler as well..
I hope the professionals here can help me...
Your help is appreciated.

AuthorReply
Re: How Can I download a file by using Generic Handler?
Posted By madison on 15 May 2010  
using System;
using System.Web;

public class Download : IHttpHandler
{  
    public void ProcessRequest(HttpContext context)
    {
    }

    public bool IsReusable
    {
        get { return true; }
    }
}





C# Corner Annual Conference 2016

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.