This project is read-only.

File & Image Handlers

Topics: ASP.NET 2.0, Business Logic Layer
Mar 15, 2008 at 10:11 PM

Is there a specific reason why the files and the images are served to the client using axd extension & IHttpHandler and not by using a simple
'Generic Handler' (ashx extension) ? is the axd extension have any advantages over the ashx ?
Mar 16, 2008 at 9:53 PM
All handlers are located in the BlogEngine.Core project to abstract them away from the web project. That way there are less files in the web project for people to think about. Also, .ashx files doesn't let you use the #region declaration. We could easily have used .ashx, but decided not to.