Separated Environment logic for .Net2 .Net4 MVC and WebApi