|
using Microsoft.AspNet.Abstractions;
|
|
|
|
namespace KWebStartup
|
|
{
|
|
public class Startup
|
|
{
|
|
public void Configuration(IBuilder app)
|
|
{
|
|
app.Run(async context =>
|
|
{
|
|
context.Response.ContentType = "text/plain";
|
|
await context.Response.WriteAsync("Hello world");
|
|
});
|
|
}
|
|
}
|
|
} |