Created
July 31, 2020 16:42
-
-
Save cmatskas/8f36ab843559cb03e608638aabb21377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Http; | |
namespace testFeather | |
{ | |
class Program | |
{ | |
static async Task Main(string[] args) | |
{ | |
var app = WebApplication.Create(args); | |
app.MapGet("/", async http => | |
{ | |
await http.Response.WriteAsync("Hello World!"); | |
}); | |
await app.RunAsync(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment