Skip to content

Commit

Permalink
Add workaround for reactjs/React.NET#433
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 committed Oct 16, 2017
1 parent af6f90b commit aaa41fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Daniel15.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public IServiceProvider ConfigureServices(IServiceCollection services)

// Temporary workaround for https://github.com/aspnet/Routing/issues/391
services.Replace(ServiceDescriptor.Transient<IApplicationModelProvider, BugfixApplicationModelProvider>());

// For https://github.com/reactjs/React.NET/issues/433
return services.BuildServiceProvider();
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
Expand Down

0 comments on commit aaa41fe

Please sign in to comment.