Improvements in CAS in .NET 4.0
Specify the various improvements made in the CAS in .NET 4.0?
Expert
CAS mechanism in .NET is used for controlling and configuring the ability of the managed code. Earlier, since this policy was applicable only for the native applications, the security guarantee was restricted. Thus, the developers need to look for the alternative solutions, for example: operating system-level solutions. This difficulty was resolved in .NET Framework 4 by turning off the machine-wide security. The shared and hosted Web applications will now run with more security. The security policy in .NET Framework 4 has been simplified by using transparency model. This model permits to run the Web applications without concerning the CAS policies.
As a result of changes in the security policy in .NET Framework 4.0, you can encounter compilation warnings and exceptions of runtime, if you try to use obsolete CAS policy types and members either explicitly or implicitly. But, you can avoid the warnings and errors by using the <NetFx40_LegacySecurityPolicy> configuration element within the runtime settings schema to opt into the obsolete CAS policy behaviour.
What do you mean by Cookie?
Explain the term culture and and UICulture values?
What are the rules and regulations which should be followed while creating the well-formed XML document?
Explain the Code Contracts?
How to access information about a user's locale?
Write the difference between a toolstrip split button and a toolstrip drop-down button ?
Define the function of a ViewState property?
Differentiate between the HtmlInputRadioButton or HtmlInputCheckBox control?
Name the parent class which is used to create all Windows services in .net?
How to make a windows desktop application using visual studio 2010 ultimate?
18,76,764
1923338 Asked
3,689
Active Tutors
1416155
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!