Alternative to Server.Transfer in ASP.NET Core
问题 I am migrating an ASP.NET application to ASP.NET Core and they have some calls to HttpServerUtility.Transfer(string path). However, HttpServerUtility does not exist in ASP.NET Core. Is there an alternative that I can use? Or is Response.Redirect the only option I have? I want to maintain the same behaviour as the old application as much as possible since there is a difference in between Server.Transfer and Response.Redirect. 回答1: I see some options for you, depending on your case: Returning