justeat / openrasta-hosting-owin

OWIN host for OpenRasta
Other
1 stars 5 forks source link

Add support for the IApplicationBuilder in vNext #25

Closed tharris29 closed 2 years ago

tharris29 commented 10 years ago

In vNext the IAppBuilder is no longer the starting point for the Startup Class.

current

public void Configuration(IAppBuilder appBuilder)
{
   IConfigurationSource configSources = new OpenRastaConfig();
   appBuilder.UseOpenRasta(configSources);
}

also need to support for vNext

public void Configuration(IApplicationBuilder app)
{
   IConfigurationSource configSources = new OpenRastaConfig();
   app.UseOpenRasta(configSources);
}