Minggu, 30 Januari 2011

Unit Testing ASP.NET MVC Routes

Two things I always encourage customers to do are;Always delete the default route pattern after a File –> New project. This helps you focus on designing your routes throughout your site, and helps reduce SEO-unfriendly routes etc. Always unit test your routing table.For number two, this is because it is so easy to have a route that looks like this;/products/{productname}/{action}… and then a

Tidak ada komentar:

Posting Komentar