I have to port over the following ASP.NET MVC code to .NET Core and I'm stuck on how to go about doing this. This is my old ASP.NET MVC code: I co ...
I have to port over the following ASP.NET MVC code to .NET Core and I'm stuck on how to go about doing this. This is my old ASP.NET MVC code: I co ...
I'm trying write a demo about "Prevent Image Leeching", Reference resources: http://www.mikesdotnetting.com/article/126/asp-net-mvc-prevent-image-leec ...
I'm having an issue in ASP WebForms where HttpContext.Current.Session is null if my request goes through a custom IRouteHandler. I have seen many ans ...
I have a IRouteHander class which I use to resize images on the fly and add expire headers to them, Recently I moved to MVC5 and now updating my code. ...
I’m trying to set up some routes for my ASP.NET MVC 5 project. I defined custom routes to get nice blog post permalinks – those seem to be working ...
I have the following code to register a route with my custom routehandler: This allows me to access embedded resources in a compiled DLL for exampl ...
I am working with CustomMvcRouterHandler, Based on some logic I just want to redirect user to another Url from CustomHandler. How to redirect user ...
I'm working on a small school project, an ASP.NET C# website; we're working with a Web Application, using a Global.asax file to centralize request log ...
I am looking for a code based solution to only serving static files from a specified directory using ASP.NET routing rather than specify a HttpHandler ...
I have a custom routehandler in ASP.NET MVC2 to catch all url's at a prefixed path like this: Routing works fine, but if i use Html.Actionlink or r ...
I created a custom RouteHandler for images that I want protected. My RouteHandler simply takes a new route (graphics/{filename}) and does a lookup for ...
I'm trying to get Session enabled in the GettHttpHandler method of my IRouteHandler classes but session is always null. Could someone tell me what I'm ...
Can anybody please help me with this as I have no idea why public IHttpHandler GetHttpHandler(RequestContext requestContext) is not executing. In my G ...
I'm trying to add a pretty basic route to an Asp.Net Web Forms app (running under IIS 7, integrated mode): for requests coming to http://mydomain.com/ ...
In this question & answer, I found one way to make ASP.NET MVC support asynchronous processing. However, I cannot make it work. Basically, the id ...