Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Windows Store Apps from scratch

Back to Forum: Tech Off
  • User profile image

    Hi everyone, I am looking for some sort of reference or article on how to create a Windows Store app from scratch. And by from scratch I mean starting with an empty project in VS2012 and _NOT_ the empty Windows Store App template as every article in the MSDN library I have seen suggests. I am well aware that that is not an efficient way of doing things but I would like to understand the magic that happens when VS2012 generates all that stuff. Cheers,

  • User profile image

    The empty template isn't generating anything more than the required components that specify it as a Windows store app. It's not a template anymore without those components. Furthermore, Visual Studio generates even more code after compilation to do things like bind XAML with its codebehind. 

    A lot of the code is making calls to WinRT libraries, e.g to render a window and register tile updates. You could in theory come up with all that code for yourself, but it probably wouldn't look much different to what's already generated for you as you have to make calls to WinRT in a certain pattern (or else your app is terminated), and you would probably end up just looking at the templates anyway in the end. There's really no point.

    I'd suggest you just look at the empty template and trace through stuff if you really want to learn.

  • User profile image

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.