How can I get the baseurl of site?时间:2024-04-24 12:43:31 string baseUrl = Request.Url.Scheme + "://" + Request.Url.Authority +Request.ApplicationPath.TrimEnd('/') + "/";