May 2010
Intermediate to advanced
1272 pages
61h 18m
English
If you move your existing code to .NET Framework 4 and you made use of Code Access Security policies, you might be advised with a message saying that CAS is obsolete. In these particular situations you can add a specific section to the application configuration file, which allows legacy policies that look like this:

Of course, you always need to check if legacy policies are appropriate in the particular scenario you are facing. The suggestion is to read the MSDN documentation about CAS migration, available at http://msdn.microsoft.com/en-us/library/ee191568(vs.100).aspx.
Understanding how assemblies work ...
Read now
Unlock full access