I have an ASP.NET Core application that uses Microsoft.AspNetCore version 2.2.0
library. This library uses System.Text.Encoding.Web version 4.5.0
library internally. We need to upgrade the application to use at least System.Text.Encoding.Web version 4.5.1
library due to security issues.
How can this be done in a .NET Core application?
We could do this easily in a .NET application, by using AssemblyRedirect
properties in the web.config
file.