Exemplo n.º 1
0
 public void Configuration(IAppBuilder builder)
 {
     builder.UseHandler((request, response) => response.Write(_myService.GetFoo()));
 }
 public void Configuration(IAppBuilder builder)
 {
     builder.Use((context, next) => context.Response.WriteAsync(_myService.GetFoo()));
 }