Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

routing

How is RedirectToRoute supposed to be used?

August 30, 2022 by Magenaut

I have this in my Global.asax.cs:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, redirecttoroute, routing Leave a comment

File path as MVC route argument

August 30, 2022 by Magenaut

Part of my application maps resources stored in a number of locations onto web URLs like this:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, routing Leave a comment

asp.net webforms routing: optional parameters

August 30, 2022 by Magenaut

I want to add optional parameters in my routing table.
For example I would like the users to browse a product catalog like this:
http://www.domain.com/browse/by-category/electronics/1,2,3 etc

Categories ASP.NET, Q&A Tags asp.net, routing, webforms Leave a comment

ASP.NET Application hosted on IIS7 that is ignoring custom errors and falls back to IIS errors

August 29, 2022 by Magenaut

I have a C# web forms ASP.NET 4.0 web application that uses Routing for URLs for some reason custom errors defined in the system.web section of my web.config is entirely ignored and it will fall back the IIS errors.

Categories ASP.NET, Q&A Tags asp.net, custom-errors, iis-7, routing Leave a comment

Using URL Routing for Web Forms and StopRoutingHandler for Favicon

August 29, 2022 by Magenaut

I have a website where I need to add a Favicon.ico. The site is written using ASP.NET 3.5 Web Forms with Routing. The issue is that the Favicon link always returns a page not found error. This is because the Routing does not know where the link for Favicon.ico should go to so it returns the Not Found page.

Categories ASP.NET, Q&A Tags asp.net, c#, routing Leave a comment

Using Routing without MVC: authentication form

August 29, 2022 by Magenaut

Now I’m trying to work with System.Web.Routing. All is just fine, but I can’t understand how to make form authentication work with url routing (return url, redirection, etc). Google says nothing. Help! 🙂

Categories ASP.NET, Q&A Tags asp.net, authentication, routing Leave a comment

ASP.NET – Building your own routing system

August 29, 2022 by Magenaut

In a recent project, I built my own MVC framework in PHP. One of the things I implemented was a routing system. I used Apache’s mod_rewrite to send all requests to index.php, and then parsed the URI to extract information and route the request.

Categories ASP.NET, Q&A Tags asp.net, routing, url-rewriting Leave a comment

ASP.NET Routing – Ignore routes for files with specific extension, regardless of directory

August 29, 2022 by Magenaut

Say I want to remove any mapped routes for files with a certain file extension.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, routing Leave a comment

ASP.NET Routing – Do Custom Routes COMPLETELY SKIP Everything in the Global.asax?

August 29, 2022 by Magenaut

I have a simple ASP.NET 3.5 SP1 Web Forms app… I’ve added the System.Web.Routing DLL, and I’ve made a simple route that returns a standard ASP.NET Page as the “IHttpHandler”.

Categories ASP.NET, Q&A Tags asp.net, routing, webforms Leave a comment

ASP.NET routing: Literal sub-segment between tokens, and route values with a character from the literal sub-segment

August 28, 2022 by Magenaut

The reason I’m asking is because IIS protects certain ASP.NET folders, like Bin, App_Data, App_Code, etc. Even if the URL does not map to an actual file system folder IIS rejects a URL with a path segment equal to one of the mentioned names.

Categories ASP.NET, Q&A Tags asp.net, asp.net-routing, iis, routing Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page5 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress