HttpHandler not retaining filenames on download
问题 I am using an HttpHandler to serve documents within my ASP.NET web application. I can get it to work just fine with one issue which I can't quite figure out -- the filename isn't retained. For example, if I am trying to serve a document called "New Patient Information Form.docx" and my handler is called "GetDocument.ashx" the file is downloaded as "GetDocument.docx" and "GetDocument(1).docx", "GetDocument(2).docx" etc. each time I download the file. I want to use a handler instead of linking