📅  最后修改于: 2022-03-11 14:49:22.195000             🧑  作者: Mango
// Cannot set path base via applicationUrl, must set it here using UsePathBase()
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UsePathBase("/{my application name}");
app.Run(context =>
{
return context.Response.WriteAsync("Hello World!");
});
}