Commit Graph

244 Commits

Author SHA1 Message Date
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
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
Arthur Vickers a07065c02e React to removal of AsRelational 2015-06-19 09:39:41 -07:00
Chris R 9e547d5a9d Remove extra bracket from error page view. 2015-06-16 10:25:54 -07:00
Henk Mollema 72d8c12ca3 Removed unused resource string 2015-06-16 09:51:11 -07:00
Henk Mollema 0da9e2bec5 Remove ErrorPageOptions properties except SourceCodeLineCount
- Removed all properties except `SourceCodeLineCount`
- Updated ErroPageMiddleware (including some minor code-style changes)
- Updated CompilationErrorPage.cshtml and ErrorPage.cshtml
- Added `run` command to PageGenerator project.json to execute from command line
- Include cookies on error page
- Removed showSource parameter
- Remove unused exception parameter
2015-06-16 09:51:10 -07:00
Chris R ef4ab17700 React to OnSendingHeaders rename. 2015-06-12 15:48:45 -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 39fa2782d2 Merge branch 'release' into dev 2015-06-03 11:52:58 -07:00
Troy Dai 499de6536b Fix Diagnostics build break 2015-06-03 11:50:51 -07:00
N. Taylor Mullen 3fa5dee2d7 React to aspnet/Razor#140 2015-05-29 14:52:23 -07:00
Eilon Lipton 75d047795b Merge pull request #131 from hishamco/dev
Using [NotNull]
2015-05-07 21:53:38 -07:00
Troy Dai 0440ca751e React to common package name change 2015-05-07 09:36:55 -07:00
Hisham Abdullah Bin Ateya 1f36174da5 Using [NotNull] 2015-05-07 00:32:34 +03: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
Troy Dai 02d163eaaf React to DNX package name change 2015-05-01 11:06:38 -07:00
Brennan 976a4c6511 React to Logging package rename 2015-04-30 00:16:12 -07:00
Brennan 94fb2ce557 Revert "Revert "Interfaces->Abstractions""
This reverts commit 12a58a0795.
2015-04-29 23:51:25 -07:00
Brennan 12a58a0795 Revert "Interfaces->Abstractions"
This reverts commit 80b66cfde3.
2015-04-29 23:43:12 -07:00
Brennan 80b66cfde3 Interfaces->Abstractions 2015-04-29 16:28:45 -07:00
Chris Ross af641b1ca5 Handle removal of HttpResponse.SendAsync extension. 2015-04-23 11:40:47 -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
Pranav K 3b2ded5652 Adding support for printing multiple compilation failures 2015-04-16 14:54:08 -07:00
Praburaj 1c648fa905 Revert "Fixing runtime info middleware on coreclr"
This reverts commit 7f83cc4e99.
2015-04-15 13:55:21 -07:00
Praburaj 5a289a2c9b Merge branch 'packagename' into dev 2015-04-15 13:50:12 -07:00
Praburaj ebf76371de Adding a package description for the ELM middleware package
Fixes: https://github.com/aspnet/Diagnostics/issues/100
2015-04-15 12:10:04 -07:00
Praburaj 7f83cc4e99 Fixing runtime info middleware on coreclr
Fixes: https://github.com/aspnet/Diagnostics/issues/108
2015-04-15 11:04:03 -07:00
Praburaj 14ee7abf22 Remove hosting dependency on diagnostics package 2015-04-08 19:16:36 -07:00
Pranav K dc7e4c8c4f Merge branch 'release' into dev 2015-04-08 07:15:43 -07:00
Pranav K 9da95d620c Reacting to ICompilationMessage line indexes changing to be 1-based 2015-04-07 22:05:05 -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
Pranav K d2dfae108a * Remove ICompilation* interfaces from Diagnostics
* Removing error message from CompilationErrorPage since it repeats
 individual errors.

 Fixes #111
2015-04-02 12:37:33 -07:00
Kiran Challa 9cffbd171b Fix Elm extensions 2015-03-25 16:03:29 -07:00
Praburaj cb159a678a Fixing the Elm middleware to check if request has form content
With a change to HttpAbstractions, ReadFormAsync throws if called on a request whose content type is not
not form encoded content.
2015-03-24 10:43:00 -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