[00:00:01] [music] [00:00:06] >> Hey, it's us. [00:00:07] >> Hi. [00:00:07] >> We're back. [00:00:08] >> We're back. [00:00:09] >> Um, I am Maddie Montecola. I am the PM [00:00:11] for [00:00:12] aka the queen of aspirations. [00:00:14] >> Hi. I'm Damian Edwards and yeah, I work [00:00:16] on [00:00:17] .NET stuff. [00:00:18] >> He's like, you know, he's got some fancy [00:00:20] title now. We don't know what it is [00:00:21] actually. [00:00:21] >> I've forgotten already. [00:00:23] >> Uh, and this is the the first time that [00:00:24] we've had official content on the .NET [00:00:27] channels since last year. [00:00:29] >> Wow. It's been a whole year? [00:00:30] >> It's been a whole year. [00:00:31] >> [laughter] [00:00:31] >> No, Maddie. I'm sorry. It's been a year? [00:00:34] >> It's [00:00:35] It [00:00:35] >> Oh lord. [00:00:36] >> It feels like it's been a decade. I [00:00:38] don't know what you're talking about. [00:00:39] >> I swear. All right. [00:00:40] >> Um, this was us last year. Look, well [00:00:41] done. [00:00:42] Smile. [00:00:43] >> I look so young. [00:00:44] >> No, you look the same. [00:00:44] >> actually my beard's a lot longer back [00:00:46] then. [00:00:47] >> [laughter] [00:00:48] >> And it was uh it was We were so naive, [00:00:51] you know? We were just like, hey man, we [00:00:53] came in here to .NET Conf and in the [00:00:55] keynote we were like [00:00:57] dropping the .NET in [00:00:59] Yep. [00:01:00] Yep. [00:01:02] Hey, we have a CLI. Who's heard of that? [00:01:04] No one uses CLIs, but we have one. [00:01:07] >> Yeah. [00:01:07] >> Um, we built a website [00:01:08] >> Yep. [00:01:09] >> by hand, artisanally, you know? And Opus [00:01:13] the Opus moment as we called it hadn't [00:01:15] actually happened yet and it was about 2 [00:01:16] weeks after .NET Conf that I think you [00:01:18] and Fowler went into talk about AI and [00:01:22] and and you were like, there might be [00:01:23] something here. Like [00:01:24] >> sitting over there on the upper side [00:01:26] opposite side of the studio doing the AI [00:01:28] Dev Days last December and focusing on [00:01:32] with AI and little did we all know that [00:01:34] the between then and now much more was [00:01:36] about to happen. So [00:01:38] >> Just really just like [00:01:40] yeah. I I mean I [00:01:42] half of our texts and we text all the [00:01:44] time is pretty much like, can you [00:01:45] believe it's only been or can you [00:01:47] believe it's been And it's yeah. [00:01:49] >> Yeah. [00:01:50] >> Everything is crazy and we're having a [00:01:51] lot of fun. I think it's actually been [00:01:53] for the team, like for us, [00:01:55] a really good thing to lean into the [00:01:59] agent world um and still preserve what [00:02:02] we believe are key principles under it. [00:02:04] Like Aspire is this deterministic thing [00:02:06] that can actually orchestrate your stack [00:02:08] under the hood. So you can have all this [00:02:11] magic with agents, but keep it on [00:02:12] guardrails. And and we kind of came up [00:02:15] at the right time to catch this wave. [00:02:16] >> Mhm. [00:02:17] >> Um and yeah, it's it's been really fun. [00:02:20] But we thought we'd come back this year [00:02:22] because even though we are not called [00:02:24] .NET Aspire, it is just Aspire, and [00:02:27] there is a bot now on Blue Sky made by [00:02:29] our friend Barry Dorrans, uh who will [00:02:32] yell at you if you call it .NET Aspire. [00:02:34] We thought we'd come back to our home [00:02:36] and show all of the .NET developers what [00:02:38] you might have missed in the last year [00:02:41] for .NET folks using Aspire, and more [00:02:43] importantly, what's coming in the next [00:02:45] major version of Aspire, uh which has [00:02:47] some great .NET features as well. [00:02:49] Imminently. [00:02:49] >> Yes. [00:02:50] >> Um the first thing we we're in charge of [00:02:52] numbers. Damian and I get to see the [00:02:54] numbers, and so we put the slides [00:02:56] together, and we said let's show some [00:02:57] numbers. We wanted to talk about how the [00:02:59] way that you all are using Aspire has [00:03:01] changed, and I think this this mirrors [00:03:03] the wave that we've seen really well. Uh [00:03:05] before we rebranded when we were still [00:03:07] kind of a .NET centric tool, most of our [00:03:09] users was were in Visual Studio, and [00:03:10] then we had a good chunk in VS Code, uh [00:03:13] especially folks on Mac. We we only have [00:03:15] telemetry for products we ship. [00:03:17] So you can, you know, say oh, where's [00:03:19] Rider? Where's whatever? We we know we [00:03:20] can't count that. [00:03:21] >> don't know. We can't see you. [00:03:22] >> Yeah. So these numbers are actually [00:03:23] lower in total than than they are, but [00:03:26] uh we yeah. [00:03:27] Uh what's cool is today we have nearly [00:03:30] doubled Aspire in size, [00:03:33] but almost all of that growth has [00:03:36] actually all if not more of that growth [00:03:38] has been from both VS Code and our CLI [00:03:40] itself. So VS VS itself has actually [00:03:43] shrunk a little bit. [00:03:43] >> Mhm. [00:03:44] >> And that makes sense because we're [00:03:45] seeing people use a VS Code with [00:03:48] polyglot [00:03:49] repos more and more. Um and and folks [00:03:51] adopt Aspire that were not .NET [00:03:54] developers at all, but more importantly, [00:03:55] we're seeing people enter from Claude [00:03:57] Code and Copilot and Codex and and the [00:04:00] CLIs and the desktop apps for all of [00:04:01] those. Um, and so we're growing, and [00:04:06] we're growing with with new people. [00:04:08] >> New people or existing people who are [00:04:10] using it different ways this year, [00:04:12] right? It's also a big part of this. And [00:04:13] just to be really clear, these three [00:04:15] bands are not potentially mutually [00:04:16] exclusive. We have people who use both [00:04:19] VS Code and the CLI or even both VS and [00:04:21] VS Code for various things, but they're [00:04:24] mostly not overlapping. And that total [00:04:26] 90,000 figure is taking that into [00:04:28] consideration. So that is like a proper [00:04:30] union of everyone that we see. [00:04:32] >> Union? [00:04:32] >> A union. [00:04:34] >> Oh, oh, how topical. [00:04:36] >> How topical. [laughter] We love C Sharp. [00:04:39] Um, the other cool thing that that we [00:04:41] keep track of is what you're actually [00:04:42] orchestrating with Aspire. And so we [00:04:43] measure this through hosting [00:04:44] integrations, which are NuGet packages [00:04:46] under the hood, although for non-.NET [00:04:48] developers, we kind of abstract that all [00:04:50] away. Um, and and the number one thing [00:04:53] folks orchestrate with Aspire is [00:04:55] JavaScript apps. So this doesn't include [00:04:58] .NET apps. We we assume that is the [00:05:00] highest. We don't have that data yet. [00:05:02] Um, we we will after the next major [00:05:04] release, but right now that's just kind [00:05:06] of implicit. Uh, but the number one [00:05:08] integration you pull in Aspire at is [00:05:10] JavaScript, which includes like [00:05:11] TypeScript, Node, V, a bunch of the [00:05:13] different runtimes there for both UI and [00:05:16] backend and server apps. And then we get [00:05:19] into a whole bunch of other things like [00:05:21] databases we see kind of across the [00:05:23] board. Redis is in our template and is [00:05:25] also one of the more popular things you [00:05:26] orchestrate. Uh, and then we get into [00:05:28] more of the managed cloud services. [00:05:30] Azure Storage actually of all the cloud [00:05:32] things [00:05:33] is number one. [00:05:34] >> Yep. [00:05:34] >> So of course, you know, folks we have [00:05:36] folks in the community using Aspire with [00:05:38] AWS, with GCP, with raw Docker Compose, [00:05:40] Kubernetes we have now, but Azure [00:05:42] Storage bubbled up. And I I use Azure A [00:05:45] for like everything now, at least for my [00:05:47] local dev. So [00:05:49] All right. What is Aspire today? [00:05:52] Cuz it's been a year. [00:05:53] >> It's been a year. [00:05:54] >> Aspire is the the agent first tool for [00:05:57] composing, running, observing, and [00:05:59] deploying distributed apps. And and [00:06:02] distributed apps are really just [00:06:03] anything with more than one piece, a [00:06:05] front end and a database, [00:06:07] a back end and a cache. I don't know. [00:06:09] You You tell me. [00:06:10] Um we have the app host file, which most [00:06:13] of you I imagine are authoring in C [00:06:14] sharp, but you can also author in [00:06:16] TypeScript and other languages coming [00:06:18] soon. We have our CLI, we have the [00:06:20] dashboard, which is built in Blazer and [00:06:22] Jose and I will talk about that later [00:06:24] today, [00:06:25] uh that you can see any open telemetry [00:06:27] from your application. And then we have [00:06:29] the ability to take that app host, use [00:06:30] the CLI to translate it into deployment [00:06:33] assets for whatever you want to deploy [00:06:35] to or actually go all the way through [00:06:36] running [00:06:38] the the deployment script. [00:06:39] >> And that's new since last year. Like [00:06:41] this time last year, there really wasn't [00:06:44] a deploy story like this. So we had the [00:06:47] CLI and then I think we may have just [00:06:49] released Aspire Deploy as a command, but [00:06:52] it was very much a preview and it was [00:06:54] very limited in what it could do. [00:06:56] >> Oh, well we were using AZD. [00:06:57] >> And we were using AZD, I think, before [00:06:58] that. [00:07:00] Um but then we introduced this Aspire [00:07:01] Deploy and the concept of a pipeline [00:07:04] model inside your app host. And uh you [00:07:06] can add pipeline steps that run during [00:07:09] publish and or through uh during deploy. [00:07:11] You can even actually run pipeline steps [00:07:12] during run. Uh so [00:07:14] in addition to the eventing model that [00:07:16] we have, but you can now deploy your one [00:07:18] app host file and everything it [00:07:19] orchestrates to your target. And now we [00:07:22] have support not just for Azure, [00:07:23] obviously, but for Docker Compose, for [00:07:26] vanilla Kubernetes. Um and then like [00:07:29] Fowler wrote some crazy uh ones as well [00:07:31] for like deploy via SSH to a VM. All [00:07:35] types of The point is it's it's [00:07:37] extensible even if we're only shipping [00:07:38] support for the Azure stuff and Docker [00:07:41] Compose and Kubernetes. The Amazon folks [00:07:43] ship the AWS support and then there are [00:07:45] folks in the community who are shipping [00:07:46] their own deployment integrations to let [00:07:47] you easily deploy. Anyway. [00:07:49] >> Yeah. Yep. And And importantly, we have [00:07:52] been keeping up with [00:07:53] the way that agents work. I think the [00:07:55] first thing we had was we had Copilot in [00:07:57] the dashboard and then we actually [00:07:58] pulled it out and gave you an MCP and [00:08:00] then we replaced the MCP with skills and [00:08:02] it feels like it's just been whiplash, [00:08:04] but we've just been keeping up with what [00:08:05] the industry is is leaning on at the [00:08:07] time and [00:08:08] hopefully you know giving you the same [00:08:10] experience. And all everyone on our team [00:08:13] uses Aspire every day pretty much. So we [00:08:16] test these things ourselves and and we [00:08:19] see the improvements here. [00:08:20] >> For sure. [snorts] [00:08:22] >> At our core we're we're .NET and we have [00:08:24] a lot of features and integration [00:08:26] specifically for .NET developers even [00:08:28] though it may not be in the name [00:08:29] anymore. [00:08:30] And [00:08:32] of course it's built on .NET. We'll [00:08:34] we'll do a whole session on that but we [00:08:35] have shipped Dan showed it this morning. [00:08:37] Dan Roth showed it this morning [00:08:39] Blazer Wasm integration so now you can [00:08:41] not just orchestrate your Blazer server [00:08:43] projects but also Wasm apps standalone. [00:08:46] We did a whole EF Core migration [00:08:48] integration this year. [00:08:50] And it's pretty cool. [00:08:51] >> Yeah. Yeah. So utilizing it was actually [00:08:53] contributed by the EF Core team. [00:08:55] >> Oh yeah yeah yeah. [00:08:56] >> we we worked with them over a period of [00:08:57] time. We had a sample that I had written [00:09:00] nearly three years ago now like right at [00:09:01] the beginning of Aspire of like how [00:09:03] could you do database and and management [00:09:06] you know .NET application using Aspire [00:09:08] and it involved an extra service and a [00:09:09] whole bunch of things and it's a [00:09:10] perfectly cromulent like way of doing [00:09:13] it. But the EF ships with these tools [00:09:16] right these EF migration tools and so [00:09:18] there was this idea of could we build an [00:09:20] EF migrations integration that when you [00:09:23] ran Aspire deploy it produced EF bundle. [00:09:26] >> Ooh. [00:09:26] >> that's like an executable that you can [00:09:28] run as part of your deployment pipeline [00:09:30] that ensures your database is up to date [00:09:32] and so they built a whole you know as [00:09:33] well as in the dashboard when you're [00:09:34] running locally you can run a migration [00:09:36] or roll back on those type of things. So [00:09:38] that's now available for .NET customers [00:09:39] as well which is great. [00:09:41] >> There's one thing agents haven't solved. [00:09:42] It's databases. [00:09:44] [laughter] [00:09:44] Not not yet. [00:09:46] And we also we we had shipped the VS [00:09:48] Code extension a little bit before .NET [00:09:50] Conf last year but it is a vastly [00:09:53] different experience now. [00:09:55] Damian and I mostly work I think out of [00:09:57] the GitHub Copilot app or you know your [00:10:00] your agent harness of choice but I still [00:10:02] actually go into the VS Code editor for [00:10:04] some of the Aspire things we built. [00:10:07] And so if you're still in VS and you're [00:10:08] kind of interested in moving over to VS [00:10:10] Code or doing more polyglot development [00:10:12] in in one editor. This is a really good [00:10:14] experience for you along with, of [00:10:15] course, C# DevKit, which we just heard [00:10:17] from and a bunch of other stuff. So, [00:10:20] let's look a year in Aspire. Um I This [00:10:23] is the Aspire of Fridays bingo app. [00:10:26] >> The famous, the one and only. [00:10:28] >> the one and only that we've been using [00:10:30] now for our Friday live stream. [00:10:32] >> This is the app that we tend to like use [00:10:34] in Aspire Fridays and often spend 8 [00:10:36] hours trying to debug a particular thing [00:10:37] that we're trying to work. But I'm sure [00:10:38] it'll go perfectly today. [00:10:39] >> Yes, yes it will. Yes, yes absolutely. [00:10:42] Um [00:10:43] >> Are we watching cartoons? Like what what [00:10:44] is going on there? [00:10:45] >> VS Code Pets. They're on the beach. [00:10:47] >> Oh my gosh. I have not [00:10:48] >> Mod hiding behind this little duck. [00:10:49] >> have not seen the version where it [00:10:50] literally they go to the beach. Okay. [00:10:52] >> well I can Sorry, would you rather me go [00:10:53] to the forest? [00:10:54] >> I'm distracted, but that's fine. This is [00:10:56] good. This is good. Keeps me engaged. [00:10:57] >> Okay, good. Very good, very good. [00:10:59] Thanks, Anthony. Um first and foremost, [00:11:01] file-based app hosts, I use them [00:11:03] religiously. Uh we have multi-file [00:11:05] single-file now as Damian hates me [00:11:07] calling it because it's [00:11:08] >> line 16. It makes me so happy. [00:11:10] >> So, this app host used to be like 400 [00:11:12] lines because I wanted it to be a [00:11:14] file-based app host and [00:11:17] I put all of the deployment logic and [00:11:18] everything in it. I can actually hashtag [00:11:21] include [00:11:23] other files and I stuck them in a [00:11:25] folder. [00:11:25] >> Beautiful. [00:11:26] >> And now I have abstracted out my custom [00:11:27] commands I built into the Aspire [00:11:28] dashboard. Uh the build info that at the [00:11:31] bottom of my thing says built with .NET [00:11:32] 11 blah blah blah. Um all of the [00:11:35] deployment things and also all the Maui [00:11:36] resources. So, there is a mobile app for [00:11:38] this. [00:11:38] >> And of course, you could use a [00:11:39] traditional CS proj for this and be some [00:11:41] folks watching going, oh well why do you [00:11:42] not not just use a project? It's [00:11:44] personal choice. One of the differences [00:11:46] here is this apphost.cs now can live in [00:11:49] the logical place that it rightfully [00:11:51] owns in this repo, which is not a peer [00:11:54] of all the projects you're [00:11:55] orchestrating, but above the projects [00:11:57] you're orchestrating. It's literally in [00:11:58] the folder that underneath that are [00:12:01] subfolders for all the other traditional [00:12:03] CS projects that you're orchestrating. [00:12:05] So, in my mind, this is more [00:12:06] logically fits with what the the job of [00:12:08] this app host is. But you can absolutely [00:12:10] obviously still do this in a CS proj. [00:12:11] >> Yep, you [00:12:12] >> it. Um and so okay, I have all my my [00:12:16] Aspire things in here. I have my admin [00:12:18] portal, which is Blazer. I have my front [00:12:20] end, which is a V front end. I have a [00:12:22] migration service, which is just a [00:12:23] little C sharp worker. [00:12:25] And then I have that EF migrations [00:12:27] integration. And so I'm going to hit F5 [00:12:29] here or run app host. [00:12:32] Um and that's going to use the Aspire [00:12:34] integration extension, Aspire extension [00:12:37] in VS code to uh run my app host here. [00:12:40] If I ran this under the debugger, which [00:12:42] I would do, but it just takes a little [00:12:43] bit longer, [00:12:44] >> Mhm. [00:12:44] >> um it will actually attach the debugger [00:12:46] to both the C sharp apps and the V app [00:12:50] that's running. [00:12:51] >> polyglot debugging. [00:12:52] >> So polyglot debugging. Not just .NET and [00:12:54] JavaScript, but also Go, [00:12:56] um I think Python. We have a couple in [00:12:58] there. I can never keep track. There's [00:13:00] too many languages. Um [00:13:02] and here we are in the Aspire dashboard. [00:13:04] One thing that has [00:13:06] greatly improved since last year is uh [00:13:09] the experience for parameters. So .NET [00:13:11] user secrets have always been what we've [00:13:13] used under the hood to keep API keys, [00:13:16] passwords, etc. out of your source. We [00:13:18] have extracted that out into Aspire with [00:13:20] Aspire secrets. It works the exact same. [00:13:22] Um but now you can from the dashboard [00:13:24] pop up when people clone and run your [00:13:26] repo. Hey, I I need you to set a [00:13:28] password. So my password will be Damian. [00:13:30] Let me make sure I spelled it right. [00:13:31] Damian. [00:13:32] So I have to use your secrets. And this [00:13:33] is just local. You can't hack me with [00:13:34] this. [00:13:35] Um and the the resources know what [00:13:38] parameters they need, so they actually [00:13:39] wait on them. They all spin up. [00:13:42] My admin um [00:13:45] project here has that EF migrations [00:13:48] project related to it. Um I have my [00:13:50] separate migrations worker. And then if [00:13:52] I run [00:13:53] the dev board, I click around. [00:13:56] Do do do do do. [00:13:59] Go back here. [00:14:02] I have my traces. [00:14:03] >> Beautiful. [00:14:04] >> So [00:14:05] everything works, you know? We love [00:14:07] that. [laughter] [00:14:08] Um [00:14:10] if I go in, we actually have individual [00:14:12] telemetry sources now. So like we can [00:14:14] actually see the .NET [00:14:15] telemetry set up coming through because [00:14:17] we're we're running that under the hood. [00:14:18] There's whole bunch of different things [00:14:20] going on. Um if you want an overview of [00:14:23] Aspire, [00:14:25] go to our the aspire.net or the [00:14:27] aspire.dev YouTube. [00:14:29] >> got the yeah, your videos up there. [00:14:30] >> Yeah, we don't have a ton of time so we [00:14:32] weren't going to go too far into it [00:14:33] today. [00:14:34] Um what else was in this one? [00:14:36] Oh my goodness. [00:14:39] So we put a terminal in the dashboard [00:14:41] because why not? [00:14:43] But as Chet said this morning in one of [00:14:45] his sessions, like terminals are the [00:14:47] thing now. People are building CLI apps [00:14:49] like it's their job because they're just [00:14:51] a really good least common denominator [00:14:53] that gives you the same experience no [00:14:55] matter the entry point. [00:14:57] Uh so we built maybe the most fully [00:14:59] featured terminal emulator on the planet [00:15:02] and stuck it in the dashboard. [00:15:03] >> Yeah, one of the devs on the team [00:15:05] basically had a side project starting. [00:15:08] His Opus moment, if you like, was [00:15:10] was building a terminal emulator and a [00:15:13] .NET terminal library for building [00:15:16] TUI's, as they're called, TUI, terminal [00:15:18] UI's. And he started that literally at [00:15:20] the beginning of the year in January and [00:15:21] has been iterating on that in his own [00:15:23] time uh for months now. And in the last [00:15:26] version of Aspire that shipped, we or [00:15:28] the last second last one I think it was [00:15:30] maybe, um we we built this or shipped [00:15:32] this integration here. So he not only [00:15:35] built a great terminal library and a [00:15:37] terminal emulator so that you could test [00:15:39] your library, an agent could observe the [00:15:40] library um or your apps using the [00:15:42] library I should say, he built a web [00:15:44] based terminal host. [laughter] Rather [00:15:46] than using one of the you know many [00:15:48] existing web based terminal hosts, he [00:15:50] found a bunch of shortcomings in those [00:15:52] if you like and so built his own which [00:15:55] is you know to your point the most [00:15:56] feature rich that we have seen anywhere. [00:15:58] So you can run some pretty amazing [00:16:00] terminal demos directly inside your [00:16:02] Aspire dashboard now. [00:16:03] >> Mitch, you're crazy and we love you for [00:16:04] that. [00:16:05] >> Don't change. [00:16:05] >> Don't change. Yeah, this is actually a [00:16:07] file based app, single C# file terminal [00:16:10] app. Um it compiles down with native [00:16:12] AOT. It uses uh the system command line [00:16:15] and I am running it [00:16:17] in the Aspire dashboard. [00:16:18] >> Directly in the dashboard. [00:16:18] >> Which is pretty bananas. That also [00:16:20] means, of course, like this the CLI and [00:16:23] your agent can talk to all of it too cuz [00:16:24] anything you see in the dashboard is CLI [00:16:27] able. Last thing I'll show, [00:16:29] the most requested feature from even [00:16:31] before our our mega rebrand was [00:16:35] persistence between dashboard runs. [00:16:37] >> Yes. [00:16:38] >> Folks wanted to be able to see the last [00:16:40] time they ran their app and compare and [00:16:42] contrast with the current run. And so we [00:16:45] have it. We did it. So you now will see [00:16:47] in 13.6 13.5 13.6 one of the I don't [00:16:51] know we ship too much. One of the ones [00:16:53] in the last like two months. [00:16:54] Um this live run tab button in the top [00:16:58] right [00:16:59] and I can go and inspect previous runs [00:17:01] of this app host. So when I was running [00:17:03] it earlier to make sure it all worked, I [00:17:05] can go and see the telemetry data from [00:17:07] that. This was from 10:42 a.m. Pacific. [00:17:10] It's I don't know what time it is now. [00:17:12] Um not then. And go back to my live run. [00:17:16] Um and so we heard this from everybody. [00:17:19] But the OG Aspire folks from the .NET [00:17:21] community were the ones asking for this [00:17:23] for a long time. And we we finally did [00:17:26] it. So [00:17:28] quickly back in a presenter mode [00:17:31] just because Aspire 17 is coming next [00:17:34] week. [00:17:34] >> 17? [00:17:35] >> 17. [00:17:36] >> Yeah, we we we just like our numbers to [00:17:37] go up. We don't really care how much [00:17:40] they go up. They just have to go up from [00:17:41] the previous version. And so [00:17:43] >> OGs will know what happened when I [00:17:44] suggested going down to one. [00:17:46] >> Oh yeah, that didn't work out. [00:17:47] >> That didn't work. [00:17:48] >> Yeah. [00:17:48] >> Um [00:17:49] Aspire 17 has a lot for .NET folks in [00:17:52] it. [00:17:53] Um [00:17:54] I'm [00:17:55] here's a slide. Screenshot it. [00:17:58] >> Yeah. [00:17:58] >> Going to be way better if Damian just [00:18:00] shows you it. [00:18:00] >> Let's see if we can get through a few of [00:18:02] these in the time we have left. We're [00:18:04] going to go over to my machine now. All [00:18:05] right, so I've got the same [00:18:09] mostly the same. This is Aspire Fridays. [00:18:10] This is the Bingo app as well. And as [00:18:11] you can see at the moment, I've got the [00:18:13] app host open and it's currently version [00:18:14] 13.6. If I go to my CLI and I look at [00:18:17] the version, I am running a daily build [00:18:19] of Aspire. We are already at 17.1 [00:18:21] because we are shipping 17.0 next week. [00:18:24] And so I'm already like on the latest [00:18:26] stuff. But this is a good representation [00:18:28] of what we're going to be shipping next [00:18:30] week. So I'm going to go through and [00:18:31] update this uh app host. [00:18:34] So we'll let it do its thing. If you've [00:18:36] been using Aspire for any period of [00:18:38] time, you're probably familiar with the [00:18:40] Aspire update experience where we [00:18:42] analyze your app host, we look at the [00:18:44] projects that it coordinates, and then [00:18:46] we offer to update all the versions. So [00:18:48] we're going to go yes, I want to perform [00:18:50] those updates. Say yes, that's where my [00:18:51] NuGet config file is. And say yes, I [00:18:52] want you to apply those changes to my [00:18:54] NuGet config file. How very polite of [00:18:56] you. So it's going to go ahead and apply [00:18:58] those updates now. You can actually see [00:18:59] it live like editing, running the [00:19:02] commands to update the package because [00:19:03] we invoke the CLI uh to do this. And so [00:19:06] it's doing them uh one by one. [00:19:08] And so we're going to let that finish. [00:19:11] And then we're going to go into now. So [00:19:12] the update was successful. Now at this [00:19:14] point I am on the 17.x [00:19:17] versions of these packages/SDKs, [00:19:20] but I haven't adopted all the 17.0 stuff [00:19:23] for .NET developers yet. So that's what [00:19:25] I'm going to do manually. Now for some [00:19:26] of the things I'm about to show you, we [00:19:27] do have skills available so that you [00:19:29] don't necessarily have to do this [00:19:30] yourself. You can ask your agent to do [00:19:32] it for you. But I'm going to try and do [00:19:34] it manually for you so that you can kind [00:19:35] of you know see what what what's going [00:19:37] on here under the hood and I can [00:19:38] explain. So the first thing is we're [00:19:40] going to get rid of this SDK thing at [00:19:41] the top here. So [00:19:42] >> What? [00:19:43] >> So from the very beginning I actually [00:19:44] from the beginning we had a workload and [00:19:46] we got rid of that pretty quick. And [00:19:47] then we moved [laughter] to uh this uh [00:19:49] package-based SDK, which is very [00:19:52] powerful and especially for building [00:19:54] file-based apps which we happen to be [00:19:55] using here. SDKs are a really great way [00:19:57] of pulling in a lot of functionality in [00:20:00] a single reference. Um but they do come [00:20:03] with some [00:20:04] caveats as well. And if you don't need [00:20:07] to use one, you shouldn't. Right you [00:20:08] know you use them when you need to. And [00:20:09] we have [00:20:10] been able to evolve our toolchain enough [00:20:12] over the last two years now that we [00:20:14] simply don't need to use one anymore. If [00:20:17] we didn't have the Aspire CLI, we would [00:20:18] still need this. But because .NET Aspire [00:20:21] became Aspire and now works across [00:20:23] multiple languages with the Aspire CLI. [00:20:26] We no longer need to use this very .NET [00:20:28] specific mechanism to kind of deliver [00:20:30] things that we need behind the scenes, [00:20:32] namely the dashboard and DCP, which we [00:20:34] haven't talked about. So I am going to [00:20:36] delete that and I am going to add back [00:20:39] I'm going to add a package that's [00:20:40] hop.aspire.hosting.apphost, [00:20:42] which you may remember we used to have a [00:20:44] version [00:20:45] that got added and then the SDK moved to [00:20:48] doing that implicitly. So that's all I [00:20:50] should have to do. Just remove the SDK [00:20:54] and add back the app host and I'm going [00:20:55] to like check as I go along here [00:20:58] by ensuring that [00:21:00] things build. So I'm just going to try [00:21:02] and just manually I'm going to do like [00:21:03] the old fashioned way I'm just going to [00:21:04] build this and see if it works. Make [00:21:06] sure I haven't like missed anything. So [00:21:07] you know it's doing its thing, it's all [00:21:08] good. [00:21:10] >> So folks who have updated to Aspire 13.5 [00:21:12] or 13.6 might see a property that popped [00:21:15] in called use Aspire CLI bundle. [00:21:17] That was one of the ways that we were [00:21:19] testing this whole functionality opting [00:21:21] into the CLI without actually opting you [00:21:23] in by default. So in 17 you can get rid [00:21:25] of that property if you have this line. [00:21:28] We just you know we're we're very good [00:21:29] about trying not to just break [00:21:31] everything all the time, only sometimes. [00:21:33] >> We tried to to ease you into some of [00:21:35] these changes. Okay. So my build now has [00:21:37] shown me there's some few things I have [00:21:38] to do as my next step. [00:21:40] And so that is we're not going to use [00:21:42] project references anymore. We're going [00:21:44] to move to the new .NET project [00:21:47] resource, which we call project resource [00:21:49] V2. And so I'm just going to delete [00:21:51] these. I don't need those anymore and [00:21:52] I'm going to add another package which [00:21:55] is the Aspire if I can spell package [00:21:57] right. It's the Aspire.hosting.v2. [00:22:00] It's a good guess, but it's not what we [00:22:01] want [laughter] in this case. It's the [00:22:03] .NET package. So just like any other [00:22:05] language system now you can pull in [00:22:07] support for .NET into your app host [00:22:09] rather than [00:22:11] this being an intrinsic part of Aspire. [00:22:13] Again, part of Aspire going more [00:22:14] polyglot. And so by doing that I have to [00:22:17] now change the way I reference these [00:22:20] projects down here. So you can see I've [00:22:21] got the little squiggle saying hey this [00:22:22] is obsolete, don't use this anymore. So [00:22:24] I'm going to say add .NET project [00:22:25] instead, and this API is not generic. We [00:22:28] don't generate these types anymore. [00:22:30] Instead, what we do is we accept the [00:22:32] path to these types. And Copilot done a [00:22:34] pretty good job there of figuring out [00:22:36] what it is that we want to do. So you [00:22:38] don't have to put the full path here. [00:22:39] You can actually just put the path [00:22:42] >> Okay. [00:22:42] >> projects are always directories of their [00:22:44] own. Sorry. So if you just put a [00:22:45] directory in here, we will assume [00:22:47] there's a CS project inside of it and we [00:22:48] will find it. Okay? So that's all I'm [00:22:49] going to do here. Just makes it for [00:22:51] slightly shorter. And then if I give [00:22:52] this a moment, is it going to I'll just [00:22:54] start typing. Sometimes, you know, [00:22:56] >> Yeah. [00:22:56] >> Copilot beats you and like you start [00:22:58] typing and then it's like, oh, okay, [00:23:00] well, it got there. There. So so now [00:23:02] I've changed my two project references [00:23:05] um to [00:23:06] uh these new add .NET project version. [00:23:09] Now the benefit of doing this is that [00:23:11] when these were project references at [00:23:12] the top here, [00:23:14] I had them listed up here. [00:23:15] >> Yep. [00:23:15] >> That meant when I ran this App Host, we [00:23:17] had to build that project before we [00:23:20] could even start running the App Host, [00:23:21] because it was part of the project graph [00:23:23] of the App Host. By moving to [00:23:25] referencing these by path and removing [00:23:27] those project references, Aspire now [00:23:30] takes ownership of building these when [00:23:31] we decide it's the right time to build [00:23:33] them. And so that really means we can [00:23:34] get the App Host started as quickly as [00:23:36] possible. We can show you the dashboard [00:23:38] as quickly as possible. And then when [00:23:40] it's necessary, we will build any C [00:23:42] Sharp projects that you're referencing [00:23:44] or VB projects or F Sharp projects that [00:23:45] you're referencing from your App Host, [00:23:47] so that they can then run. It also means [00:23:49] we can take care of rebuilding them if [00:23:51] you make a change to them or sneak peek, [00:23:53] maybe hot reloading them if you make a [00:23:55] code change to them without needing to [00:23:57] rebuild them. So [00:23:58] moving to this model is quite a big [00:24:00] change from what we've had from the last [00:24:02] two and a half years, but it allows [00:24:03] Aspire to do a lot more for your .NET [00:24:06] projects, which is why uh we're pushing [00:24:08] you in this direction. [00:24:09] >> Yeah. And we already battle tested this [00:24:11] with all the other languages, so we know [00:24:12] it works, you know? We leaned on MS [00:24:14] Build for a long time to handle .NET, [00:24:16] and it wasn't until we felt comfortable [00:24:17] with doing this to the other languages [00:24:19] that you can orchestrate that we were [00:24:21] like, you know what? I think .NET up to [00:24:23] parity looks let's [00:24:24] >> So you may have APIs like Maddie does [00:24:26] here where she was taking a dependency [00:24:28] on the old resource type. So she [00:24:29] actually had built an extension method. [00:24:31] And if I navigate into this, you can see [00:24:33] it's taking this um project resource. So [00:24:36] now that you're not using that type [00:24:37] anymore, you'll just need to update your [00:24:39] methods to take this. And there's two [00:24:40] ways. You can either change this to just [00:24:41] take the .NET project resource and then [00:24:43] import the appropriate namespace, or [00:24:46] there is a common interface. So we did [00:24:47] introduce a common interface so you can [00:24:49] change your methods to just work with [00:24:50] both of them. But that gets into a [00:24:52] little more detail. Like if you're [00:24:54] relying on specific members from the old [00:24:56] type that aren't in the new one, then [00:24:57] you may need to you know your mileage [00:24:58] may vary. But in a lot of the cases, you [00:25:00] can just switch it over here and it'll [00:25:01] just continue to work the way it did [00:25:02] before. [00:25:03] All right. So that's kind of the main [00:25:04] things that we wanted to show here. [00:25:06] >> to run it? [00:25:06] >> Oh, okay. That actually means I have to [00:25:08] get rid of all the warnings. [00:25:09] >> Oh. [00:25:09] >> So okay. So this one is the same. [00:25:12] >> comment it out. [00:25:13] >> Oh, well I can just fix it the same way. [00:25:15] >> All right. [00:25:15] >> So we'll do this. [00:25:17] We'll do this. We'll do this. All right. [00:25:19] So let's try and run it. [00:25:20] >> Yeah, let's see. [00:25:21] >> There are still some warnings because [00:25:22] there's some deprecated APIs and things [00:25:23] we've moved across a major version, so [00:25:25] we will see. [00:25:26] >> Again, there's a skill too. So we have a [00:25:28] breaking changes or an update skill that [00:25:30] will pull into other skills, including [00:25:31] the very specific project resource v2 [00:25:33] skill. That'll do it all for you. [00:25:35] >> Right. All right. So that loaded there. [00:25:37] >> Oh god. [00:25:39] >> Let me take this URL. [00:25:43] >> We love integrated browser. [00:25:44] >> Yeah, you know, they have their place. [00:25:47] And that place is not here right now. [00:25:48] >> Not [laughter] not when you need one [00:25:50] screen. [00:25:51] >> Right. And so we have a redesigned [00:25:53] dashboard. [00:25:54] >> Oh. [00:25:55] >> Look at this. I'm assuming this is what [00:25:56] you were leading me to. [00:25:57] >> Wait. Just just [00:25:58] >> Just a little bit. So in the new version [00:26:00] of Aspire, Aspire 17 coming out next [00:26:02] week, there is a redesigned dashboard. [00:26:04] All the dashboard functionality that you [00:26:05] are obviously, you know, used to and you [00:26:07] love is obviously still here, but it's [00:26:09] had not just a lick of paint, which we [00:26:11] did a few releases ago, but kind of an [00:26:13] information architecture overhaul. So [00:26:15] there's a lot more functionality [00:26:16] available to you now without having to [00:26:18] click around so much. [00:26:19] And lots of new things like tags and [00:26:21] pinning and all types of wonderful stuff [00:26:22] that wasn't there before. Yeah. [00:26:23] >> Besides dashboard persistence, probably [00:26:25] the number one requested feature. Click [00:26:26] on a resource. [00:26:27] >> Oh, okay. We'll click on a resource. [00:26:29] >> I know we're like a little on time, but [00:26:30] it's Barry next and we'll just not do as [00:26:31] much Q&A. [00:26:32] >> Yeah, that's true. So look at this. Like [00:26:33] now on the resources, if you remember [00:26:35] the previous one, I would click here and [00:26:36] I kind of like a the right third of my [00:26:38] screen would give me the details, maybe [00:26:40] half. Now you can see I've got a lot [00:26:42] more space, space for activities as [00:26:44] people would say. All these things that [00:26:45] I can see here and including the [00:26:48] relationship. So perhaps if I pick [00:26:49] something that's Do you have anything [00:26:50] that's related on by like more than Oh [00:26:52] look, my console logs are directly in [00:26:54] the overview. That is super super cool. [00:26:56] I can see there's some errors here. This [00:26:57] is just awesome. Well, these are [00:26:59] slightly more complicated relationship [00:27:00] that I can visualize now directly on the [00:27:03] resource without having to go to the [00:27:04] graph view. Like very very very nice. [00:27:06] >> And just like that, I mean you updated [00:27:08] from using a bundled version of .NET and [00:27:10] we'll talk about why that's really cool [00:27:11] and me and Jose are session [00:27:13] um the newest .NET project resource [00:27:16] running on 17 like [00:27:18] with with your hands. You did that [00:27:20] traditionally. [00:27:21] >> hand from memory. [00:27:23] Yes, absolutely. [00:27:23] >> It's kind of impressive. It's almost [00:27:24] like you've done this for a while. [00:27:25] >> And the other thing is yeah well and the [00:27:27] other thing is that your your your app [00:27:29] here has what two or three C Sharp [00:27:30] projects. So all the benefits I talked [00:27:32] about we're moving stuff later. Um [00:27:34] imagine that multiplied to when you've [00:27:36] got 20 things that you're orchestrating [00:27:37] which we know or even more. Like what [00:27:39] about customers too? [00:27:39] >> seen 47 .NET projects orchestrated by [00:27:42] Spire. [00:27:42] >> So you'll just get more benefit by [00:27:43] having the dashboard come up more [00:27:44] quickly in those scenarios. [00:27:46] >> So closing slide, you know where will we [00:27:48] be next year? Good question. [00:27:51] I don't know. We might be on the moon or [00:27:52] something. [00:27:52] >> my crystal ball. Honestly, like it's no [00:27:54] it's no good anymore. [00:27:55] >> Um uh aspire.dev is the site for all [00:27:57] things Aspire. We are on the Microsoft [00:28:00] GitHub org under Aspire. We have the [00:28:02] best Discord on planet Earth. Sorry [00:28:04] Maui, I know you guys think you have a [00:28:05] better one, but ours is the best. [00:28:07] aka.ms/aspire-discord [00:28:09] and of course catch us online or [00:28:11] wherever else. [00:28:12] And we probably have like a minute for [00:28:14] questions. [00:28:15] >> or two.