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


Kotlin Ktor Improves Client-Server Support
04/11/2024

Kotlin Ktor 3 is now available with better performance and improvements including support for server-sent events and CSRF (Cross-Site Request Forgery) protection.



TestSprite Announces End-to-End QA Tool
14/11/2024

TestSprite has announced an early access beta program for its end-to-end QA tool, along with $1.5 million pre-seed funding aimed at accelerating product development, expanding the team, and scaling op [ ... ]


More News

 

espbook

 

Comments




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

Last Updated ( Thursday, 25 August 2016 )