Commit Graph

34 Commits

Author SHA1 Message Date
N. Taylor Mullen e3e4176124 Try renaming functional tests as a potential mitigation for long path issues. 2017-03-23 11:12:20 -07:00
Nate McMaster 4c5739c852 Upgrade to VS 2017 2017-01-31 10:01:38 -08:00
Nate McMaster 215e41f673 Remove Microsoft.AspNetCore.DiagnosticsViewPage.Sources package 2017-01-09 12:13:05 -08:00
Kiran Challa c224a726f9 Moved PageGenerator to Razor repo and moved diagnostic view page sources to Common. 2016-08-29 13:43:00 -07:00
Kiran Challa 175a4c961e Revert "Moved PageGenerator and DiagnosticsViewPage projects to Common repo and some updates"
This reverts commit 7cabb3f117.
2016-08-25 17:22:09 -07:00
Kiran Challa 7cabb3f117 Moved PageGenerator and DiagnosticsViewPage projects to Common repo and some updates 2016-08-25 16:25:15 -07:00
Pranav K 8bf0612411 Move PageGenerator to the tools dir
Fixes #294
2016-07-07 11:38:54 -07:00
Kiran Challa af19899927 [Fixes #279] Deleted RuntimeInfo middleware, sample and tests 2016-05-16 13:12:40 -07:00
Eilon Lipton 0f74187a81 Fix package dependencies
Removed some extraneous dependencies and instead made all the
diagnostics packages be independent packages that happen to share some
concepts/source code.

The common Razor base class code was moved to a shared source file. Then
the Diagnostics page, ELM page, and EF database page all use that. Also
updated the page generator to use the new shared code.

See #257
2016-03-15 17:33:10 -07:00
ryanbrandenburg 6411fdcf29 * Add functional tests for samples 2016-02-01 11:12:27 -08:00
N. Taylor Mullen f5c5816a05 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:16 -08:00
Chris R c8990bcc29 Hosting#318 Add middleware analysis tools, sample. 2015-11-24 11:52:20 -08: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
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 4815e037dd Added Elm page sample 2015-07-15 09:04:27 -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
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
N. Taylor Mullen b07a656b8a Update .kproj => .xproj. 2015-03-11 14:05:30 -07:00
Praburaj f243244972 Adding ability to turn off the status code pages
Added a feature named IStatusCodeFeature with an enabled property. MVC or any framework can get this feature and turn it off if
it does not want status code pages logic to take over and send HTML response.

Also refactored the sample flow to make it easier to understand.
2015-02-12 11:09:47 -08:00
Chris Ross cd238d4545 Outline for StatusCodePages middleware. 2015-02-10 13:29:48 -08:00
SonjaKhan ce59419893 elm logger 2014-11-25 14:58:04 -08:00
rowanmiller ef544d9baa Update Microsoft.AspNet.Diagnostics.Entity to build in this repo
Previous commit copied code verbatim from EF repo
This commit updates it to build in this repo
2014-11-18 15:12:13 -08:00
SonjaKhan ac14c3222b making page generator work for different libraries 2014-10-29 11:36:52 -07:00
Chris Ross a0f3560095 New ErrorHandler middleware. 2014-10-11 07:04:07 -07:00
Victor Hurdugaci 0c3f7eab9e Runtime information page 2014-10-01 15:20:44 -07:00
Chris Ross d7f5c81b13 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 12:14:50 -07:00
DamianEdwards 61beff8fd1 Added grunt to do JS & CSS validation:
- Updated JS & CSS files according to errors reported
- Updated sake script to find all npm/grunt folders and operate on those, rather than on root

Build installs node/npm locally before running grunt

Refactored makefile.shade a little
2014-05-07 14:03:42 -07:00
Chris Ross 0c48454ad2 Fix HttpAbstractions dependency issues. 2014-05-06 10:39:14 -07:00
DamianEdwards b4de33eeea Added a console app to generate the Razor pages
- Replaces the TT files previously being used (in Katana)
- Modified the include file logic to work better with the new generated Razor output as the old syntax/logic didn't work well with the additional line pragmas, etc. being emitted
- Updated the middleware to work with new generated output (ExecuteAsync instead of Execute, etc.)
- Fixed a scoping issue in Error.cshtml
- gitignore sln.ide cache directory
- #3
2014-05-01 16:24:03 -07:00
David Fowler f5f225e6ea Updated to use new tooling 2014-04-08 02:11:05 -07:00
Chris Ross 7ddfc9cde4 Initial import from Katana. 2014-03-13 10:57:15 -07:00