-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to ASP.NET Core 2.1 #178
Conversation
Codecov Report
@@ Coverage Diff @@
## master #178 +/- ##
=========================================
+ Coverage 57.47% 58.9% +1.42%
=========================================
Files 66 68 +2
Lines 3149 3105 -44
Branches 413 403 -10
=========================================
+ Hits 1810 1829 +19
+ Misses 1153 1088 -65
- Partials 186 188 +2
Continue to review full report at Codecov.
|
Update to use ASP.NET Core 2.1 (preview 1) and HttpClientFactory.
Use Microsoft.AspNetCore.Mvc.Testing for integration tests.
Remove Microsoft.VisualStudio.Web.CodeGeneration.Tools as it appears to be failing to restore NuGet packages.
Update the version of the site to 2.1.0.
Use explicit versions of gulp and npm in CI. Update to npm 5.7.1.
Add middlewares for HSTS and HTTP to HTTPS redirection.
Configure HSTS and remove header from custom middleware.
Fix integration tests by setting the test server base address to HTTPS.
Use in-process IIS hosting instead of the reverse-proxy hosting.
Update all npm packages to their latest versions.
Downgrade karma-typescript to a version that works.
d86be77
to
9c75fdd
Compare
Fix code analysis warnings for string comparisons. Work around incorrect "assembly version missing" warnings.
Run gulp publish when the site project is opened.
Use Microsoft.AspNetCore.App instead of Microsoft.AspNetCore.All.
Update to preview 2 of .NET Core 2.1. Update various other dependencies to their latest versions.
The logging is a lot more verbose when running in CI now - need to turn it down to speed up the build. Might be to do with the changes to the fixture for the integration tests. |
Update to release candidate 1 of .NET Core 2.1. Update various other dependencies to their latest versions.
Use the early access NuGet feed to migrate to the RTM version of ASP.NET Core 2.1.
Update npm packages and lock file after merge.
Update to npm 6.1.0.
Once RTM packages are in nuget.org, just need to drop the extra NuGet feed and then will do a squash merge. |
Refactor application startup to remove redundant setup of configuration, move configuration into the host building, remove the need to use TestStartup and prepare to remove StartupBase.
Reduce the log verbosity used when running on the console for local development.
Remove the separate StartupBase class and just use a single Startup class.
Remove redundant configuration for the application builder.
Remove the need to explicitly set the tests to run as Development instead of Production.
Comparing fe55939 against a6f946a using Kestrel in Development mode: BenchmarkDotNet=v0.10.14, OS=Windows 10.0.17134
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=2.1.300
[Host] : .NET Core 2.1.0 (CoreCLR 4.6.26515.07, CoreFX 4.6.26515.06), 64bit RyuJIT
DefaultJob : .NET Core 2.1.0 (CoreCLR 4.6.26515.07, CoreFX 4.6.26515.06), 64bit RyuJIT
|
Looks like there’s some double-logging going on. |
Fix logs being written to Serilog twice.
Update the log levels used in the tests to reduce CI verbosity (hopefully).
Remove configuration for IIS in-process hosting as this is no longer part of ASP.NET Core 2.1.0.
Remove the early-access download feed URL for 2.1.0 now that the packages have been published to nuget.org.
Revert to using tags to get the script to download the SDK.
Just waiting for Azure Web Apps to deploy the |
Revert to karma 1.3.0 (for now) as it does not work in VSTS.
Migrate to puppeteer from PhantomJS as it doesn't work in VSTS anymore.
Downgrade console.error() to console.warn() when trying to register a service worker.
Fix the launch configuration for VS Code broken by #178.
Migrate the application to ASP.NET Core 2.1. Changes include:
2.1.300
.2.1.0
.Microsoft.AspNetCore.App
NuGet package instead ofMicrosoft.AspNetCore.All
.Microsoft.Extensions.Http
(HttpClientFactory) for use ofHttpClient
.Microsoft.AspNetCore.Mvc.Testing
for integration tests.Refit
to call the TfL API.