What is .ashx file in .Net? How it is diffrent from .aspx?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Oct 31, 2011, 3:48 AM
.ashx is extension for Generic Handler.
This file works just like an aspx file except you are one step back away from the messy browser level where HTML and C# mix. One reason you would write an .ashx file instead of an .aspx file is that your output is not going to a browser but to an xml-consuming client of some kind.
Know more about this from http://www.c-sharpcorner.com/UploadFile/prathore/ASHXfileHandler03272009023910AM/ASHXfileHandler.aspx