70-518 · Question #246
You are designing a Windows Presentation Foundation (WPF) application for your company by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010. The user interface (UI) tier of the…
The correct answer is C. Design a new Primary Interpol Assembly (PIA) by using appropriate source attenuates for the COM. See the full explanation below for the reasoning.
Question
You are designing a Windows Presentation Foundation (WPF) application for your company by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010. The user interface (UI) tier of the application will be developed by using Windows Presentation Foundation (WPF). The middle tier of the application will be developed by using Windows Communication Foundation (WCF). You plan to use several legacy third-party COM components. You do not have access to the source code of these components. You need to ensure that the following requirements are met:
- The middle tier can use the COM components
- Application developers can debug the application.
- The application must allow for a gradual migration away from the
COMcomponents What should you do?
Options
- AAdd references to the COM components in the UI tier
- BDesign a thin interface layer assembly that uses COM Callable Wrappers (CCWs) to dynamically
- CDesign a new Primary Interpol Assembly (PIA) by using appropriate source attenuates for the COM
- DDesign a custom wrapper assembly that uses the methods of the Type Lib Converter class to load
How the community answered
(36 responses)- A6% (2)
- B3% (1)
- C83% (30)
- D8% (3)
Community Discussion
No community discussion yet for this question.