Commit Graph

57 Commits

Author SHA1 Message Date
Pranav K 20f90e9879 Switching to generations TFMs 2015-10-22 00:20:57 -07:00
Rowan Miller 2e884f20f7 📝 Add doc comments to database error page 2015-10-20 10:18:10 -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
ryanbrandenburg 7dac0986c2 * Fix PageGenerator
* Generate pages on build
 * Add copyable stacktrace to error page
2015-10-16 10:44:55 -07:00
Pranav K 3657a1a14b Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:46 -07:00
Brice Lambson b271cdf91d Update EF commands 2015-09-16 14:03:45 -07:00
Pranav K 8dc4ddf195 Adding NeutralResourcesLanguageAttribute 2015-09-10 16:45:07 -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
Troy Dai 6a606a8c9a Update CoreCLR versions 2015-08-04 10:15:24 -07:00
Dejan Paležević 4a9029fc9c Used nameof expression to resolve parameters name 2015-08-03 11:56:04 -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
Victor Hurdugaci 4cbc9ace9c Add repository information to project files 2015-07-01 19:48:35 -07:00
Arthur Vickers 83c6ea7116 React to EF namespace changes 2015-06-30 10:59:15 -07:00
Arthur Vickers 33a673cd35 React to EF name changes 2015-06-23 16:00:32 -07:00
Arthur Vickers 3b29dbdd98 Fix old way of getting Migrator 2015-06-19 11:55:58 -07:00
Arthur Vickers 28d2d2e5d7 Add using directive 2015-06-19 11:18:18 -07:00
Arthur Vickers b4a7d09ad2 React to removal of RelationalDatabase class. 2015-06-19 11:07:28 -07:00
Arthur Vickers a07065c02e React to removal of AsRelational 2015-06-19 09:39:41 -07:00
Henk Mollema 6dbbe831c4 Removed SetDefaultVisibility for ErrorPageOptions
- Removed `SetDefaultVisibility` method from `(Database)ErrorPageOptions`
- `(Database)ErrorPageOptions` properties are now auto-properties since there is no default visibility anymore
- Removed `isDevMode` parameter from `ErrorPageMiddleware` ctor
- Removed comments from `ErroPageExtensions.UseErrorPage()`
- Updated Entity tests

#130
2015-06-09 10:14:22 -07:00
Troy Dai 499de6536b Fix Diagnostics build break 2015-06-03 11:50:51 -07:00
Brice Lambson 8508c6256e React to WithCurrentCulture removal 2015-05-04 10:38:59 -07:00
N. Taylor Mullen b1643b438a Update LICENSE.txt and license header on files. 2015-05-01 13:46:24 -07:00
Praburaj b27c6fc1e2 Fixing runtime info middleware on coreclr
Also adding more information like OS, runtime type and architecture to the info page.
2015-04-17 11:47:46 -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
N. Taylor Mullen dc94ede400 Merge branch 'release' into dev 2015-04-07 14:43:56 -07:00
N. Taylor Mullen cfa6399de6 Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:43:50 -07:00
Kiran Challa bd1e282e58 Reacting to ILogger api changes 2015-04-04 00:34:07 -07:00
Doug Bunting b76de57432 Merge remote-tracking branch 'origin/release' into dev 2015-04-03 11:40:43 -07:00
N. Taylor Mullen cb6c01b8da Update project.json, code=>compile. Also remove **/*.cs and **/*.vs from compile section. These are now defaulted to on. 2015-04-02 16:15:43 -07:00
Doug Bunting 9d095e2f21 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:24 -07:00
Rowan Miller 105d3353cf 🔥 Remove migrations end point 2015-03-23 15:56:30 -07:00
Rowan Miller f644aea3b1 🎨 Update 'k' to 'dnx' in migrations info 2015-03-23 15:55:43 -07:00
Hao Kung b66b2df264 React to hosting 2015-03-19 11:22:22 -07:00
Praburaj 7a245eba5b Update welcome page text from ASP.NET vnext to 5
Fixes: https://github.com/aspnet/Diagnostics/issues/82
2015-03-16 16:52:24 -07:00
N. Taylor Mullen b07a656b8a Update .kproj => .xproj. 2015-03-11 14:05:30 -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 a30765bc6c Update kvm/KVM/Kvm => dnvm/DNVM/Dnvm. 2015-03-08 12:48:41 -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 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 88d977b193 React to EF changes 2015-02-05 10:56:14 -08:00
Chris Ross 97b151f2c2 Handle ReadFormAsync breaking change. 2015-01-07 16:25:42 -08:00
mikary 32e28a8fc8 Reacting to API changes in EntityFramework Migrations 2015-01-07 14:51:05 -08:00
rowanmiller 5e00937d59 Handle wrapped exceptions in Database Error Page
If a database exception is wrapped later in the request (after EF has logged it) then we were not displaying the database error page.
This was occurring in ASP.NET Identity where the exception was getting wrapped in an AggregateException.
We now walk the tree of inner exceptions looking for a match.
Also adding some extra logging as this was hard to debug without resorting to source code.
2014-12-18 14:16:38 -08:00