Question: how to create ashx file?
Answer: We list the steps to add a new ASHX file. To do this, open your ASP.NET web site. Go to the Website menu and click on the first menu item there, "Add New Item..." This will present the Add New Item dialog box. Then: Select the "Generic Handler" item, and you will get a new file with some code in it called Handler.