Creating a Project with Visual Studio:

* Added HTML format into string of 'Hello World!'
vs2019/2_Getting_Started
jason.zhu 2021-04-21 20:26:37 +10:00
parent 40767b05c7
commit f2cba0c19e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace DutchTreat
{ {
app.Run(async context => app.Run(async context =>
{ {
await context.Response.WriteAsync("Hello World!"); await context.Response.WriteAsync("<html><body><h1>Hello World!</h1></body></html>");
}); });
} }
} }