Commit Graph

217 Commits

Author SHA1 Message Date
John Luo 412d125c95 PR #299 Cleanup 2016-06-15 11:05:44 -07:00
jamie d6c8dae3f0 StatusCodePagesOptions.HandleAsync only includes a semicolon where a reason phrase for the HTTP status is available.
Added Unit Test to cover all HTTP Status Codes from 400 - 599 (inclusive).
2016-06-15 11:05:44 -07:00
N. Taylor Mullen 6a577da3b2 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:29:48 -07:00
Pranav K b7c924b449 Use Microsoft.Extensions.StackTrace.Sources 2016-06-03 16:35:27 -07:00
BrennanConroy 0025724433 Replace PlatformAbstractions with RuntimeInformation 2016-05-31 11:10:40 -07:00
Pranav K 58ef466fa2 Fix build warning 2016-05-20 17:10:56 -07:00
Kiran Challa af19899927 [Fixes #279] Deleted RuntimeInfo middleware, sample and tests 2016-05-16 13:12:40 -07:00
Rowan Miller 9a411df59f Merge branch 'release' into dev
# Conflicts:
#	src/PageGenerator/project.json
2016-05-10 12:34:53 -07:00
Rowan Miller b9565b9ba3 Include instructions for PMC migrations commands
Update database error page to include instructions for using Package Manager Console commands to add/apply migrations.

Resolves #290
2016-05-10 12:08:12 -07:00
Pranav K 53327df4fc Merge branch 'release' into dev 2016-05-02 14:55:45 -07:00
Pranav K 0b393fbc04 Fix build warnings 2016-05-02 13:21:03 -07:00
Ryan Brandenburg 48b436ec8a Allow query string on ReExecuting status code page 2016-05-02 10:57:20 -07:00
Pranav K 3d09f972ad Remove IApplicationEnvironment references 2016-04-26 12:12:57 -07:00
Pranav K ba6044a5f3 Remove references to IApplicationEnvironment \ IRuntimeEnvironment 2016-04-26 09:42:31 -07:00
Pranav K a35571b8c5 Use latest build of dotnet-test-xunit 2016-04-19 14:53:55 -07:00
Pavel Krymets 09ce98ec41 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:04:24 -07:00
Pavel Krymets 4432018ebe Migrate tests, tools and samples to portable 2016-04-15 09:34:48 -07:00
John Luo dfc2e71d7f Moving web.config and use ANCM 2016-04-11 10:08:14 -07:00
BrennanConroy 591ae3c26a React to logging changes 2016-04-01 11:51:00 -07:00
Doug Bunting f1a02433be React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:14:34 -07:00
John Luo 0a444088c9 React to Hosting startup filter order reversal 2016-03-18 15:23:04 -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
Pranav K f1d588bb54 * Fixing missed changes in EF reaction
* Remove npm install warning.
* Target minimal tfm in Diagnostics.Abstractions
2016-03-12 16:32:59 -08:00
Arthur Vickers 526e5c8032 React to EF D.I. changes 2016-03-11 10:34:06 -08: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
Eilon Lipton 3d72f5207f Fix package metadata
Plus a few other pre-Core names.
2016-03-07 22:50:04 -08:00
jacalvar 38b727948b Make ServiceCollectionExtensions consistent 2016-03-04 10:57:30 -08:00
Pranav K fba3641a6b Remove Mvc dependency from Diagnostics 2016-03-03 06:34:49 -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
Doug Bunting af97bcd8e2 Do not attempt to use localDb except on Windows
- #251

nit: add `--quiet` to Travis configuration so that log can be displayed in browser
2016-02-25 09:58:24 -08:00
John Luo a9644a5bf3 Updating test TFMs for custom test discovery 2016-02-22 15:45:55 -08:00
Kiran Challa a03b2dc6b4 Enable tests to run using dotnet xunit runner 2016-02-09 22:18:22 -08:00
John Luo 8d804cfbbc Updating to new CLI 2016-02-03 13:40:06 -08:00
ryanbrandenburg 6411fdcf29 * Add functional tests for samples 2016-02-01 11:12:27 -08:00
Brennan 4e5c99fabc React to Logging API changes 2016-01-25 09:32:41 -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
N. Taylor Mullen 6102699916 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:07 -08:00
Brennan 88fc5c143a React to Fileprovider namespace changes 2016-01-21 17:08:21 -08:00
John Luo f08e1f9428 Reacting to hosting rename 2016-01-17 17:56:18 -08:00
Victor Hurdugaci 5693932003 Build with dotnet 2016-01-11 15:24:42 -08:00
John Luo e076040b67 Updating to new options pattern 2016-01-08 17:12:48 -08:00
ryanbrandenburg 886c33f200 * Remove libraries from RuntimeInfoMiddleware 2016-01-05 12:06:07 -08:00
Pranav K 7e47449f85 Use default encoders all the time
Fixes #234
2015-12-29 16:49:06 -08:00
John Luo 20723c4067 Remove usage of TestPlatformHelper 2015-12-23 12:11:44 -08:00
Hao Kung 8b71e9232f OptionsModel => Options 2015-12-21 14:57:18 -08:00
John Luo c476f91152 Reacting to new Hosting API 2015-12-18 15:57:26 -08:00
Pranav K e384b7d4d0 Remove ErrorPageOptions 2015-12-15 11:08:47 -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
Brennan 206b7b9113 Dispose FileWatcher in tests 2015-12-03 11:42:28 -08:00
John Luo 208f0f8a58 Reacting to hosting test server changes 2015-12-01 15:47:25 -08:00
Pranav K ca62719f9d Skip tests that are failing due to Mono issues
Fixes #214
2015-12-01 09:54:47 -08:00
Pranav K f0c2d7ed25 Updating tests to run on dnxcore50 2015-11-24 14:21:06 -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
Pranav K 6f5b20660e Skip tests that rely on back slashes as part separator on Linux
Fixes #191
2015-11-19 15:50:05 -08:00
Pranav K 39d9303769 Reacting to DI changes 2015-11-13 11:22:53 -08:00
Cesar Blum Silveira 4ced3c51ef Merge branch 'release' into dev 2015-11-04 10:49:27 -08:00
Cesar Blum Silveira eed6051eb3 Strong name everything except Microsoft.AspNet.Diagnostics.Entity. 2015-11-03 17:35:50 -08:00
Chris R c239b67368 React to WebEncoders and Http.Abstractions changes. 2015-11-02 17:46:25 -08:00
Rowan Miller ddf6a45f80 💚 Skip LocalDb dependent test on Mono
Some tests rely on LocalDb and therefore do not run on Mac/Linux. We
have https://github.com/aspnet/Diagnostics/issues/176 open to address
this, but in the meantime some of the tests are skipped. Adding one more
test that we missed.
2015-10-29 11:42:57 -07:00
Rowan Miller c35afcc1a8 💚 Prepare for IAccessor API change in EF
IAccessor is being renamed to IInfrastructure. The places we use it in
this repo can actually use an extension method instead and avoid the
cast, so updating to that.
2015-10-26 10:10:30 -07:00
Pavel Krymets a97d55b10c Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions 2015-10-22 19:30:09 -07:00
Pranav K 3e7eb6df61 Skip auto generated files from API consistency 2015-10-22 10:29:22 -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
Chris R b144f5fd7c React to HttpRequestIdentifierFeature default change. 2015-10-16 10:15:56 -07:00
Pranav K 84b91c95fe Turn off warningsAsErrors in tests to unblock CI 2015-10-09 10:45:41 -07:00
Nate McMaster ba2bb3f0c9 React to EF rename 2015-10-05 13:44:26 -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
Arthur Vickers 6afe357271 Strategy rename 2015-09-24 11:08:41 -07:00
Arthur Vickers 062d072712 React to EF fluent API changes 2015-09-24 10:38:13 -07:00
Pranav K af4f0fc6f0 Reacting to IChangeToken changes 2015-09-22 08:32:52 -07:00
Nate McMaster 8e7fca953c React to changes in EF. https://github.com/aspnet/EntityFramework/pull/3108 2015-09-15 11:43:00 -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 c46615dc53 Added new extensions UseExceptionHandler & UseDeveloperExceptionPage 2015-09-09 09:38:39 -07:00
Kiran Challa 5cb8ad3d87 Skipped tests using file paths not supported on Mono 2015-09-04 01:07:03 -07:00
Kiran Challa 12d9302a31 Skipped Database error page tests temporarily to fix Travis CI 2015-09-04 00:46:23 -07:00
N. Taylor Mullen a8df52fa7c Update project.json to have warningsAsErrors accept a bool. 2015-09-02 15:34:39 -07:00
Hao Kung 088f2f81cc React to options 2015-09-02 14:26:42 -07:00
Chris R ecc5874b6c Fix test. 2015-08-31 10:51:48 -07:00
Chris R 0bb77764d3 Use the new HttpContext.Features API. 2015-08-31 07:51:36 -07:00
Brice Lambson b95f67733d React to aspnet/EntityFramework#2948 2015-08-28 12:11:30 -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
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
Chris R 0e05c64855 React to IFeatureCollection changes, test cleanup. 2015-08-04 09:09:53 -07:00
mikary c0255f4188 React to aspnet/EntityFramework#2757 2015-07-31 12:38:57 -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 ab124d2ca0 Reacting to merging of FeatureModel into Http.Features 2015-07-17 10:06:24 -07:00