WorldofASP.NET : ASP.NET Tutorial, Hosting, and Source Code
You are 1 of 170 users

Product SpotLight Hosting SpotLight

ASP.NET MVC Tip #29 – Build a Controller to Debug Your Custom Routes

Blogger : ASP.NET Team Blogs
All posts : All posts by ASP.NET Team Blogs
Category : ASP.NET
Blogged date : 2008 Aug 03

In this tip, I demonstrate how you can create a special controller that you can use to test your custom routes. I also explain how you can give your routes back their names so you can more effectively unit test your routes. In this tip, I demonstrate how you can create a custom controller that you can use to debug the custom routes that you add to your ASP.NET MVC applications (see Figure 1). I also explain how you can create unit tests that test your custom routes by name. Figure 1 – Using the RouteDebugger Controller I was inspired to undertake this project by Phil Haack’s ASP.NET Routing Debugger: http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx However, there are some important differences between the Route Debugger...(read more)

Read comments or post a reply to : ASP.NET MVC Tip #29 – Build a Controller to Debug Your Custom Routes
Page 41 of 1589
Next | Last

.NET News Categories








Legend : - Within 3 Days - Within 6 Days - Within 9 Days

Home | Add Resources | Sponsored Listings | Advertise with Us | SiteMap 1 | SiteMap 2 Link To Us | Contact Us
© 2002-2008 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
Our Partners : ASP.NET Web Hosting | Windows Web Hosting | FREE ASP.NET CMS | Phone Card | PHP Directory | Bangkok Hotels |Calling Card