read

Hello People!

Just wanted to share some information on what I have been doing. Yesterday I released a NuGet package that could prove helpful if you have started using ASP.Net MVC 5′s attribute based routing. You can read about attribute based routing here. But on a high level, attribute based routing is a feature that enables you to decorate action method’s with the Route attribute that will specify the url pattern to be used for this action to be invoked.

The thing with this approach is that, once you have more than one or two controllers, it could prove really tedious for you to open every controller and see the routes used so far. This package helps you solve this. Once you install the package using NuGet with the UI or the package manager console, you get the ability to look at all the routes used in the project. Once this package is successfully added, you could visit http://localhost<port_no>/attribute-based-routes to look at a list of all available routes, as show below!

Sample screenshot

Here is a list of all the relevant links for more information!

Hope this package is helpful and do let me know your comments!

Karthik


Published on

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

the dotNet way!

experiments w/ asp.net, c#, ruby and many more!!

Back to Home