Microsoft
70-518 · Question #40
You have developed a Windows application by using Microsoft .NET Framework 4, Windows Presentation Foundation (WPF), and Microsoft SQL Server 2008. The application is deployed as an XAML Browser…
The correct answer is C. Design a WCF Service tier to provide database access. See the full explanation below for the reasoning.
Question
You have developed a Windows application by using Microsoft .NET Framework 4, Windows Presentation Foundation (WPF), and Microsoft SQL Server 2008. The application is deployed as an XAML Browser Application (XBAP) and executes in the Internet Zone in Internet Explorer. The application updates data in a SQL Server 2008 database. Users report that a SecurityException exception occurs when the application attempts to save data to the database. You need to design a solution to resolve the problem. What should you do?
Options
- ARedesign the XBAP application by using partial trust.
- BRedesign the XBAP code to utilize stored procedures.
- CDesign a WCF Service tier to provide database access.
- DDesign a data access layer that uses ASP.NET Entity Framework to communicate with the
How the community answered
(57 responses)- A5% (3)
- B2% (1)
- C79% (45)
- D14% (8)
Community Discussion
No community discussion yet for this question.