Beispiel #1
0
 public void Configure(IApplicationBuilder app, SingleService service)
 {
     Console.WriteLine(service.Id);
     app.Run(async(context) =>
     {
         await context.Response.WriteAsync("Hello World!");
     });
 }
Beispiel #2
0
 public Startup(SingleService service)
 {
     Console.WriteLine(service.Id);
 }