ASP.Net MVC3 is cool and all but I have this question more out of curiosity than programming issues. Say I have an area called 'Cosmos' within which there is a 'StarController' with an 'Index' action.
Now, if I had to create an action link to this, what is the difference between these two statements?
Html.ActionLink("Stars", "Index", "Stars", new { area = "Cosmos" }, null)
and
Html.ActionLink("Stars", "Index", "Cosmos/Stars")
By the looks of it, they the exactly the same thing. If it indeed does the same thing, what is the use of the anonymous type { area = "Cosmos" } ?