Reputation: 7811
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?
Upvotes: 3
Views: 1621
Reputation: 71053
Out in "the wild", .ashx are definitely the most popular extension.
Upvotes: 0
Reputation: 7811
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.
http://forums.asp.net/t/964074.aspx
Upvotes: 3