Hi,
I have only used MapRoute and slightly wondering where Routes.Add is used and on what scenario and how it differs from MapRoute?
Thanks
Difference between Routes.Add and MapRoute.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 26, 2012, 8:33 PM EDT
MapRoute() is an extension method over Routes.Add(). Use MapRoute(), unless you need to do something more complex than it allows.
Routes are evaluated in the order they are defined, so those you called first.
please refer morehttp://msdn.microsoft.com/en-us/library/cc668201.aspx
hope this help.
Arjun PanwarRank #254 · 9.9K reputationPosted Mar 27, 2012, 12:11 AM EDT