How to call *.ashx handler in asp.net 4.0 Routing?

Use this Code using System. Web; using System.Web. Compilation; using System.Web.

Routing; public class HttpHandlerRouteHandler : IRouteHandler where T : IHttpHandler, new() { public HttpHandlerRouteHandler() { } public IHttpHandler GetHttpHandler(RequestContext requestContext) { return new T(); } } public class HttpHandlerRouteHandler : IRouteHandler { private string _VirtualPath; public HttpHandlerRouteHandler(string virtualPath) { this. _VirtualPath = virtualPath; } public IHttpHandler GetHttpHandler(RequestContext requestContext) { return (IHttpHandler) BuildManager. CreateInstanceFromVirtualPath(this.

_VirtualPath, typeof(IHttpHandler)); } }.

Asp.net - jQuery Ajax call to HTTP Handler (.ashx) - Stack Overflow.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions