What are the differences between .aspx and .ashx pages?
I use ashx now when I need to handle a request that was called from code and returned with a response, but I would l
.aspx is a rendered page. If you need a view, use an .aspx page.
If all you need is backend functionality but will be staying on the same view, use an .ashx page.