【问题标题】:How to convert the Absolute Uri path from .net to .net core?如何将绝对 Uri 路径从 .net 转换为 .net 核心?
【发布时间】:2020-06-10 12:38:20
【问题描述】:

我正在将我的 asp.net 项目转换为 asp.net 核心。 它引发了一些错误,我需要您的帮助来修复。在此处输入图片说明

在此处输入代码

【问题讨论】:

    标签: asp.net asp.net-core


    【解决方案1】:

    试试这个:

    HttpContext.Request.GetDisplayUrl()
    

    【讨论】:

      猜你喜欢
      • 2011-01-27
      • 2020-09-30
      • 2021-10-02
      • 2020-10-31
      • 2017-03-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-28
      相关资源
      最近更新 更多