[00:00:06] Hey everyone, and welcome to our [00:00:07] session, building great Windows apps [00:00:09] with WinUI and agents. My name is Niels [00:00:11] Laute and I'm joined today by Morten. [00:00:15] >> Hey everyone, thanks for coming. [00:00:17] >> So we both work on the Windows developer [00:00:19] platform team, and that's the team that [00:00:21] is really responsible for things like [00:00:22] the Windows SDKs, the Windows App SDK, [00:00:25] UI various UI frameworks, but also [00:00:27] developer tools like Windows Terminal [00:00:29] and WSL and PowerToys. [00:00:31] And yeah, we're very excited to be here [00:00:33] and talk to you about WinUI. [00:00:36] So before we actually start building [00:00:38] some stuff, let's quickly look at what [00:00:40] WinUI is. So WinUI is Microsoft's modern [00:00:44] native UI framework [00:00:45] for basically building rich graphical [00:00:47] Windows apps. [00:00:49] WinUI gives you a rich set of controls [00:00:52] and fluent design out of the box so you [00:00:53] can create these beautiful Windows [00:00:55] experiences [00:00:57] that feel right at home on on Windows [00:00:59] 11. [00:01:00] Building WinUI apps can be done with C# [00:01:03] and .NET or in C++ [00:01:05] and you would use XAML to define your [00:01:08] user interface. [00:01:10] Thirdly, WinUI is a native technology, [00:01:13] so that means that it gives you a fast [00:01:15] fluent experience. [00:01:17] It's very much optimized for modern [00:01:19] hardware, [00:01:20] all backed by GPUs, acceleration, and [00:01:22] stuff like that. [00:01:24] But it also supports like a different [00:01:26] types of input like mouse and keyboard [00:01:28] and touch, [00:01:29] but also more recently inking [00:01:31] and even game controller input. [00:01:34] And all of that comes with accessibility [00:01:36] built in. [00:01:37] And finally, WinUI ships as part of the [00:01:40] Windows App SDK, and this gives you [00:01:42] access to capabilities such as [00:01:44] notifications, app lifecycle, [00:01:46] widgets, [00:01:48] on-device local AI, and a ton of other [00:01:50] modern Windows APIs. [00:01:53] And because it evolves independently [00:01:55] from Windows, we can ship both stable [00:01:57] and experimental releases on a monthly [00:02:00] basis. [00:02:02] So, let's quickly look at who is [00:02:04] actually using uh WinUI today. So, there [00:02:07] are thousands of apps built with WinUI [00:02:09] across our developer community and [00:02:11] partner ecosystem. Uh [00:02:13] but here at Microsoft, we're also using [00:02:15] WinUI extensively within Windows itself. [00:02:18] If we just look at some of the [00:02:20] experiences on the screen, you see apps [00:02:22] like Paint and Notepad and Photos and [00:02:24] Widgets, uh but also newer experiences [00:02:26] like the recently launched Windows [00:02:28] Search experience and the uh new Run [00:02:31] dialog. Uh so all of these are built [00:02:34] using WinUI. [00:02:36] Now earlier this year, uh we announced [00:02:38] that we're doubling down on the core [00:02:40] fundamentals of Windows with a strong [00:02:42] focus on things like performance, uh [00:02:44] quality and user experience. [00:02:46] And that commitment extends to WinUI as [00:02:50] well. So we're actively working on [00:02:52] providing a performant, high quality UI [00:02:54] framework with basically a great user [00:02:57] and developer experience. [00:02:59] So let's take a look at what we've been [00:03:01] uh working on more recently uh and [00:03:03] what's actually new in WinUI. [00:03:05] And that's actually quite a lot. So over [00:03:07] the last few months, we've been um [00:03:10] looking at our GitHub repository and [00:03:12] talking to the community and basically [00:03:14] looking at solving a lot of small [00:03:16] papercuts that the community has been [00:03:17] asking for. Uh but we also have five uh [00:03:21] big investment areas that we're that [00:03:23] we're looking at. [00:03:24] So the first one is uh open source. So [00:03:27] GitHub is now our source of truth and [00:03:29] we're working in the open. Uh this means [00:03:31] that you can follow along and basically [00:03:33] see what we're building and track all of [00:03:35] our progress. Uh we're not quite ready [00:03:37] yet to accept community pull requests, [00:03:39] but that is something we're looking at [00:03:40] to support in the future. So keep an eye [00:03:43] out on the repo for for any updates on [00:03:45] that. [00:03:46] Um over the last few weeks, we also [00:03:48] introduced a bunch of new controls. So [00:03:50] we're expanding the WinUI control [00:03:51] library with some new capabilities um [00:03:55] including things like uh different [00:03:56] charting controls, a new table view [00:03:58] control and uh pen and ink support. [00:04:02] Um, [00:04:03] performance is very much top of mind as [00:04:06] well. So we're continuing to improve [00:04:07] performance across the board. [00:04:10] And we basically want to make WinUI as [00:04:13] fast and as lean and as responsive as as [00:04:16] possible. [00:04:18] Then we have our core APIs. [00:04:20] And we're investing a lot in making sure [00:04:22] that those fundamental APIs, including [00:04:24] things like, you know, windowing APIs [00:04:27] and other improvements, [00:04:29] that we're really doubling down on that [00:04:31] and making it easier to to build your [00:04:33] app. [00:04:34] But also making improvements to the XAML [00:04:36] compiler and some other fundamentals. [00:04:39] And finally, [00:04:41] developer experience, so modern tooling. [00:04:43] So we want to make sure that building [00:04:44] WinUI apps is easier and faster [00:04:47] and that we're meeting developers in the [00:04:49] tools that they're actually using. [00:04:51] And that's actually a great segue into [00:04:53] our next topic because we've been doing [00:04:54] some [00:04:55] exciting work around the developer [00:04:57] experience and our developer tools. [00:05:00] So let's [00:05:01] take a closer look. [00:05:02] [snorts] So first of all, [00:05:04] a few months ago we introduced the [00:05:05] WinAppCLI. And the WinAppCLI allows you [00:05:08] to [00:05:09] create and build and run and debug and [00:05:11] package Windows apps directly from the [00:05:13] command line. [00:05:15] This is not limited to WinUI only, so [00:05:17] you can also use the CLI to do a lot of [00:05:19] these things [00:05:21] with other .NET frameworks, [00:05:23] but also cross cross-platform frameworks [00:05:25] such as Electron or or Turi. [00:05:28] So it is really an easy way to [00:05:30] get you started on modern Windows app [00:05:33] development. [00:05:34] We're also bringing a better experience [00:05:37] to VS Code, [00:05:38] including the ability to run and debug [00:05:40] your WinUI apps. [00:05:42] This was not possible before, but with [00:05:44] our new WinApp VS Code extension, [00:05:47] you can. [00:05:48] And this extension is available on the [00:05:50] VS Code marketplace. [00:05:53] And it has various features as things [00:05:55] like IntelliSense, [00:05:56] and we'll show a little bit of that [00:05:58] later on. [00:06:00] And of course, we're continuing to [00:06:01] invest in Visual Studio. [00:06:03] We are actually shipped about an hour [00:06:06] ago, um, some improved project [00:06:08] templates, um, and we're actually [00:06:10] experimenting with a new uh, XAML [00:06:12] previewer that Morten will give us a [00:06:14] sneak peek at in a little bit. [00:06:16] [snorts] So, ultimately we want you to [00:06:18] be able to use the tools that you [00:06:20] prefer, uh, whether that is Visual [00:06:22] Studio or VS Code or the command line. [00:06:26] Now, our session title is building great [00:06:29] WinUI apps but also with agents. So, [00:06:31] what about agentic development? Uh, we [00:06:33] want to make sure that WinUI is ready [00:06:34] for agentic development, [00:06:36] uh, whether you're using GitHub Copilot, [00:06:38] uh, Cloud Code or Codex. And we're [00:06:41] basically doing that in two ways. First, [00:06:43] we have WinAppCLI. [00:06:45] Uh, this gives agents the hands, uh, [00:06:47] they need to interact with Windows apps. [00:06:49] So, it can run the app, it can inspect [00:06:51] the app, um, and even do things like [00:06:53] debugging. Um, and with Windows Sandbox [00:06:56] support you can even do this in the [00:06:58] background so your app and agent run in [00:07:00] their own container. So, if you're doing [00:07:01] other stuff on your machine, uh, that [00:07:03] will just be handled, um, in Windows [00:07:06] Sandbox directly by the agent. [00:07:09] Um, secondly, we have shipped the WinUI [00:07:12] plugin and this gives agents the [00:07:13] knowledge that they need, uh, through a [00:07:15] dedicated WinUI agent, um, and a [00:07:18] collection of skills. [00:07:19] And these skills are really grounded in [00:07:21] the right documentation and a lot of the [00:07:24] samples that we uh, that we have. So, [00:07:25] we're actually investing in making sure [00:07:27] that all of our documentation, all of [00:07:29] our samples are all, uh, on par and that [00:07:32] agents have a great, um, [00:07:34] source of truth to get their knowledge [00:07:36] from. [snorts] [00:07:37] Um, but rather than just talking about [00:07:39] all of this, Morten, should we maybe, [00:07:42] um, start actually doing some actual [00:07:44] coding? And I guess we first need to [00:07:46] install a few things, right? [00:07:48] >> Yeah, let's do that. Um, [00:07:50] though there's a few things you might [00:07:51] want to install just to really help with [00:07:53] these kind of workflows. The first thing [00:07:56] would might be to go and grab the, um, [00:07:57] .NET new templates that we have [00:07:59] available and that Nils just mentioned [00:08:01] we released just shipped an update this [00:08:02] morning, [00:08:03] um, with some great new capabilities. [00:08:05] So, your command is right there to get [00:08:06] those installed. Um, the WinAppCLI that [00:08:10] allows you to really interact with your [00:08:11] app. We'll show that in a minute. Um, [00:08:13] you can get that on Winget. [00:08:15] And if you're using Copilot, um I would [00:08:17] recommend you install our skills as [00:08:19] well. Um, that'll really help [00:08:21] um [00:08:23] really help you [00:08:24] uh get your agent like be much more [00:08:26] efficient on building as WinUI apps. Um, [00:08:28] so let's pretend I've already done this. [00:08:30] Um, I'm going to switch over here to [00:08:33] my um my console. Um, I've already [00:08:36] installed the skills as I mentioned. [00:08:38] Um, and so [00:08:39] I had to start with listing the the [00:08:41] WinUI templates that are available. [00:08:42] There is the Maui ones at first that [00:08:45] sort of comes shipped with it. There's [00:08:46] the React templates that Alex will talk [00:08:48] about in a couple of hours. [00:08:50] And of course, there's all the WinUI um [00:08:53] templates as well. There's like blank [00:08:54] app, class library, unit test, and so on [00:08:56] so forth. [00:08:59] So let's start with just like maybe [00:09:00] creating a new navigation view app. Like [00:09:02] I had this idea that it would be really [00:09:04] neat if I had a better way of tracking [00:09:06] all my issues for instance on GitHub and [00:09:08] and which ones have I looked at and [00:09:10] maybe want to [00:09:12] um get a quick overview of various [00:09:14] issues I haven't caught up on. So [00:09:16] uh in this case now I'm going to grow [00:09:17] navigation views so maybe have multiple [00:09:19] views. Let's use .NET 11 because [00:09:23] .NET 11 just shipped. And one thing that [00:09:24] was just added to these templates also [00:09:26] is a really way easy way to define [00:09:28] whether you want the app packaged or not [00:09:30] packaged um upfront so that just makes [00:09:32] that workflow a little easier than [00:09:33] having it you don't want your app [00:09:35] packaged before, then you had to kind of [00:09:37] go through through some steps to sort of [00:09:38] configure it for that. But now you can [00:09:39] just do it at app creation. [00:09:42] Um, in addition to that, we also provide [00:09:44] of course item templates. Um, so let's [00:09:46] say I want to add a page so I can just [00:09:48] add a WinUI page with the item [00:09:50] templates. Maybe I want this one to have [00:09:52] my list of issues on it. So I'll add an [00:09:54] issues page here. [00:09:56] Um, [00:09:57] and of course then it creates this whole [00:09:58] little folder here. Um, [00:10:02] we can open this up in code. So we have [00:10:04] now support for for um Visual Studio [00:10:06] Code and I already already the the [00:10:09] WinApp uh extension installed. [00:10:12] And if you launch this app and it hasn't [00:10:15] configured with a launch configuration [00:10:16] for your UI, it will actually detect [00:10:19] this for you. [00:10:20] And so we can say yes to this and we'll [00:10:22] create a launch profile for you [00:10:24] up front so you can quickly just launch [00:10:26] your app. [00:10:27] And of course [00:10:29] you get like mentioned full intelligence [00:10:31] in here, so [00:10:38] maybe not today. [00:10:42] Right, there we go. [00:10:44] I don't know what's going on. It was [00:10:45] just There we go. So if we get sample [00:10:47] intelligence, it maybe just needed a [00:10:48] minute to load. [00:10:50] So that's all fully supported in here. [00:10:52] And And so we can just do F5, you can [00:10:54] debug, you can set your breakpoints and [00:10:56] so on and so forth. [00:10:59] But I also want to show [00:11:02] our WinApp CLI. So I could do .NET run [00:11:04] here just full like just so you're used [00:11:06] to with .NET, but with WinApp run you [00:11:07] get a few extra features. [00:11:10] And the first thing you kind of get is [00:11:12] it It says here dev tools on. [00:11:14] And the dev tools kind of really helps [00:11:16] you with some of these workflows. [00:11:18] So let's like wait for the app to launch [00:11:20] here. [00:11:21] And the first thing you'll notice is [00:11:23] that there's a little dev tools icon [00:11:25] here when I hover and expands and it [00:11:26] keeps you like some really neat [00:11:27] capabilities like while you're running [00:11:30] this app with the dev tools over and [00:11:31] then quickly switch to dark mode and [00:11:32] check out what does my app look like in [00:11:33] dark mode versus light mode. [00:11:36] I can go and click on various elements [00:11:39] here and inspect them and as I can see [00:11:41] here [00:11:43] all the properties I can can kind of [00:11:44] tweak with them and play with them to [00:11:46] see what that will look like [00:11:48] and browse around, get the donors in [00:11:49] here. [00:11:51] One of my my favorite new features that [00:11:53] I really like is I can go in and [00:11:55] actually add comments to my UI. So maybe [00:11:57] I want to say that this should say [00:12:01] welcome to .NET Conf. [00:12:05] And I can save this. And so you'll [00:12:07] notice there's a little icon up here [00:12:09] that I can hover on and on and the [00:12:11] comment is. [00:12:13] And this [clears throat] is really neat [00:12:14] because I can go and add these all over [00:12:16] my UI, everything I want to tweak, I [00:12:17] remind myself to do. [00:12:19] Um, [00:12:21] but I can also ask the agent for [00:12:22] instance go and find them and fix them [00:12:23] for me. Um, so if I go in here I can [00:12:27] just use the WinApp command and get a [00:12:28] list of it and here it just says that [00:12:30] one comment. [00:12:32] Um, but it becomes really powerful when [00:12:34] I work with the agent. [00:12:36] Um, [00:12:37] so let me just launch Copilot here for [00:12:39] this repo. [00:12:41] And the first thing I want to show you [00:12:42] is I have already have all these like [00:12:44] various WinUI skills. There's one for [00:12:46] doing performance and there's even a [00:12:48] Maui one. Uh, there's various things for [00:12:50] like finding and understanding UI that [00:12:53] the agent will be able to much quicker [00:12:55] um, [00:12:56] understand how to use it. So [00:12:59] I'm going to just give it a quick [00:13:00] comment here, a little instruction here [00:13:02] to like find the comment, maybe go and [00:13:04] add this issues page like that I add [00:13:06] like go and add like the last seven days [00:13:09] of closed issues on GitHub and then just [00:13:10] launch the app when you're done. [00:13:13] And you'll see it'll start loading like [00:13:14] these these tools to figure that out. So [00:13:16] use the dev tools to read the comments. [00:13:18] It'll [00:13:19] use the design to like understand how do [00:13:21] I build an WinUI app that looks good. [00:13:23] Um, [00:13:25] and right now it's doing dev flow. Um, [00:13:27] so we're doing this totally live like [00:13:30] with [00:13:31] with the the risk of Copilot might made [00:13:33] something uh, [00:13:35] crazy this time but I'm hoping it'll [00:13:36] work like we'll we'll take the chance [00:13:37] here else I'll have a backup. [00:13:39] Um, [00:13:41] but but it really [00:13:42] >> more than all of these comments are [00:13:43] stored within the app project itself, [00:13:46] right? [00:13:47] >> That right. [00:13:48] Yep, so actually if I open here there's [00:13:51] a little WinApp folder here you'll see [00:13:52] the comments is a little JSON file. And [00:13:54] so every time I launch the app those [00:13:56] those comments are persisted until [00:13:57] they're marked resolved. [00:13:59] Yep. [00:14:00] And so these skills really helps. Oh, [00:14:02] here we can actually see it found oh, [00:14:03] you said you wanted this changed so [00:14:04] we'll do that now. [00:14:06] So these skills really help the agent [00:14:08] like build much higher quality WinUI [00:14:10] apps and and then kind of get there [00:14:11] quicker. Um, [00:14:13] it's able to actually it helps it [00:14:16] understand how to go and query for [00:14:18] information and look for things without [00:14:19] galleries for samples. [00:14:21] Um well it's interesting. Um let's just [00:14:24] still work. [00:14:25] Um it's probably just iterating right [00:14:27] now. Um there's always the fun about [00:14:29] running run live copilot. [00:14:31] Um [00:14:32] but yeah it it introduces skills to to [00:14:35] really really drive home like how to [00:14:37] work with WinUI. So it already seems to [00:14:39] like I don't know update the issues [00:14:40] page. [00:14:42] Um to see what [00:14:43] >> Right because I saw that find UI scale [00:14:45] and that basically pulls in our [00:14:46] documentation but also things like the [00:14:48] WinUI gallery right like all of the [00:14:50] great samples that we have there. So it [00:14:52] knows that if it wants to create I don't [00:14:55] know an expander or a list view it [00:14:56] basically looks at those samples and [00:14:58] then grounds itself [00:14:59] with that sample code that we have [00:15:01] there. [00:15:01] >> [snorts] [00:15:02] >> That's right. Yeah. [00:15:03] Um [00:15:05] hopefully we're about to launch. Usually [00:15:06] it doesn't take too long for it to [00:15:07] figure out. Um it looks like it's [00:15:09] looking at the GitHub API. It's building [00:15:14] 3 2 1 [00:15:16] changes already. It's launching the app. [00:15:18] Let's see let's see if it works. [00:15:22] >> So I guess now in your prompt you [00:15:23] basically said run the app. Uh what you [00:15:25] can also do as a parameter or [00:15:27] obviously say to copilot you can also [00:15:29] run this in sandbox right which [00:15:31] basically means this app would then [00:15:32] deploy in Windows sandbox and you can [00:15:34] just continue with the work you're [00:15:36] doing. [00:15:37] >> Right. So actually there's no changes [00:15:38] right now and so it's actually using [00:15:41] oops I shouldn't have opened that. [00:15:43] It's using the um [00:15:45] inspects now so you can actually inspect [00:15:47] these and say oh I didn't find this like [00:15:48] I need to and I don't see the navigation [00:15:51] so that didn't work. Um so it's actually [00:15:53] able to check itself and and and double [00:15:56] check that it didn't and so this now we [00:15:57] have the title updated. We have an have [00:15:59] an issues page. [00:16:01] If I'm not mistaken it might actually [00:16:02] even click it by itself and just double [00:16:04] check that everything works. So now it's [00:16:06] iterating on this. And as I mentioned [00:16:08] yeah that that can be kind of annoying [00:16:09] when the app is like constantly clicking [00:16:11] all over your app and you're maybe [00:16:12] trying to write an email while the agent [00:16:14] works and that's where you can just ask [00:16:15] the agent to launch in the sandbox and [00:16:17] then it'll run in the sandbox and you [00:16:18] can minimize and let it do its work [00:16:20] without into um annoying yourself. It [00:16:22] seems to like be iterating right now and [00:16:24] trying things out and just tested your [00:16:25] code works, which is super cool. [00:16:28] >> Nice. [00:16:28] >> Um yep. [00:16:31] Oh, all done. That was a a lucky chest, [00:16:33] but I took this idea a lot further [00:16:35] because I really have a hard time [00:16:37] keeping an eye on all my issues and all [00:16:39] my my comments and I already comment [00:16:40] something and then you get so many [00:16:42] emails you can't keep up. So I figured I [00:16:43] would kind of build my own little app [00:16:45] that does the same thing [00:16:47] um but with custom queries. And so [00:16:49] here's like maybe issues that I've been [00:16:51] involved in or pull requests or whatever [00:16:53] kind I want. Maybe there is like a big [00:16:55] discussion that I don't want to catch up [00:16:57] on um so I could also for instance have [00:17:00] the local AI and to just summarize it [00:17:02] just gave me a summary of the latest [00:17:05] unread comments for instance and let me [00:17:06] catch up uh and then run this here [00:17:09] locally. [00:17:10] Um [00:17:10] >> And and I and I guess this is a great [00:17:12] example of where we're leveraging [00:17:14] Windows App SDK because this is running [00:17:16] on your NPU, right? Like on your Copilot [00:17:18] Plus PC. So it's using the Windows AI [00:17:21] APIs that chip within the Windows App [00:17:23] SDK and it's super easy to add simply [00:17:25] because it's all part of that same SDK. [00:17:28] >> And another thing you might notice is [00:17:29] I'm I'm using a little table view here I [00:17:31] can kind of uh change I can change my [00:17:33] ordering. So that's the new table view [00:17:35] that's currently experimental you can [00:17:36] use. Um you can of course like turn [00:17:39] columns on and off and so on so forth. [00:17:41] Um I can make a new query. [00:17:44] And if you don't really know the syntax [00:17:45] you can literally just ask it to like [00:17:47] give me the latest seven days of closed [00:17:52] issues in the WinUI repo [00:17:55] and then hope that maybe it'll be able [00:17:56] to make sense of this um based on this [00:17:59] query. So again I'm using these AI [00:18:00] models to [00:18:03] to help generate see it actually created [00:18:04] a repo or a query here. So now I can go [00:18:07] and like actually [00:18:08] add this to my um [00:18:11] query here window there we go. So just [00:18:14] taking advantage of so that's kind of a [00:18:17] cool way to kind of [00:18:18] use the local AI to help you do get some [00:18:20] of your work done And that's I think the [00:18:21] power of having Copilot, right? That you [00:18:23] can quickly add these kind of apps for [00:18:24] your own workflows too. [00:18:26] Um but one thing that bugs me about this [00:18:27] app is that every time I launch it, [00:18:30] it kind of takes a little while. I think [00:18:32] it was like about two seconds. Sometimes [00:18:34] you even see the even after it load [00:18:36] it it's kind of locked a little for a [00:18:38] while. So there's kind of a slow startup [00:18:40] performance. [00:18:41] And one of the things we just added to [00:18:43] the WinApp CLI is the ability to [00:18:45] performance recordings and also query [00:18:48] those performance recordings. And then [00:18:50] if you give that to the agent, it [00:18:51] becomes quite powerful actually to kind [00:18:53] of help these. [00:18:54] So I kind of pre-did this already. So I [00:18:56] basically just told it, hey, it takes [00:18:58] kind of a long time to to display [00:19:00] things. Can you just go and figure it [00:19:01] out? [00:19:03] So it decides to use the WinApp perf [00:19:04] command. [00:19:05] It'll profile it here. [00:19:08] Um and then it kind of starts figuring [00:19:09] out, well, there's like a UI frame that [00:19:10] takes like a second and a half, but only [00:19:13] a third of it was actually rendering. So [00:19:14] it might be something else. It seems to [00:19:16] be using a lot of memory too. [00:19:18] Um [00:19:19] and it ends up coming down with this [00:19:21] kind of breakdown from that recording [00:19:22] that, hey, you're spending a lot of time [00:19:24] just loading and saving data. This is [00:19:26] where your issue is. [00:19:28] And and it was not so much on the [00:19:29] rendering thing. The rendering was was [00:19:31] relatively small compared to the others. [00:19:34] So [00:19:35] this kind of gives me idea that maybe [00:19:36] like it was actually my code. I should [00:19:38] be a little more efficient. Maybe I [00:19:39] should offload that and run that like [00:19:41] separately asynchronously and delay load [00:19:43] it so my app kind of launches faster. [00:19:46] But also because this is a recording [00:19:47] that's now on the [00:19:49] on the machine the agent has access to I [00:19:50] can also ask follow-up questions like [00:19:53] what are some of the most expensive UI [00:19:55] elements that it's rendering? And so [00:19:56] we'll go and actually use that [00:19:58] analyze find the WinApp performance [00:20:01] skill. [00:20:02] And it will kind of query that and see [00:20:04] here's the analyze command that it does [00:20:06] where it [00:20:07] breaks it down. And so here it looks [00:20:10] like my main page [00:20:12] has like a lot of like children. So I [00:20:13] could then do follow-up questions that [00:20:15] well, what what's in the main page? Can [00:20:16] we dig into that? Or just have the agent [00:20:18] go and find it. Sometimes it will just [00:20:20] say go and find opportunities in this [00:20:22] app to to improve performance at and [00:20:24] we'll go and use automation to click [00:20:26] things and kind of figure out where [00:20:27] there's opportunities for improvement. [00:20:30] Um, [00:20:31] so that's actually I have already kind [00:20:32] of done it with a different app here. [00:20:35] And so it launches a lot faster with [00:20:37] this improved version. And that's just [00:20:40] purely from me just telling the agent go [00:20:42] figure out what it is and then I [00:20:43] suggested can you like offload that and [00:20:45] it went and did that. It checked itself [00:20:47] and then reported back okay now it's [00:20:49] this much faster than before so I kind [00:20:51] of it did a performance recording after [00:20:52] to do a comparison. [00:20:54] Um, [00:20:55] really helped us find a bunch of little [00:20:57] things in various apps already just by [00:20:59] by using the the agent to [00:21:01] to record these performance analysis. [00:21:04] >> Awesome. [00:21:04] >> So [00:21:05] really neat [00:21:06] but we talked about VS code we've done [00:21:08] most of the CLI and co-pilot but what [00:21:10] about Visual Studio we haven't forgotten [00:21:11] you. [00:21:12] Um, so the the .NET templates that I've [00:21:15] installed from command line they will [00:21:16] also show up in Visual Studio now. [00:21:18] And so I have the same set of templates [00:21:20] here. I'm kind of excited about the unit [00:21:22] test app actually because it has a lot [00:21:23] of new features now you get all these [00:21:25] properties you can now use the new MTP [00:21:28] platform for test runners [00:21:30] um, which allows you to run your tests [00:21:32] with AOT and you can do async UI tests [00:21:35] which is really really nice field to [00:21:37] finally. And another thing all the [00:21:39] templates now as you mentioned I saw you [00:21:40] saw that in command line but I can also [00:21:42] do it from here I can I don't want this [00:21:44] one to be packaged I can just quickly [00:21:45] unpackaged you'll see that on all the [00:21:47] templates now. [00:21:49] Um, [00:21:49] >> That that was I guess a great example [00:21:51] that we got a lot of feedback on right [00:21:53] like again from the community that they [00:21:55] would love to make it easier to write [00:21:57] their unpackaged app [00:21:59] and now we are adding that straight to [00:22:01] the templates. [00:22:01] >> Yeah, we make it super easy to just kind [00:22:03] of quickly tweak that. [00:22:04] Um, here's actually the little GitHub to [00:22:06] do app that I was showing you [00:22:09] and for a quick little sneak peek of an [00:22:10] experiment we're working on and we'd [00:22:11] love to get your feedback on is a little [00:22:13] demo preview in here. And when I when I [00:22:16] select things in here I can see them [00:22:18] over here. I can even have the sign [00:22:20] times you maybe want to see what it [00:22:21] looks like when the window is is taller [00:22:23] for instance oops. [00:22:24] When it's taller [00:22:26] Um, can also like switch to like dark [00:22:28] mode right in here and then kind of get [00:22:29] a feel for what does that look like. Um, [00:22:32] so we'd love to hear your feedback on [00:22:34] some of this stuff. [00:22:35] Um, [00:22:36] and see if there's something that you [00:22:37] find useful and continue working down [00:22:40] the [00:22:41] um to kind of bring to shipping. [00:22:43] Um, well with that I can maybe we'll [00:22:45] switch back to the last bit of slides, [00:22:46] Niels. [00:22:47] >> Yep. Let me go back here. [00:22:52] So um as we wrap up um there are [00:22:54] basically three things that um we would [00:22:57] love you to take away from this session. [00:22:58] Uh, first of all we're investing in [00:23:00] WinUI and we're shipping new releases [00:23:02] every month uh and we're doing that open [00:23:04] in uh on GitHub. So make sure that you [00:23:07] follow us along there and try out the [00:23:08] new experimental bits. [00:23:10] We're actually update we have updated [00:23:12] the WinUI gallery recently to ship with [00:23:15] the uh latest experimental uh SDK. So [00:23:18] you whenever we release new controls and [00:23:20] new APIs uh it's very simple for you to [00:23:23] just install it from the Microsoft Store [00:23:25] and just try all of that out and provide [00:23:26] us feedback obviously. [00:23:28] Um, secondly building WinUI apps now [00:23:30] feels much more like modern .NET [00:23:32] development as in you can use familiar [00:23:35] commands like .NET new or .NET run uh or [00:23:38] work in the editor of your choice uh [00:23:41] whether that is the CLI as we just saw [00:23:43] uh VS Code or Visual Studio. [00:23:46] And third uh WinUI is ready for agents. [00:23:49] So with the WinApp CLI uh we can give [00:23:51] agents the tools to build and interact [00:23:53] with your apps and with the WinUI plugin [00:23:55] we provide the knowledge that they uh [00:23:57] need and this will help you uh in your [00:24:00] dev loop uh together with your agents. [00:24:03] Now before we close I just want to [00:24:05] quickly highlight some more Windows app [00:24:08] development content at .NET Conf uh [00:24:10] actually today. So in about 30 minutes I [00:24:14] believe we have CS WinRT 3.0 with Mano [00:24:18] and Sergio. Uh, so if you want to learn [00:24:20] all about what's new with CS WinRT [00:24:22] definitely check out that session. Um, [00:24:24] then at 2:00 p.m. we have Alex talking [00:24:27] about Reactor um and Reactor is really [00:24:29] cool because that allows you to build [00:24:31] WinUI apps with pure C#. So no XAML [00:24:35] involved. So if that's your thing, you [00:24:37] should definitely check that out. [00:24:39] And next week we have Ignite and we have [00:24:42] I think about eight Windows sessions. [00:24:45] But obviously my favorite is building [00:24:47] Windows apps with WinUI and Agents. So [00:24:49] Beth and Jaylen will show a bunch of [00:24:51] cool stuff and highlight some of the [00:24:53] cool [00:24:54] work that our partners have been doing. [00:24:57] So definitely check out that session as [00:24:59] well. [00:25:00] And with that, I think we can go back to [00:25:02] the studio for Q&A.