What should you do?

You are upgrading a stand-alone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft NET Framework 4 You plan to add NET 4 types and members to both applications. Both applications consume a common utility assembly that modifies files on a local file system.
The utility assembly requires full trust.
You need to ensure that both applications can use the common utility assembly without any security-related exceptions.
What should you do?

You are upgrading a stand-alone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft NET Framework 4 You plan to add NET 4 types and members to both applications. Both applications consume a common utility assembly that modifies files on a local file system.
The utility assembly requires full trust.
You need to ensure that both applications can use the common utility assembly without any security-related exceptions.
What should you do?

A.
Change the <supported Runtime> element for the WPF application to the NET Framework 35

B.
Change the <supported Runtime> element for the XBAP application to the NET Framework 35

C.
Apply the Allow Partially Trusted Callers attribute to the utility assembly

D.
Apply the Allow Partially Trusted Callers Attribute to the XBAP application



Leave a Reply 0

Your email address will not be published. Required fields are marked *