Can I switch my application pool from .NET 2 to .NET 4 without danger?
I have screwturn installed it uses app pool .net 2. C开发者_JAVA技巧an I switch to .NET 4 without danger ?
This should help: How to: Upgrade an ASP.NET Web Application to ASP.NET 4. You shouldn't have any issues. Personally I'd try it in a local or test environment first.
No, basically. When I last changed from 2.0 to 4.0 on an app-pool, we needed subtle but critical changes to configuration files (in particular), but ultimately any part of the runtime could have feature changes that break existing code on some edge cases.
Specifically for Screwturn wiki, per developer Dario Solera (Jan 2012): You must run STW in a .NET 2.0 app pool as .NET 4.0 is not supported.
精彩评论