Skip to content

Instantly share code, notes, and snippets.

@salrashid123
Last active July 29, 2017 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salrashid123/3685c399991d10ea624b4f711eb9bc72 to your computer and use it in GitHub Desktop.
Save salrashid123/3685c399991d10ea624b4f711eb9bc72 to your computer and use it in GitHub Desktop.
private static void Execute(IApplicationBuilder app)
{
app.Run(async context =>
{
_logger.LogInformation("HTTP handler called..");
await context.Response.WriteAsync("hello from .NET");
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment