Commit Graph

214 Commits

Author SHA1 Message Date
Pranav K 7e47449f85 Use default encoders all the time
Fixes #234
2015-12-29 16:49:06 -08:00
John Luo 298b8baa98 Adding back middleware initialization with options instance. 2015-12-23 16:04:19 -08:00
John Luo 9f1af65abc Standardize middleware to use configureOption lambda 2015-12-23 11:38:08 -08:00
Hao Kung 8b71e9232f OptionsModel => Options 2015-12-21 14:57:18 -08:00
Pranav K e384b7d4d0 Remove ErrorPageOptions 2015-12-15 11:08:47 -08:00
Pranav K 2baf6fecf5 Allow inline configure of options in UseDeveloperExceptionPage
Fixes #219
2015-12-15 10:57:24 -08:00
Mohammad Rahhal 8e38584800 Fix typo 2015-12-15 09:49:54 -08:00
ryanbrandenburg e3fee2fd07 * Fix ErrorPage tabs. 2015-12-10 16:07:19 -08:00
Pranav K dde06ffdcb Fixing CoreCLR package version 2015-12-08 18:59:55 -08:00
Pranav K 36cd47bc1f Move ICompilationException to Diagnostics
Fixes #220
2015-12-08 10:16:31 -08:00
Doug Bunting 7a2c20649b Remove `[SuppressMessage]`s
- build break
2015-12-07 20:58:22 -08:00
John Luo 0fd5970b8a Reacting to verbose rename 2015-12-06 17:42:49 -08:00
Chris R c8990bcc29 Hosting#318 Add middleware analysis tools, sample. 2015-11-24 11:52:20 -08:00
ryanbrandenburg c49547245b * Remove un-used function and prevent jQuery confusion 2015-11-20 12:51:11 -08:00
John Luo da7fe362c9 Reacting to ApplicationServices removal from HttpContext 2015-11-19 16:32:19 -08:00
Kiran Challa f468d6789f Fixed doc comment 2015-11-18 10:07:05 -08:00
N. Taylor Mullen 82574ce6cc Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:23:56 -08:00
ryanbrandenburg 88ad99d497 * Fix scrolling on error page 2015-11-11 09:19:42 -08:00
Pavel Krymets 740b51e0bc Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:08:07 -08:00
Cesar Blum Silveira 4ced3c51ef Merge branch 'release' into dev 2015-11-04 10:49:27 -08:00
Cesar Blum Silveira 9e4cd86470 Strong name Microsoft.AspNet.Diagnostics.Entity. 2015-11-03 20:15:45 -08:00
Cesar Blum Silveira eed6051eb3 Strong name everything except Microsoft.AspNet.Diagnostics.Entity. 2015-11-03 17:35:50 -08:00
Pavel Krymets 4e5900067b Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions 2015-11-03 12:09:05 -08:00
Chris R c239b67368 React to WebEncoders and Http.Abstractions changes. 2015-11-02 17:46:25 -08:00
Pavel Krymets 5e0fa0773d Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions 2015-11-02 15:22:08 -08:00
Pavel Krymets a97d55b10c Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions 2015-10-22 19:30:09 -07:00
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