Universal Windows Demo application

This Demo is used for the purpose of my session at MSCommunity BiH 2014 conference in Sarajevo 19th September 2014. This is full demo that demonstrates main and advanced concepts of universal Windows apps. With universal app you can build an app for Windows and Windows Phone at the same time, and share code, user controls, styles, strings, and other assets between the two projects in Visual Studio. This reduces the time and expense associated with building and maintaining an app for each type of device.

image

This reduces the time and expense associated with building and maintaining an app for each type of device.

image

You can freely use this app as your start point when creating universal Windows application.

Link for the app on OneDrive is here:

http://1drv.ms/1x6glG4

Main concepts that you can find in the app are:

  • Hub page (almost the same for Windows 8.1 and Windows Phone 8.1 app)
  • Storing data locally for offline use (using Newtonsoft.Json)
  • Searching data in Windows app
  • CommandBar
  • Semantic Zoom in Windows app
  • Visual State Manager – Snap View in Windows app
  • Using charms in Windows app (About, Privacy page)
  • Live Tile – Pin to Start

Author of this app is my friend Jovica Rikanović who created this app for our session at conference with title “Building universal Windows apps”.

If you want to successfully build this Demo app using Visual Studio 2013 Update 2 you need to update library reference for Newtonsoft.Json. Namely, when you download solution you’ll see that reference is not OK:

image

So, select Reference and choose Manage NuGet Packages…

image

And finally install Json.NET

image

You need to do this both, for Windows 8.1 and Windows 8.1 project.

One of the sections on the Hub page for Windows and Windows Phone:

image

WP_universal

Happy coding

About Spaso Lazarevic

Spaso Lazarevic is Senior Software Developer working with Microsoft technologies. Leader of .NET User Group Bijeljina, speaker at Microsoft events, writter and blogger. Microsoft MVP for Visual C#.
This entry was posted in Community, Conference, Programming and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s