Author: John Rah

Reference resource name strings that contains a period

When using the Multilingual App Toolkit you use the X:Uid to get a value from the string resource. For Example: <TextBlock x:Uid="txtYourOrders" x:Name="txtYourOrders" TextAlignment="Center"></TextBlock> If you have txtYourOrders.Text in your string resource, it’s value will be used as the Text content for the TextBlock You can also reference resource names from your code behind like so: Imports Windows.ApplicationModel.Resources Private Shared _LANG_LOADER As New ResourceLoader() txtYourOrders.Text = _LANG_LOADER.GetString("txtYourOrders/Text") The important thing to note here is that instead of using a period (.) in the GetString call use a slash instead...

Read More

Adding Push (Toast) Notifications

Give your app Toast Adding push notifications to your UWP app is actually quite simple. There’s quite a few different methods. This is the one that I found to be the easiest to implement with the minimum of fuss. For this tutorial you will need the following: an existing VB.net UWP project that has been published to the store an existing ASP.net web service an active Azure account Setting up the Notification Hub Log into your developer account at developer.microsoft.com and go to your dashboard Click on your App and expand the Services section. Click on Push Notifications followed...

Read More

Only Project displayed in Visual Studio

One of the annoying things about a fresh install of visual studio is that when you open a UWP solution it only shows you the project in the Solution Explorer and not the solution that it exists in. This is fine for most projects but sometimes you need to add another project to your solution (such as a background task). To be able to do this you need to show the full solution in the Solution Explorer. To fix this is thankfully an easy task.?Click on Tools->Options->Project and Solution->General, and tick the “Always show solution”...

Read More