.NET Core and .NET 5
appsettings.json
web.config and .NET framework
.NET moved away form using web.config to appsettings.json with the introduction of .NET Core/ This change was part of the new configuration system introduced in .NET Core, which is more flexible and easier to use compared ot the traditional web.config used in .NET Framework.