Forum Discussion

richard1245's avatar
richard1245
Copper Contributor
Nov 04, 2021

ASP.NET webforms - compilation/httpruntime configuration in asp.net web.config

Will having the following configuration in asp.net/webform web.config file work without security issues due to lack of support after April 2022 for .NET Framework v4.5.2, 4.6 and 4.6.1? ie - compilation is v4.8, httpruntime is v4.5.

 

<compilation debug="true" targetFramework="4.8">
...
</compilation>
<httpRuntime targetFramework="4.5"/>

1 Reply

  • Krisgolko's avatar
    Krisgolko
    Brass Contributor

    Hi richard1245

    I believe your configuration will continue to work after support has ended. Upgrades and security patches will no longer be available, though.

     

    To keep using .Net Framework based software, you should rather upgrade to v4.8. Is there any reasons not to?

     

    Besides, to have full control of compilation process you could upgrade your ASP.NET Web Site Project to ASP.NET Web Application project.

     

Resources