How to create and configure a custom handler
I am trying to reproduce an error message that I should get when I try to download a file that is greater than 2 Gig is size. This applies to .Net Framework 1.1 sp1. The only insturctions that I have are as below:
Install and configure a custom handler to include the following lines of code:
response.AddHeader("Content-Length", new FileInfo(fileName).Length.ToString());
response.TransmitFile( fileName );
Does any one know of any good reference material that can help me in creating the full problem?
Also, If it only requires few more lines of code please let me know.
Thanks for all help in advance.