What is .ashx file in .Net? How it is diffrent from .aspx?
.ashx File in .NET
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 30, 2011, 11:48 PM EDT
.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