Top "Routing" questions

Questions about mapping URLs to Controllers and Actions.

Multiple canActivate guards all run when first fails

I have a route with two canActivate guards (AuthGuard and RoleGuard). The first (AuthGuard) checks to see if the user …

angular typescript routing angular2-routing
Set url parameter in redirect in zend framework v2

I have following redirect script in my controller (Zend Framework 2) return $this->redirect()->toRoute('default', array( 'controller' =&…

routing url-routing zend-route zend-framework2
mikrotik nat redirect to local from local

I'm using Mikrotik 750GL and I have such a problem: I have subnet 10.0.0.0/16 Router has local ip 10.0.0.1 and external ip (…

routing nat mikrotik
Rails routing to handle multiple domains on single application

I've been unable to find a workable solution to this problem, despite several similar questions here and elsewhere. It seems …

ruby-on-rails ruby-on-rails-3 routing routes subdomain
How can I get the route name in controller in ASP.NET MVC?

ASP.NET MVC routes have names when mapped: routes.MapRoute( "Debug", // Route name -- how can I use this later???? "…

asp.net-mvc model-view-controller routing
PHP Application URL Routing

So I'm writing a framework on which I want to base a few apps that I'm working on (the framework …

php url routing url-routing
How to get current route path in Flutter?

While implementing persistent bottom bar, previous route need to be restored when a button in the bottom bar was clicked. …

routing navigation flutter
asp.net mvc routing: how to use default action but non-default parameter?

I'm rewriting the question, as the answers so far show me that I have not defined it good enough. I'll …

asp.net-mvc routing url-routing asp.net-mvc-routing
IIS URL Rewriting vs URL Routing

I was planning to use url routing for a Web Forms application. But, after reading some posts, I am not …

asp.net asp.net-mvc iis routing url-rewriting
ASP.NET MVC Url.Action adds current route values to generated url

I have seen this question a couple of times here in SO but none of them with any acceptable answer: …

asp.net-mvc url model-view-controller routing