Commit Graph

59 Commits

Author SHA1 Message Date
Rowan Miller c35afcc1a8 💚 Prepare for IAccessor API change in EF
IAccessor is being renamed to IInfrastructure. The places we use it in
this repo can actually use an extension method instead and avoid the
cast, so updating to that.
2015-10-26 10:10:30 -07:00
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
Rowan Miller 111dab7ddf 🐛 No database error page for existing databases
When there is an existing database and no migrations are present, then we should just display the standard error page as they are not using migrations and need to adjust their mapping code to match the existing schema.
Resolve #182
2015-10-20 09:23:42 -07:00
Nate McMaster ba2bb3f0c9 React to EF rename 2015-10-05 13:44:26 -07:00
Pranav K 3657a1a14b Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:46 -07:00
Arthur Vickers 6afe357271 Strategy rename 2015-09-24 11:08:41 -07:00
Arthur Vickers 062d072712 React to EF fluent API changes 2015-09-24 10:38:13 -07:00
Nate McMaster 8e7fca953c React to changes in EF. https://github.com/aspnet/EntityFramework/pull/3108 2015-09-15 11:43:00 -07:00
Kiran Challa 12d9302a31 Skipped Database error page tests temporarily to fix Travis CI 2015-09-04 00:46:23 -07:00
Brice Lambson b95f67733d React to aspnet/EntityFramework#2948 2015-08-28 12:11:30 -07:00
Brice Lambson 8ccfb99624 React to aspnet/EntityFramework#2902 2015-08-24 10:41:56 -07:00
Brice Lambson e8fc5a970a React to aspnet/EntityFramework#2831 2015-08-17 10:24:21 -07:00
Kiran Challa 97e66878a7 Reacting to disposable logger provider 2015-08-12 16:07:16 -07:00
mikary c0255f4188 React to aspnet/EntityFramework#2757 2015-07-31 12:38:57 -07:00
Brice Lambson 3a7c0132c1 Revert "React to aspnet/EntityFramework#2613"
This reverts commit 97459de509.
2015-07-21 15:35:20 -07:00
Brice Lambson 97459de509 React to aspnet/EntityFramework#2613 2015-07-14 10:16:41 -07:00
Arthur Vickers 83c6ea7116 React to EF namespace changes 2015-06-30 10:59:15 -07:00
Arthur Vickers 15fa458362 React to EF changes 2015-06-25 16:00:00 -07:00
Arthur Vickers 33a673cd35 React to EF name changes 2015-06-23 16:00:32 -07:00
Arthur Vickers 791ec1a016 Use ApplyMigrations extension method 2015-06-19 11:37:01 -07:00
Arthur Vickers 7f63665607 Stop using GenerateValueOnAdd. 2015-06-17 11:54:48 -07:00
Arthur Vickers ccdedc704d React to EntityOptions -> DbContextOptions rename 2015-06-15 23:01:16 -07:00
Arthur Vickers 760be0c77c React to DbContextOptions name change 2015-05-26 11:34:48 -07:00
Smit Patel c6c5c94971 React to EF: changes in ModelSnapshot 2015-05-14 14:01:06 -07:00
Smit Patel 499f62c596 React to EF Changes: Remove Usage of BasicModelBuilder 2015-05-11 14:59:38 -07:00
N. Taylor Mullen b1643b438a Update LICENSE.txt and license header on files. 2015-05-01 13:46:24 -07:00
ajcvickers c72add2736 Merge branch 'dev' of github.com:aspnet/Diagnostics into dev 2015-04-07 21:51:30 -07:00
ajcvickers 027cbdac04 React to EF change 2015-04-07 21:51:11 -07:00
Praburaj 888ed48249 Using in memory store on mono 2015-04-06 11:06:27 -07:00
Kiran Challa bd1e282e58 Reacting to ILogger api changes 2015-04-04 00:34:07 -07:00
Doug Bunting 9d095e2f21 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:24 -07:00
Brice Lambson ebda837e35 React to Migrations API changes 2015-03-30 09:13:23 -07:00
Rowan Miller 105d3353cf 🔥 Remove migrations end point 2015-03-23 15:56:30 -07:00
N. Taylor Mullen 890fce4eed React to EF changes. 2015-03-22 12:11:42 -07:00
Smit Patel ad009c05d6 Reacting to EF: Setting Identity as ValueGenerationStrategy explicitly 2015-03-20 17:39:02 -07:00
Hao Kung b66b2df264 React to hosting 2015-03-19 11:22:22 -07:00
N. Taylor Mullen 2641c41ed5 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:11:14 -07:00
N. Taylor Mullen b07a656b8a Update .kproj => .xproj. 2015-03-11 14:05:30 -07:00
ajcvickers 79c1672e65 Another namespace issue 2015-03-11 14:02:14 -07:00
ajcvickers 616ccb514f Missed update to use builder in one place 2015-03-11 13:55:31 -07:00
ajcvickers b016764f26 Went a bit too far. :-) 2015-03-11 13:47:33 -07:00
ajcvickers e2b83aee92 Use some namespaces 2015-03-11 13:43:31 -07:00
ajcvickers f4c05c8b09 Update to use DbContextOptionsBuilder 2015-03-11 13:15:22 -07:00
N. Taylor Mullen c746f2beb7 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:52:44 -07:00
N. Taylor Mullen 684983effb Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:48:36 -07:00
Brennan 00a1127676 Missed some logging API 2015-03-04 20:38:11 -08:00
ajcvickers a65ebbf1f1 React to EF change 2015-02-26 15:31:49 -08:00
ajcvickers 66252ff736 React to EF namespace change 2015-02-13 14:56:28 -08:00
Brice Lambson a09d8a4ead React to Migrations changes 2015-02-10 11:07:18 -08:00
ajcvickers 4139f3f18b React to EF changes in tests. 2015-02-05 11:09:32 -08:00