Kickstart your next UWP App with new Code Snips and Windows App Studio OSS Libs
You've maybe seen the apps you can create with the Windows App Studio? Thought it would be cool if you could create app's like that, without the Windows App Studio? That you just want the components behind Windows App Studio to glue them together how you want? Well here you go!
Windows App Studio is all about making it as easy as possible to build apps for Windows. The online tool helps you build apps with no coding required, so you can either start your project there and extend it in Visual Studio, or you can create and build the app completely in the tool. Today, we want to talk about another way we’re helping to make it easier to develop for Windows 10: Our Windows App Studio UWP Samples app, which is powered by our open source UWP Controls and Data Sources libraries. Open source libraries are incredibly useful in software development, but one of the tougher things for developers is to find good documentation and examples of code in those libraries without firing up an IDE. The UWP Samples app aims to solve this problem and showcase the contents of the libraries beautifully and in an interactive way.
A bit of background. As we build out and add new features to Windows App Studio, we need to create controls and data sources that are standardized in a way that makes them work for the tool. This standardization of the controls also makes it easy to package them in a library, so that’s exactly what we did. There are two main libraries:
Each of these are open source with the MIT license and are available as NuGet packages and these are the libraries that power the UWP Samples app. You are free to use anything in these libraries for any project and you don’t even need to assign attribution/credit. Since they’re open source, you are enthusiastically invited to contribute new controls, data sources, and whatever else you think is great.
Windows App Studio UWP Samples app
The Windows App Studio UWP Samples app is now available in the Windows Store. What is unique about the app is that it lets you browse through all of the controls and data sources included in the libraries, without needing to write one line of code. You can even adjust the attributes of the controls to mimic how they would look in your app before opening Visual Studio. Furthermore, the app has the code and descriptions for each of the controls and data sources in the libraries, so you can even copy and paste directly from there.
Windows App Studio Libraries
This repository contains the source code of the libraries used in Windows App Studio to create our generated apps.
There are three libraries: DataProviders, Uwp and Common. The libraries are also available as Nuget packages.
- Uwp Library
- Data Providers Library
This library contains XAML controls for Windows 10 apps only.
Like you, I hate to reinvent the wheel, so when I saw this post, I had to make sure to include it in my next UWP dev related post...
Snippets of ready-to-use code that accomplish small but useful tasks of interest to Universal Windows Platform (UWP) app developers. These snippets represent simple solutions to common problems, and simple recipes to help you implement new app features.
Every snippet includes the using statements that it requires, which you can add to the top of your file as needed.
Each snippet is written in C# unless otherwise indicated. Click the GitHub link to go directly to the source code, and the doc link for some background.
Windows task snippets
This repo collects snippets of ready-to-use code that accomplish small but useful tasks of interest to Universal Windows Platform (UWP) app developers. These snippets represent simple solutions to common problems, and simple recipes to help you implement new app features.
Each snippet includes the using statements that it requires, which you can add to the top of your file as needed.
Each snippet is written in C# unless otherwise indicated.
For more UWP samples, see Windows on GitHub.
Files and folders
This conversation has been locked by the site admins. No new comments can be made.