Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
app.Use(async (context, next) =>
{
await context.Response.WriteAsync("app.Use() 1 Oncesi\n");
await next();
await context.Response.WriteAsync("app.Use() 1 Sonrasi\n");
});
app.Use(async (context, next) =>
{
await context.Response.WriteAsync("app.Use() 2 Oncesi\n");
await next();
await context.Response.WriteAsync("app.Use() 2 Sonrasi\n");
});
app.Run(async (context) =>
{
await context.Response.WriteAsync("app.Run() 1 MERHABALAR\n");
});
// Bu kısım çalışmayacak
app.Run(async (context) =>
{
await context.Response.WriteAsync("app.Run() 2 MERHABALAR\n");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment