We have a mixed environment of web applications running various .NET frameworks. These web applications target .NET starting from .NET 4.0 and go up from there. The code i