The documentation says that VS after the change in the launched startup code project

app.Run(async (context) => { await context.Response.WriteAsync("Hello World!"); }); 

on code

 app.Run(async (context) => { await context.Response.WriteAsync("Hello World new!"); }); 

followed by saving the file and refreshing the page in the browser without restarting the project should give the browser Hello World new! but this does not happen, the previous line is displayed. How to enable the option to update the application without restarting?

  • How does the application run: through IIS or by itself? In the "big" Studio (not Code) in the project properties tab Debug> Launch> IIS / Project: if you set IIS, it works as you want. How it is set in the Code - not up to date. - Alexander Petrov
  • Debugging in Kestrel. - Vladimir Smirnov

0