July 2015
Intermediate to advanced
1300 pages
87h 27m
English
If you move your existing code to .NET Framework 4.x and used Code Access Security policies, you might be advised with a message saying that CAS is obsolete. In these situations, you can add a specific section to the application configuration file, which allows legacy policies that look like this:
<configuration> <runtime> <NetFx40_LegacySecurityPolicy enabled="true"/> </runtime></configuration>
Of course, you always need to check whether legacy policies are appropriate in the particular scenario you are facing. You are encouraged to read the MSDN documentation about CAS migration, available at http://msdn.microsoft.com/en-us/library/ee191568(v=vs.110).aspx.
Read now
Unlock full access