I have an aspnet web application that I recently upgraded to dotnet framework v4.8. I changed the project's dotnet version to 4.8. And I have made two changes to the web.config:
<httpRuntime maxRequestLength="2147483647" maxUrlLength="2097151" executionTimeout="1600" requestLengthDiskThreshold="2147483647" targetFramework="4.8" />
and
<compilation debug="true" batch="false" targetFramework="4.8" optimizeCompilations="true">
I would like to know how a web server determines which version of dotnet to run under? We have like 20 websites that we deploy the same app to. We don't deploy the web.config file, as it is different on each site. Will I have to update the web.config on each web server? Or will it know to use the version it was compiled under?
I am not referring to the app pool settings, which let you choose between the major version of dotnet, 4.0 or 2.0. I would like to know how to tell if it is using dotnet v4.6 or v4.8.