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 uses a full lifecycle (Init, Load, PreRender) and can respond to button clicks etc. An .ashx has just a single ProcessRequest method.
.aspx
Init
Load
PreRender
.ashx
ProcessRequest