Thanks for your warning. Can you please provide me any link/example to create generic routes to avoid the performance issue.
I belive you can create your optimized routes yourself once you understand routing. You can read any MVC book chapter about routing but I recommend Steve Sanderson book. After this you must read
this. Here is a quote from ASP.NET MVC 2 IN ACTION book,
ASP.NET MVC 2 IN ACTION
keep the total number of routes low. There are two main reasons for this. First, each request must scan the route table to do the matching, so performance can be a concern for large sets of routes. Second, the more routes you have, the higher the risk of
route priority bugs appearing. A low number of route rules is easier to maintain.
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
Andyrandy
Member
1 Points
14 Posts
Re: How to write map/route for multiple Post
Mar 30, 2012 02:33 PM|LINK
Hey Imran,
Thanks for your warning. Can you please provide me any link/example to create generic routes to avoid the performance issue.
imran_ku07
All-Star
45815 Points
7698 Posts
MVP
Re: How to write map/route for multiple Post
Mar 30, 2012 05:38 PM|LINK
I belive you can create your optimized routes yourself once you understand routing. You can read any MVC book chapter about routing but I recommend Steve Sanderson book. After this you must read this. Here is a quote from ASP.NET MVC 2 IN ACTION book,
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD