Top "Asp.net-mvc-routing" questions

Questions about routing within ASP.

HTTP Error 403.14 - Forbidden - MVC 4 with IIS Express

This seems like a question that has already been asked/answered many times. Its not. Development Environment: VS 2012 and MVC 4. …

c# asp.net-mvc asp.net-mvc-4 asp.net-mvc-routing
How to access the current HttpRequestMessage object globally?

I have a method which creates an HttpResponseMessage containing an Error object which will be returned based on the current …

c# asp.net-mvc asp.net-web-api asp.net-mvc-routing
ASP.NET MVC 4 Routes - controller/id vs controller/action/id

I'm trying to add a route to the default one, so that I have both urls working: http://www.mywebsite.…

asp.net-mvc asp.net-mvc-4 routes asp.net-mvc-routing
How to get current controller and action from inside Child action?

I have a portion of my view that is rendered via RenderAction calling a child action. How can I get …

asp.net-mvc asp.net-mvc-routing
Set default action (instead of index) for controller in ASP.NET MVC 3

I have a controller called Dashboard with 3 actions: Summary, Details, and Status, none of which take an ID or any …

c# asp.net-mvc asp.net-mvc-3 routes asp.net-mvc-routing
MVC WEB API routing fails when url contains encoded ampersand

When i call my webservice witch takes two parameters i get: A potentially dangerous Request.Path value was detected from …

c# asp.net-mvc rest asp.net-web-api asp.net-mvc-routing
Getting full url of any file in ASP.Net MVC

I want to generate complete Url (with domain name etc) of any file in MVC. Example: A .jpg file or …

asp.net-mvc asp.net-mvc-routing
ASP.NET MVC 4 - 301 Redirects in RouteConfig.cs

How can I add a route to the RouteConfig.cs file in an ASP.NET MVC 4 app to perform a …

asp.net-mvc asp.net-mvc-4 asp.net-mvc-routing
Attribute Routing not working in areas

Scenario: I have a Forms area in my ASP.NET MVC 5 site. I'm trying to redirect to the Details Action …

asp.net-mvc asp.net-mvc-routing
What is Routedata.Values[""]?

I am surprised to see that there is no article which answers this question with any details. I have few …

c# asp.net-mvc asp.net-mvc-4 asp.net-mvc-routing routedata