What's the difference between RouteLink and ActionLink in ASP.NET MVC?

前端 未结 4 1075
醉话见心
醉话见心 2020-11-29 21:45

I think that the title pretty much sums it up:

What\'s the difference between RouteLink() and ActionLink() in ASP.NET MVC?

i.e. whe

4条回答
  •  渐次进展
    2020-11-29 22:40

    In addition to the other answers given here, RouteLink is a little bit faster, and cannot ever match the wrong route because you changed your routing table.

提交回复
热议问题