Commit Graph

188 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
John Luo 793504843e reacting to telemetry rename 2015-10-19 17:17:40 -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 72d63e2613 Replace NotNullAttribute with thrown exceptions 2015-10-09 10:31:01 -07:00
John Luo 7b9cfac65a Adding telemetry publish for unhandled exceptions to developer exception page and exception handler #180 2015-10-03 17:00:22 -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 d3f1437764 Replacing NotNullAttribute with thrown exceptions 2015-09-14 10:25:22 -07:00
David Fowler 2766113ba9 Remove DiagnosticsPage middleware
- It's dead code
2015-09-13 11:13:32 -07:00
Chris R 27a8002e75 Use the new Response.Clear() API. 2015-09-11 10:56:48 -07:00
Pranav K 8dc4ddf195 Adding NeutralResourcesLanguageAttribute 2015-09-10 16:45:07 -07:00
Kiran Challa 5e2db0c585 Removed older extension methods of errorhandler and errorpage 2015-09-10 13:37:04 -07:00
Kiran Challa d96fbdba93 Renamed the directories 2015-09-09 09:39:15 -07:00
Kiran Challa 1a708b8479 Fixed razor view as its compilation fails due to changed apis
Updated PageGenerator to consider the modified Views folder paths
More restructuring of files
2015-09-09 09:38:42 -07:00
Kiran Challa 9044aeff47 Moved files into respective folders for better orgranization 2015-09-09 09:38:40 -07:00
Kiran Challa c46615dc53 Added new extensions UseExceptionHandler & UseDeveloperExceptionPage 2015-09-09 09:38:39 -07:00
Hao Kung 088f2f81cc React to options 2015-09-02 14:26:42 -07:00
Chris R 0bb77764d3 Use the new HttpContext.Features API. 2015-08-31 07:51:36 -07:00
Chris R 7b11506cc0 React to string[] -> StringValue changes. 2015-08-28 14:43:26 -07:00
Brice Lambson 8ccfb99624 React to aspnet/EntityFramework#2902 2015-08-24 10:41:56 -07:00
Kiran Challa 09b1c0fa63 [Fixes #167]Error page/handler should reset any buffered data, clear headers, etc. 2015-08-20 10:21:34 -07:00
Kiran Challa 417c7d2374 Fix displaying cookie values 2015-08-20 10:07:23 -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
Kiran Challa 12e78455d4 Added Content-Type header to RuntimeInfoPage view and reacting to namespace change 2015-08-07 12:47:36 -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
mikary 80e9d35630 React to DNX renames 2015-07-31 12:38:40 -07:00
Victor Hurdugaci 15c0e16a91 React to DNX changes 2015-07-29 03:38:40 -07:00
Kiran Challa 8d583a4718 [Fixes #157] ErrorPage middleware doesn't show source code lines of Razor files 2015-07-28 08:49:53 -07:00
Brice Lambson 6e72a3935d Merge branch 'release' into dev 2015-07-22 08:34:30 -07:00
Andrew Stanton-Nurse 4656872876 react to DNX renames 2015-07-21 16:43:57 -07:00
Brice Lambson 3a7c0132c1 Revert "React to aspnet/EntityFramework#2613"
This reverts commit 97459de509.
2015-07-21 15:35:20 -07:00
Kiran Challa fea15eb8de Removed creation of request id logging scope 2015-07-16 18:51:57 -07:00
Kiran Challa 191ffe1721 Fix null reference exception 2015-07-16 18:03:45 -07:00
Kiran Challa 7c287c8712 Added logging to ErrorPageMiddleware 2015-07-14 21:17:57 -07:00
Kiran Challa 236d4009c3 [Fixes #40] Suppress caching for ErrorHandler 2015-07-14 21:15:51 -07:00
Kiran Challa 8c8490fab4 [Fixes #112] BaseView.ExecuteAsync disposes the response stream 2015-07-14 21:11:46 -07:00
Kiran Challa f7e7ce53a5 [Fixes #145] Fix typo "collapsable" to be a real word ("collapsible") 2015-07-14 20:50:32 -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
Chris R 26a6b5dc33 #28 Remove environment page from the error page. 2015-06-30 17:05:42 -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