aspnetcore/samples/DatabaseErrorPageSample
Rowan Miller 1c26436041 Bring back "Apply Migrations" button on database error page
Mostly just a revert of the commit that removed this functionality, with a few changes:
* Perform proper JavaScript encoding in the script part of the database error page Views/BaseView.cs
* Use the builder pattern in the UseXyz extension methods on IApplicationBuilder (per #184). Also applying this to DatabaseErrorPageOptions to keep things consistent.
* Fixing a few tests that were getting the context from DI but putting it in a using block so that it got disposed (rather than letting DI handle disposing).
2015-10-20 09:29:15 -07:00
..
Properties Bring back "Apply Migrations" button on database error page 2015-10-20 09:29:15 -07:00
wwwroot Bring back "Apply Migrations" button on database error page 2015-10-20 09:29:15 -07:00
DatabaseErrorPageSample.xproj Bring back "Apply Migrations" button on database error page 2015-10-20 09:29:15 -07:00
Startup.cs Bring back "Apply Migrations" button on database error page 2015-10-20 09:29:15 -07:00
project.json Bring back "Apply Migrations" button on database error page 2015-10-20 09:29:15 -07:00