예제 #1
0
 public void Configuration(IAppBuilder appBuilder)
 {
     IConfigurationSource configSources = new Config();
     appBuilder.UseOpenRasta(configSources);
 }
예제 #2
0
 public void Configuration(IAppBuilder appBuilder)
 {
     IDependencyResolverAccessor dependencyResolverAccessor = new CustomDependencyResolver();
     IConfigurationSource configSources = new Config();
     appBuilder.UseOpenRasta(configSources,dependencyResolverAccessor);
 }