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


Go At Highest Rank Ever in TIOBE Index
20/11/2024

Go is currently in 7th place in the TIOBE Index for November 2024. Not only is this is the highest position it has ever had, it's percentage rating is almost equal to its all-time-high. Will Go contin [ ... ]



Sequin - Open Source Message Stream Built On Postgres
31/10/2024

Sequin is a tool for capturing changes and streaming data out of your Postgres database, guaranteeing exactly once processing. What does that mean?


More News

 

espbook

 

Comments




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

Last Updated ( Thursday, 25 August 2016 )