Exemple #1
0
 private void AddShimMiddleware(IAppBuilder appBuilder)
 {
     _OldServerShim = new WebServerShim(this);
     _OldServerShim.Configure(appBuilder);
 }
Exemple #2
0
 private void UseShimAppFuncBuilder(IPipelineBuilderEnvironment builderEnv)
 {
     _OldServerShim = new WebServerShim(this);
     builderEnv.UseMiddlewareBuilder(_OldServerShim.AppFuncBuilder);
 }