Questions tagged [template10]

Template 10 is a set of Visual Studio project templates intended for Windows 10 UWP XAML apps written in C#.

Template 10 is a set of Visual Studio project templates. They are intended to boost developer productivity by getting ~80% of the boilerplate stuff delivered in the template - things like navigation, suspension, and even a Hamburger control.

Template 10 is intended for Windows apps written in C#. You can install Template 10 by searching for "Template 10" in the Visual Studio 2015 Extension Manager. Once installed, Template 10 templates will show up in the New Project dialog.

More info can be found at the official GitHub repository.

297 questions
12
votes
3 answers

App Certification fails because of PreLaunch Test

When I run the App Certification on my Template 10 based app, I get the following error: Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test -…
Eric Grover
  • 421
  • 3
  • 9
9
votes
2 answers

How do I use a Unity IoC container with Template10?

I have an app based on Template10 and want to handle my dependency injection using IoC. I am leaning toward using Unity for this. My app is divided into three assemblies: UI (Universal app) UI Logic (Universal Library) Core Logic (Portable…
Christoffer Reijer
  • 1,925
  • 2
  • 21
  • 40
8
votes
2 answers

UWP ContentDialog Invocation

I am using UWP and Template 10 to build a GUI app by following MVVM pattern. As a part of application I need to invoke a content dialog by pressing button on Main Page. So separate ContentDialog was created in standalone .xaml file for that…
Dmytro
  • 196
  • 1
  • 8
  • 19
6
votes
2 answers

UWP Template 10 and Service Dendency Injection (MVVM) not WPF

I have spent over two weeks searching google, bing, stack overflow, and msdn docs trying to figure out how to do a proper dependency injection for a mobile app that I am developing. To be clear, I do DI every day in web apps. I do not need a crash…
5
votes
1 answer

Generic base class for Pages/Views in UWP Windows 10 App

In a UWP-Windows 10 C#/XAML app using Template10, I'm currently trying to have my pages/views inherit from a base class that inherits from Windows.UI.Xaml.Controls.Page. This has been working correctly, however when I try to make the base class…
cloudcrypt
  • 769
  • 5
  • 22
5
votes
2 answers

How do I NOT animate a list view in XAML?

This applies to UWP, how can I disable animation of list view items? I have a method that runs every few seconds, and the fly-in animation effect makes it visually displeasing. I want to disable the effect. Not much code to share, but here's my…
haosmark
  • 1,097
  • 2
  • 13
  • 27
5
votes
4 answers

Entity Framework Core Enable-Migrations build the Configuration.cs file with Errors

I ran Enable-Migrations after much drama I finally got the command right so that it creates the Migrations directory within my project. However, this is the file it gave me back.. I have moved the Using Statements to the top and removed the ones…
ekgcorp
  • 165
  • 1
  • 11
5
votes
1 answer

Adding BasedOn Style on App.xaml is crashing on App() { InitializeComponent(); }

Adapting an project to Template10, I go into inherited styles in App.xaml are crashing. It looks like Template10, doesn´t support inherited or extended styles. I was trying to extend SubTitleStyle from TitleStyle but I get an COM exceptions on…
soydachi
  • 851
  • 1
  • 9
  • 24
5
votes
2 answers

Template 10 Error during setup Application Insight does not exist in Namespace

I have followed the instruction to get the Template 10 up and running but I am running into a single assembly error CS0234 Error CS0234 The type or namespace name 'ApplicationInsights' does not exist in the namespace 'Microsoft' (are you missing…
user3363744
  • 167
  • 1
  • 9
4
votes
0 answers

Template10 Memory Leak

I have noticed a memory leak when working with Template10. Easy to reproduce: 1. Create a new application based on the hamburger menu template project. Add no code. 2. Compile and run the app. 3. Switching from the main page to the detail page (and…
Dan
  • 83
  • 1
  • 1
  • 7
4
votes
1 answer

Template 10: Hamburger menu keyboard shortcuts

I am new in uwp app development. I made simple application based on Template 10 Hamburger template.I would like access hamburger menu item by keyboard shortcut. How is it possible? I try use AccessKey, but HamburgerButtonInfo don't have this…
Radim J.
  • 41
  • 2
4
votes
3 answers

C# + XAML - UI didn't get updated after changes

I want to update my UI, but it didn't get updated, even when the PropertyChanged event got called. At startup i get the first values, but after changes it won't update. While Debugging, i can see, that the values getting updated and the…
4
votes
0 answers

Template 10 HamburgerButtonInfo Got_Focus not implemented

I would like to use the Got_Focus within the template 10 HamburgerButtonInfo .
Franck E
  • 629
  • 8
  • 26
4
votes
3 answers

Prism.StoreApps VS template10

Is there a detailed comparative study of features on Prism.StoreApps Vs Template10? Got from stackoverflow that Template10 uses PRISM underneath. But How do we evaluate an end-to-end Universal App with Prism.StoreApps and Template10?
Karthik
  • 79
  • 8
3
votes
1 answer

UWP MVVM Template10: Access single instance of external API across application

I've been tasked with taking over a partially developed sizeable and complex UWP application using MVVM via Template 10. The app needs to use an in-house developed webservices API and this needs to be used for practically every single function,…
nzmike
  • 578
  • 1
  • 7
  • 25
1
2 3
19 20