Skip to main content

Peter Marshall

Introducing the UWP Community Toolkit | Building Apps for Windows window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"https:\/\/blogs.windows.com\/buildingapps\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.5.3"}}; !function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,d=c[0]+","+c[1]+","+c[2]+","+c[3],g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h (function() { var oa = document.createElement('script'); oa.type = 'text/javascript'; oa.async = true; oa.src = 'https://windows.api.oneall.com/socialize/library.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(oa, s); })();img#wpstats{display:none} Menu RSS Facebook Twitter setTimeout(function(){{var s=document.createElement('script');s.type='text/javascript';s.charset='UTF-8';s.src=((location && location.href && location.href.indexOf('https') == 0)?'https://ssl.microsofttranslator.com':'http://www.microsofttranslator.com')+'/ajax/v3/WidgetV3.ashx?siteData=ueOIGRSKkd965FeEGM5JtQ**&ctf=False&ui=true&settings=Manual&from=en';var p=document.getElementsByTagName('head')[0]||document.documentElement;p.insertBefore(s,p.firstChild); }},0); Windows 10DevicesWindows DeveloperMicrosoft Edge DeveloperBusiness Search for: Submit August 17, 2016 2:34 pm Introducing the UWP Community Toolkit By Giorgio Sardo Share Tweet Share Share Skype Recently, we released the Windows Anniversary Update and a new Windows Software Developer Kit (SDK) for Windows 10 containing tools, app templates, platform controls, Windows Runtime APIs, emulators and much more, to help create innovative and compelling Universal Windows apps.Today, we are introducing the open-source UWP Community Toolkit, a new project that enables the developer community to collaborate and contribute new capabilities on top of the SDK.We designed the toolkit with these goals in mind:1. Simplified app development: The toolkit includes new capabilities (helper functions, custom controls and app services) that simplify or demonstrate common developer tasks. Where possible, our goal is to allow app developers to get started with just one line of code.2. Open-Source: The toolkit (source code, issues and roadmap) will be developed as an open-source project. We welcome contributions from the .NET developer community.3. Alignment with SDK: The feedback from the community on this project will be reflected in future versions of the Windows SDK for Windows 10.For example, 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. // Initialize service TwitterService.Instance.Initialize("ConsumerKey", "ConsumerSecret", "CallbackUri"); // Login to Twitter await TwitterService.Instance.LoginAsync(); // Post a tweet await TwitterService.Instance.TweetStatusAsync("Hello UWP!");Additionally, the toolkit provides extension methods that allow developers to animate UI elements with just one line of code.await element.Rotate(30f).Fade(0.5).Offset(5f).StartAsync();Below you will find more details about the features in the first release, how to get started, the roadmap and how to contribute.UWP Community Toolkit 1.0The toolkit can be used by any new or existing UWP application written in C# or VB.NET. Our goal is to support the latest and previous stable release of the SDK and at this time, the toolkit is compatible with apps developed with Windows 10 SDK Build 10586 or above.The toolkit can be used to build UWP apps for any Windows 10 device, including PC, Mobile, XBOX, IoT and HoloLens. You can also use the toolkit with an existing desktop app converted to UWP using the Desktop Bridge.Here are just some of the features included in the first release of the toolkit.We are also releasing the UWP Community Toolkit Sample App in the Windows Store that makes it easy to preview the toolkit capabilities even before installing the tools or downloading the SDK. The app will also allow you to easily copy & paste the code you will need to get started using the toolkit in your project.Getting StartedIt’s easy to get started:1. Download Visual Studio 2015 with Update 3 and the Windows 10 SDK2. Create a new UWP project (or open an existing one)3. Launch Visual Studio 20154. Create a new project using the Blank App template under Visual C# → Windows → Universal5. Add the UWP Community Toolkit to your project6. In Solution Explorer panel, right click on your project name and select “Manage NuGet Packages”7. Search for “Microsoft.Toolkit.UWP”8. Select desired packages and install them9. Add a reference to the toolkit in your XAML pages or C#          a. In your XAML page, add a reference at the top of your page Login with: var _oneall = _oneall || []; _oneall.push(['social_login', 'set_providers', ['windowslive']]); _oneall.push(['social_login', 'set_callback_uri', (window.location.href + ((window.location.href.split('?')[1] ? '&': '?') + "oa_social_login_source="))]); _oneall.push(['social_login', 'set_custom_css_uri', 'https://secure.oneallcdn.com/css/api/socialize/themes/wordpress/default.css']); _oneall.push(['social_login', 'do_render_ui', 'oneall_social_login_providers_4498858']); Please sign in to comment 9 hours ago Log in to Reply Kagami Rosylight I think in this days Microsoft just forgot about UWP JS/HTML apps, and I’m worrying they will one day just throw the support away… 8 hours ago Log in to Reply Morten Nielsen @Kagami: Did you notice there’s also some JavaScript stuff in there? 8 hours ago Log in to Reply Kevin Hill @KagamiManifoldJS & App Studio & GitHub projects that make it easy to develop Hosted Web apps. We are investing heavily in the web platform for apps by adding Service Worker, and we’ve layout our view on the progress of web apps. Visual Studio does have updated templates if you like to work there for UWP Packaged Web Apps.We are always looking to evolve our web application investments and are focused on getting key web platform technologies to support the web developer workflow in developing web apps. If you’d like to chat more send me a message on twitter @KevinJHill 8 hours ago Log in to Reply Burak Kaan Köse Looks awesome, can’t wait to test it out and contribute. Thank you guys. 8 hours ago Log in to Reply Andrea Vincenzo Abbondanza Is this a replacement for app studio? 8 hours ago Log in to Reply Morten Nielsen Several of the AppStudio controls has been brought over and cleaned up. 2 hours ago Log in to Reply Tim Sørensen This os good stuff! Can’t wait to have a go at this when I get home ???? Related Posts Windows 10 Anniversary Update SDK Now Available! Windows Store Open for Submissions Read more Windows 10 Anniversary SDK is bringing exciting opportunities to developers Read more How to leverage PubMatic’s Windows SDK to scale monetization across devices and formats Read more Windows Bridge for iOS: App Analysis Tool Now Available Read more What’s New for Developers in the Windows 10 SDK Build 10586 Update Read more Microsoft SVG Logo

Peter Marshall

Angular 2, React, and Knockout apps on ASP.NET Core

Make me a Angular2 SPA with dotnet backend

Peter Marshall

Peter Marshall

Peter Marshall

Fluent URL builder and testable HTTP for .NET - Flurl

Fluent HTTP

Flurl allows you to perform many common HTTP tasks directly off the fluent URL builder chain. Barely under the hood is HttpClient and related classes. As you'll see, Flurl enhances HttpClient with convenience methods and fluent goodness but doesn't try to abstract it away completely.

Peter Marshall

Peter Marshall

Peter Marshall

Holograms 101E

Holographic development example

Peter Marshall

UWP Tile Generator extension

UWP Tile Generator

Generates all the required tiles for your UWP. Simply right click on a square png or svg and select Generate UWP Tiles - within seconds you'll have all the recommended tile sizes and what's more the extension will also update your package manifest so you don't have to

Peter Marshall