ASP.NET MVC Boilerplate v3.0.0 Release Notes
Release Date: 2019-12-12 // over 4 years ago-
ASP.NET Core API Boxed
- ⬆️ Upgrade to ASP.NET Core 3.1.
- ⬆️ Upgrade to Swashbuckle 5.0.0 (Open API v3).
- 🏗 Switch to use the generic host builder.
- ⬆️ Upgrade to Serilog.AspNetCore 3.2.0 and it's middleware based request logging.
- 🔄 Change
Startup
to implementStartupBase
instead ofIStartup
. - 🔄 Change paging to use a GraphQL like approach.
- ➕ Add lots more tests.
- 🔄 Change integration tests to run all tests in parallel instead of relying on xUnit's
IClassFixture
. - ➕ Add
TestStartup
class in integration tests instead of relying on the flaky extension methods on the test host. - ➕ Add documented 500 ProblemDetails response to all API endpoints.
- ➕ Add more startup configurations to
launchSettings.json
. - ➕ Add
application/problem+xml
media type when enabling XML. - ➕ Add
Server-Timing
HTTP header to responses when in Development mode to aid in debugging. - ➕ Add ASP.NET Core logs to the xUnit integration test failure output.
- ✂ Remove the Correlation ID NuGet package and middleware.
- Display the
OperationId
in Swagger. - 👉 Use
<example>foo</example>
instead of schema filters for Swagger examples. - ➕ Add names for HTTP OPTIONS routes.
- 🔄 Change to only write logs to the console in development.
- ⚡️ Update .editorconfig file.
- ⚡️ Update .gitattributes file.
- ⬆️ Upgrade Microsoft.AspNetCore.Mvc.Versioning from
2.3.0
to3.2.1
. - 🛠 Fix passing cancellation tokens in controller.
- ✂ Remove
IsPackable
from integration test because xUnit includes it. - 🏗 Get
IOptions
fromIConfiguration
instead ofBuildServiceProvider
and thenResolve
. - 👉 Use
is null
instead of== null
. - 👉 Use the W3C Trace Context format in the main method.
ASP.NET Core GraphQL Boxed
- ⬆️ Upgrade to ASP.NET Core 3.1.
- 🏗 Switch to use the generic host builder.
- ⬆️ Upgrade to Serilog.AspNetCore 3.2.0 and it's middleware based request logging.
- 🔄 Change
Startup
to implementStartupBase
instead ofIStartup
. - 🔄 Change integration tests to run all tests in parallel instead of relying on xUnit's
IClassFixture
. - ➕ Add
TestStartup
class in integration tests instead of relying on the flaky extension methods on the test host. - ➕ Add more startup configurations to
launchSettings.json
. - ➕ Add
Server-Timing
HTTP header to responses when in Development mode to aid in debugging. - ➕ Add ASP.NET Core logs to the xUnit integration test failure output.
- 🔄 Change to only write logs to the console in development.
- ⚡️ Update .editorconfig file.
- ⚡️ Update .gitattributes file.
- ✂ Remove
IsPackable
from integration test because xUnit includes it. - 🏗 Get
IOptions
fromIConfiguration
instead ofBuildServiceProvider
and thenResolve
. - 👉 Use
is null
instead of== null
. - 👉 Use the W3C Trace Context format in the main method.
- Switch from
IUrlHelper
toLinkGenerator
.
Microsoft Orleans Boxed
- ⬆️ Upgrade to .NET Core 3.1.
- ⬆️ Upgrade to Orleans
3.0.2
. - ⬆️ Upgrade to Serilog 2.9.0.
- 🏗 Switch to use the generic host builder.
- ➕ Add more startup configurations to
launchSettings.json
. - ⚡️ Update .editorconfig file.
- ⚡️ Update .gitattributes file.
- ➕ Add TLS option (you need to setup your own TLS certificate).
- 🛠 Fix calling Dispose on integration test cluster.
- ✂ Remove
IsPackable
from integration test because xUnit includes it. - 🏗 Get
IOptions
fromIConfiguration
insteaofBuildServiceProvider
and thenResolve
. - 👉 Use
is null
instead of== null
.