Commit Graph

79 Commits

Author SHA1 Message Date
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
Arthur Vickers 1e80a9a85c Update to reflect changes in EF service registration 2016-03-10 15:52:36 -08:00
= 57744b712f Target net451 so functional tests execute with xunit runner on linux 2016-03-09 17:07:49 -08:00
Pranav K 345c79deb9 Remove version from StatusCodeSample to make it similar to other samples.
This prevents a version conflict warning during build.
2016-03-09 11:48:28 -08:00
jacalvar 38b727948b Make ServiceCollectionExtensions consistent 2016-03-04 10:57:30 -08:00
Doug Bunting 0ae7fd0a93 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 16:39:31 -08:00
N. Taylor Mullen be3c20cab4 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:36:28 -08:00
Hisham Bin Ateya 82e1bcf261 Add 'UseServer' 2016-02-04 02:12:14 +03:00
John Luo 8d804cfbbc Updating to new CLI 2016-02-03 13:40:06 -08:00
N. Taylor Mullen a837854f4b Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:34 -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
John Luo f08e1f9428 Reacting to hosting rename 2016-01-17 17:56:18 -08:00
Chris R c536b339d0 React to hosting API changes. 2016-01-12 15:08:05 -08:00
ryanbrandenburg 886c33f200 * Remove libraries from RuntimeInfoMiddleware 2016-01-05 12:06:07 -08:00
John Luo c476f91152 Reacting to new Hosting API 2015-12-18 15:57:26 -08:00
Kiran Challa 573bdcc318 Updated Travis config to enable running on Mac and also fixed test 2015-12-10 11:27:38 -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
John Luo da7fe362c9 Reacting to ApplicationServices removal from HttpContext 2015-11-19 16:32:19 -08:00
Chris R c239b67368 React to WebEncoders and Http.Abstractions changes. 2015-11-02 17:46:25 -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
Pranav K 3657a1a14b Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:46 -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
Chris R 0bb77764d3 Use the new HttpContext.Features API. 2015-08-31 07:51:36 -07:00
Kiran Challa 5ffac92a1d Added wwwroot folder to WelcomePageSample 2015-08-10 13:12:15 -07:00
Kiran Challa 22449a09f7 Merge branch 'release' into dev 2015-07-16 18:56:17 -07:00
Kiran Challa fea15eb8de Removed creation of request id logging scope 2015-07-16 18:51:57 -07:00
Kiran Challa 4815e037dd Added Elm page sample 2015-07-15 09:04:27 -07:00
Kiran Challa f7e7ce53a5 [Fixes #145] Fix typo "collapsable" to be a real word ("collapsible") 2015-07-14 20:50:32 -07:00
Chris R 9e547d5a9d Remove extra bracket from error page view. 2015-06-16 10:25:54 -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
Troy Dai 6676651e54 Remove comments from project.json 2015-05-12 14:04:15 -07:00
N. Taylor Mullen b1643b438a Update LICENSE.txt and license header on files. 2015-05-01 13:46:24 -07:00
Chris Ross af641b1ca5 Handle removal of HttpResponse.SendAsync extension. 2015-04-23 11:40:47 -07:00
Doug Bunting 9d095e2f21 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49: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 684983effb Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:48:36 -07:00
Praburaj 18696828cc Using new IHtmlEncoders
Fixes: https://github.com/aspnet/Diagnostics/issues/89
2015-03-06 11:29:58 -08: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
Praburaj 31afaca7e3 Renaming some extensions to disambiguate ones with similar parameters. 2015-02-10 17:03:41 -08:00
Praburaj 686d517966 Updating extension names 2015-02-10 16:30:42 -08:00
Praburaj 23ef6d4eb8 Changing extensions from StatusCodePagesOptions to IApplicationBuilder.
Addressing few more PR comments.
2015-02-10 16:18:06 -08:00
Praburaj 6850035d8e PR comments
Addressing some outstanding PR feedback.
2015-02-10 14:54:59 -08:00
Chris Ross cd238d4545 Outline for StatusCodePages middleware. 2015-02-10 13:29:48 -08:00
SonjaKhan 71a4c18598 Collapsed Logs 2014-12-11 16:49:13 -08:00
Victor Hurdugaci eb99bf25a3 Add schema version to kproj files 2014-11-25 10:39:01 -08:00