且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 ASP.NET MVC 中找到操作的绝对 url?

更新时间:2023-12-02 10:25:40

点击 此处 了解更多信息,但基本上不需要扩展方法.它已经内置了,只是不是以非常直观的方式.

Click here for more information, but esentially there is no need for extension methods. It's already baked in, just not in a very intuitive way.

Url.Action("Action", null, null, Request.Url.Scheme);