The ASP.NET 4.0 has been a core update to ASP.NET 2.0. .NET 3.0 and .NET 3.5 were based on .NET 2.0 having additional assemblies only, not the core components. If you have installed all of these frameworks 2.0, 3.0, 3.5, 4.0 and you try to upgrade your ASP.NET 2.0 application, in IIS you will be able to find 2.0 and 4.0 version of the framework only.
Below is the list of the breaking changes in ASP.NET 4.0 that could affect your existing application while upgrading.
- ControlRenderingCompatibilityVersion Setting in the Web.config File
- ClientIDMode Changes
- HtmlEncode and UrlEncode Now Encode Single Quotation Marks
- ASP.NET Page (.aspx) Parser is Stricter
- Browser Definition Files Updated
- System.Web.Mobile.dll Removed from Root Web Configuration File
- ASP.NET Request Validation
- Default Hashing Algorithm Is Now HMACSHA256
- Configuration Errors Related to New ASP.NET 4 Root Configuration
- ASP.NET 4 Child Applications Fail to Start When Under ASP.NET 2.0 or ASP.NET 3.5 Applications
- ASP.NET 4 Web Sites Fail to Start on Computers Where SharePoint Is Installed
- The HttpRequest.FilePath Property No Longer Includes PathInfo Values
- ASP.NET 2.0 Applications Might Generate HttpException Errors that Reference eurl.axd
- Event Handlers Might Not Be Not Raised in a Default Document in IIS 7 or IIS 7.5 Integrated Mode
- Changes to the ASP.NET Code Access Security (CAS) Implementation
- MembershipUser and Other Types in the System.Web.Security Namespace Have Been Moved
- Output Caching Changes to Vary * HTTP Header
- System.Web.Security Types for Passport are Obsolete
- The MenuItem.PopOutImageUrl Property Fails to Render an Image in ASP.NET 4
- Menu.StaticPopOutImageUrl and Menu.DynamicPopOutImageUrl Fail to Render Images When Paths Contain Backslashes
- Disclaimer