Here Mudassar Ahmed Khan has explained with an example, how to implement HttpHandler (ASHX) in ASP.Net MVC Razor.
The HttpHandler (ASHX) will fetch data from SQL Server database using Entity Framework and return data in JSON format.
The HttpHandler (ASHX) will be called using a jQuery Client which will read the JSON values and populate it into an HTML Table in ASP.Net MVC Razor.
↧