ASP.NET MVC Boilerplate Framework v5.0.0 Release Notes
Release Date: 2019-11-12 // over 4 years ago-
- โฌ๏ธ Upgrade to .NET Core 3 SDK and target
netcoreapp3.0
. - ๐ฆ Switch from NuGet
PackageIconUrl
toPackageIcon
, so the icon is now embedded in the package. - โฌ๏ธ Upgrade
Micorosoft.Extensions.*
NuGet packages to3.0.0
. - Switch from
Newtonsoft.Json
toSystem.Text.Json
. - ๐
DistributedCacheExtensions
now usesSystem.Text.Json
and serializes directly to UTF8 for performance reasons. - ๐ Use Ordinal string comparisons.
- Switch from
IHostingEnvironment
toIWebHostEnvironment
. RedirectToCanonicalUrlRule
implementsMicrosoft.AspNetCore.Rewrite.IRule
and can be used to redirect to a single canonical URL. This used to be an MVC filter.HttpExceptionMiddleware
now implementsIMiddleware
.- โ Remove site map code. Look at the source code for the The ASP.NET Core standup site for how to do this in a better way.
- โ Remove
UrlHelperExtensions
. UseLinkGenerator
instead. - โ Remove
ConfigurationExtensions.GetSection<T>
. UseIConfiguration.Get
instead. - โ Remove
InternalServerErrorOnExceptionMiddleware
since it was unused. - โ Remove
NoCacheAttribute
.
- โฌ๏ธ Upgrade to .NET Core 3 SDK and target