When building a Handler, should it be .ashx or .axd?

Question :

When building a Handler, should it be .ashx or .axd?,

Answer :

Say I’m building an ASP.Net class that inherits from IHttpHandler, should I wire this up to a URL ending in .ashx, or should I use the .axd extension?

Does it matter as long as there’s no naming conflict?

,

Ahh.. ScottGu says it doesn’t matter, but .ashx is slightly better because there’s less chance of a conflict with things like trace.axd and others. That’s why the flag went up in my head that .ashx might be better.

Read More  Install Visual Studio 2008 Sp1 on “D” Drive

That’s the answer When building a Handler, should it be .ashx or .axd?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you