If you don’t have VS 2011, you can download the generated solutions from my GitHub repo:
This is the solution of a Blank Application:
Notice the winjs folder, with js files. This is the new namespace we can use in Metro apps. Detailed info:
And there is a package manifest file: it’s describe the capabilities of the application (i.e: it can access Internet, it expose the search contract, etc…).
The default.html code:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>BlankApp</title> <!-- WinJS references --> <link rel="stylesheet" href="/winjs/css/ui-dark.css" /> <script src="/winjs/js/base.js"></script> <script src="/winjs/js/wwaapp.js"></script> <!-- BlankApp references --> <link rel="stylesheet" href="/css/default.css" /> <script src="/js/default.js"></script> </head> <body> </body> </html>
The ui-dark.css is used. This is the “black style” you usually see at Metro apps.
- wwaapp.js (after base.js)
- ui.js (after base.js)
- binding.js (after ui.js)
- res.js (after ui.js)
- animations.js (after ui.js)
- controls.js (after animations.js)
- uicollections.js (after animations.js)
Angel “Java” Lopez