When you first install Visual Studio 2015 and want to start developing for windows 10 all you get an empty blank template... which is not great.
At least in when we started developing for Windows 8.1 we had the option to start with different tempaltes:
- Blank App
- Hub App
- Grid App
- And more
So why when we want to create a Windows Universal App in Visual Studio 2015 we only have a blank application template where is the love!!
Why did the Visual Studio Team do this to us? did we do something wrong? I don't know... but I found a solution and this is where Jerry Nixon and the Github community comes in and try to give you a hand!
Template 10: https://github.com/Windows-XAML/Template10 is a Windows app project template that can help you speed up your development time!
Thanks to the great job of the community Template 10 allows us Universal application developers for Windows 10 to have a very nice starting base for your development and it also gives you conventions that you SHOULD follow =).
Here are the conventions that Template 10 uses:
- Views (XAML files) are located in an /Views folder (and ns)
- Only have one view-model for one view
- View-models are located in a /ViewModels folder (and ns)
- Use OnNavigatedTo in view-models, not pages
- Models are located in a /Models folder (and ns)
- Use the façade pattern with our models
- Navigate using a NavigationService
- Communicate with a Messenger
- Dependency Injection
- We use Template 10 ;-)
I'll let you check out the Github repository: https://github.com/Windows-XAML/Template10
Or you can download the Visual Studio template here: https://visualstudiogallery.msdn.microsoft.com/60bb885a-44e9-4cbf-a380-270803b3f6e5
Thanks for reading.