Export (0) Print
Expand All

Runtime Changes in the .NET Framework 4.5.2

.NET Framework 4.5

In rare cases, runtime changes may affect existing apps that target the previous versions of the .NET Framework but run on the .NET Framework 4.5.2 runtime. They include changes in the following areas:

Feature

Change

Impact

Scope

enableViewStateMac attribute of the pages element

ASP.NET no longer allows developers to specify:

<pages enableViewStateMac="false" />

or:

<@Page EnableViewStateMac="false" %>

The view state message authentication code (MAC) is now enforced for all requests with embedded view state. Only apps that explicitly set the EnableViewStateMac property to false are affected.

For more information, see Resolving view state message authentication code (MAC) errors.

Major

Feature

Change

Impact

Scope

Relationships over a QueryView

Entity Framework no longer throws a StackOverflowException exception when an app executes a query that involves a QueryView with a 0..1 navigation property that attempts to include the related entities as part of the query (for example, by calling .Include(e=>e.RelatedNavProp).

This change only affects code that uses QueryViews with 1-0..1 relationships when running queries that call .Include. It improves reliability and should be transparent to almost all apps. However, if it causes unexpected behavior, you can disable it by adding the following entry to the <appSettings> section of the app's configuration file:

<add key="EntityFramework_SimplifyUserSpecifiedViews" value="false" />

Edge

Show:
© 2014 Microsoft