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