首页 > 解决方案 > How to convert the Absolute Uri path from .net to .net core?

问题描述

I am converting my asp.net project to asp.net core. It throws a few errors that i need your assistance to fix. enter image description here

enter code here

enter image description here

标签: asp.netasp.net-core

解决方案


Try this:

HttpContext.Request.GetDisplayUrl()

推荐阅读