Commit Graph

65 Commits

Author SHA1 Message Date
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
Victor Hurdugaci b466013235 Update KProj to the latest format 2014-11-12 15:01:34 -08:00
Pranav K 274d40459f Cleaning up sample project.json
Primarily meant to remove reference to System.Security.Claims 1.0 package
2014-10-17 07:52:30 -07:00
Chris R acd88a6ca7 Merge pull request #38 from tugberkugurlu/ErrorTitleShowNewLine
showing the error message inside pre tag in order to properly render the new lines
2014-10-16 08:55:30 -07:00
Chris Ross a0f3560095 New ErrorHandler middleware. 2014-10-11 07:04:07 -07:00
Pranav K 3279c15047 Reacting to CLR package versioning changes 2014-10-10 10:31:13 -07:00
tugberkugurlu a023b08282 replacing newlines inside the error message with the HTML br tag on error
page to properly dispaly the newlines on the error page
2014-10-10 11:26:59 +03:00
Chris Ross 001639ff48 Update helios dependency in samples. 2014-10-07 10:58:45 -07:00
Victor Hurdugaci 0c3f7eab9e Runtime information page 2014-10-01 15:20:44 -07:00
Pranav K 417556c84c Reacting to System.Text.Encoding package version change 2014-09-11 10:06:41 -07:00
Chris Ross d7f5c81b13 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 12:14:50 -07:00
David Fowler 5f685a6629 Updated to use the new target framework in project.json 2014-09-04 01:37:15 -07:00
David Fowler cce48f4cdf Updated to use the new target framework in project.json 2014-08-28 22:00:36 -07:00
Pranav K d0eb26026a Reacting to System.IO package version change 2014-08-20 06:56:29 -07:00
David Fowler f354762f23 Removed sources from project file 2014-08-15 07:57:28 -07:00