MVC: How to create a server side link


I want to be able to transfer the view link from the controller. Is there something like Html.ActionLinkserver side?
Thanks for the help!

+3
source share
1 answer

In your controller, you can use Url.Actionto create a new URL using actions, controllers, and route values.

This does not return a tag <a>, but only a URL that you can use in your controller.

+7
source

Source: https://habr.com/ru/post/1767126/


All Articles