Windows UWP Community Toolkit
Written by Kay Ewbank   
Thursday, 25 August 2016

An open-source toolkit that lets you build UWP apps for Windows 10 devices has been released by Microsoft. The Windows UWP Community Toolkit can be used to create apps for PC, Mobile, Xbox, IoT and HoloLens.

The toolkit includes features such as new helper functions, custom controls and app services designed to simplify common developer tasks. The development team says that the goal is wherever possible to allow app developers to get started with just one line of code.

The new toolkit includes code for including Facebook and Twitter services; a storage file helper; adaptive grid view; and blur and fade animations.

uwp community toolkit overview

Writing about the new toolkit on the Windows blog, Giorgio Sardo gives an example of how the toolkit:

"makes it easy to share content from your app with social providers like Twitter, taking care of all the OAuth authentication steps for you behind the scenes."

1
2
3
4
5
6
7
8
// Initialize service
TwitterService.Instance.Initialize("ConsumerKey", "ConsumerSecret", "CallbackUri");
 
// Login to Twitter
await TwitterService.Instance.LoginAsync();
  
// Post a tweet
await TwitterService.Instance.TweetStatusAsync("Hello UWP!");

The toolkit also provides extension methods that allow developers to animate UI elements.

The toolkit can be used by any new or existing UWP application written in C# or VB.NET. It is compatible with apps developed with Windows 10 SDK Build 10586 or above. You can also use the toolkit with an existing desktop app converted to UWP using the Desktop Bridge.
 
The team has also released a sample app in the Windows Store that you can use to preview what the toolkit can do before installing the tools or downloading the SDK. The app can also be used to copy and paste the code needed to get started using the toolkit in your project.
 uwp

More Information

UWP Community Toolkit

UWP Community Toolkit Sample App

Related Articles

Win 10 SDK Update

Visual Studio Code Extensions

Visual Studio Tools Updates       

Microsoft Releases Visual Studio Code IDE For Linux, Mac And Windows       

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


BusyBeaver(5) Is 47,176,870
03/07/2024

The thing about the BusyBeaver function is that it is very easy to understand, but very difficult to compute. We now know its value up to 5, which isn't much progress for more than 50 years work.



Couchbase C++ SDK Goes GA
16/07/2024

Accessing and working with Couchbase from C++ is now possible, thanks to the release of a C++ SDK that provides integration with Couchbase Server.


More News

 

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 25 August 2016 )