If you are an ASP.NET MVC developer, you will certainly be aware of its default URL Routing behavior, where if for example you were to display a View named “Index” that was relying in a controller named “ProductsController”, you could… Read More ›
URL Routing
Web API Custom Routing Constraints
Have you ever tried to restrict a Web API route in the way to allow only certain kind of values for specific segments? You will probably have and the most common restriction someone will find out on the web is… Read More ›
Generating Outgoing URLs in Views in ASP.NET MVC
Almost all MVC Web applications allow users to navigate from one View to another, usually relying on including links in the first View which eventually targets the action method that generates the second. Using simple anchor HTML elements “a” and… Read More ›
URL Routing in ASP.NET MVC – Part 2
This post continues our discussion on how ASP.NET MVC’s URL Routing System works. I assume you have already read Part 1 of the series cause I ‘m gonna work on the project we have created. In our MVC solution project… Read More ›
URL Routing in ASP.NET MVC – Part 1
Prior to ASP.NET MVC Framework, there was a direct relationship between requested URLs and the files on the server hard disk. For example in the Web Forms, a request such as was matched to a “Default.aspx” file on the server… Read More ›