Microsoft Exam Questions

How should you rewrite the code?

You need to ensure that the JavaScript object that is defined in the credentialManager.js file can be consumed by other Windows Store apps that are written in
different programming languages.
How should you rewrite the code?

A.
As a WinJS.Class object

B.
As an ASP.NET server control

C.
As a Windows Runtime component

D.
As an XAML control

Explanation:
Building your own Windows Runtime components to deliver great Metro style apps – Windows 8 app developer blog – Site Home – MSDN Blogs