Skip to content
Episode 524

524: A .NET MAUI AI Revolution

Your Hosts

About this Episode

On episode 524 James and Frank dive into the new .NET MAUI developer stack—covering the MAUI CLI/Maui Doctor that auto-provisions SDKs and emulators, the Maui Sherpa GUI for device/Xcode/provisioning management, and DevFlow's MCP server that lets AI agents inspect, interact with and automatically test apps (closing the loop). They also highlight the VS Code MAUI agent/skills, profiling tools, and the shift to core CLR in .NET 11 with performance tradeoffs to watch.

Follow Us

⭐⭐ Review Us ⭐⭐

Machine transcription available on http://mergeconflict.fm

Support Merge Conflict

Transcript

James 00:00

wo but but but bow Welcome back, everyone, to Merch Conflict, your weekly. Is my audio working correct? Is this the right microphone, Mr. Frank Kruger, my co-host? I'm James Wants and Magno.

Frank 00:09

James about to make note, you sound wonderful. You always sound wonderful. It doesn't matter what mic you're using. And I definitely hear you tapping it and we can all enjoy you tapping your microphone during the podcast.

James 00:19

Okay. Sometimes in Zencaster, it's just a big, like right now, it's just like a big... like ridiculous Like, do I sound okay? Do I sound, do I, so you've been talking to me for 30 minutes.

Frank 00:29

Yeah. Yeah, I think I would have said something.

Read Full Transcript Hide Full Transcript

James 00:31

Don't tell me that I sound like butt.

Frank 00:33

i would have said something.

James 00:33

Okay.

Frank 00:34

Your waveform is is hitting hard. My waveform is tiny. That's how we keep it. People don't want to hear me.

James 00:40

You don't even, you don't even have a waveform.

Frank 00:41

They want to hear from you.

James 00:44

I'm going to, I think I'm going to vibe code our own podcast platform this weekend. I'm pretty sure this is going to happen.

Frank 00:48

Why haven't you vibe coded? I mean, you own every other domain. This one should just be soundbite.fm.dev.ai.

James 00:55

Vibecast. I like that. I like that. all right. Well, welcome back, everyone, to Merge Conflict, your weekly developer podcast. I'm one of your hosts, James Martin Magno. With me, 18-time Microsoft MVP, Mr. Frank Greger. How's it going, buddy? Yeah.

Frank 01:10

Woo, 18. I wish that was the actual number I got reset. Hey, James, I did. Hi, they let me back in. i don't know. i don't know who I know over there, but they keep letting me in. It's kind of nice. um Yeah, looks like I can keep some of my Azure sites up.

James 01:29

yeah

Frank 01:29

That's kind of the important thing these days.

James 01:31

You've been podcasting. You've been blogging. Maybe one day you'll merge pull requests on SQLite-net.

Frank 01:35

Yeah. Yeah.

James 01:39

Who knows? The world may never know. aric Maybe Eric's just going to do it for you.

Frank 01:42

It seems like, well, it seems like I break it every time I merge. So I'm actually trying to do fewer merges on it. But um yeah, anyone, I apologize if you are actually waiting for a SQLite-net update. It's just, it's it's Android's fault. It's Google's fault. The code's perfect. It's just they're changing Android stuff. So we have to do a release. um Not my fault. It's Google. Blame Google.

James 02:06

I think it's that, but i think there's also a CVE that needs immediate repair. and i think i think it's already pushed out from Eric, so don't worry. so

Frank 02:12

i believe I believe these apps run in a sandbox, James. What what is CVE in the mobile world?

James 02:17

Well, well here's the thing, Mr. Frank Kruger, what you don't know is that SQLite-net is multi-platform and runs everywhere. Just because you only write mobile apps.

Frank 02:29

Oh.

James 02:30

We have done an entire podcast in which we talked about how people and yourself run SQLite-net on the server.

Frank 02:32

Yeah. It's true. It's actually kind of wonderful to run it on the server. It's so much easier to deploy and do backups and all that stuff. um I even added like some functions to the API surface to make backing up even simpler. So like for me, it's a one-click download to get a backup of like my entire database. It's really it's really wonderful.

James 02:58

It's pretty cool

Frank 02:59

And restores. Restores are just as easy, too, because it's a file. What do you do when you got to restore it? You delete the old one, put the backup in there,

James 03:07

cool..back..back undo.

Frank 03:07

Reboot. Sometimes you don't even have to reboot.

James 03:10

this is there Refresh. Refresh the page. It's there. um Well, interestingly enough, talking about mobile development, ah I wanted to go back to our roots a little bit here because ah I have an upcoming conference session at VS Live ah Redmond in Redmond, Washington at the Microsoft offices conference area thingy.

Frank 03:24

Oh. Hmm.

James 03:37

and I have a session on Don

Frank 03:37

Okay. Oh, sweet! You're back! You're really going back to your roots. Is this... um yeah, okay. So, Mobile Maui, Windows Maui, Android Maui, what what kind of Maui's we doing?

James 03:54

I'm talking about AI development with.NET MAUI, baby.

Frank 03:57

Of course you are!

James 04:00

Let me explain, let me explain, Frank Gruger, let me explain. Okay, so a lot of people, and when I give talks, I do nowadays, I used to do a lot of like intro talks, like intro to mobile backend as a service, intro to.NET MAUI, intro to Xamarin Forms, intro to SQLite databases, intro to whatever, right?

Frank 04:11

Mm hmm.

James 04:19

That was my bread and butter. I love teaching people the basics. And I do a lot of co-pilot sessions and vibe coding and how work has changed all this stuff.

Frank 04:25

okay

James 04:27

And I wanted to challenge myself. The cool part about conferences that if you submit a session and it gets accepted, you got to go do that session,

Frank 04:35

Turns out that that is the Achilles heel of being a presenter is actually doing the presentation. Not sure that's the right metaphor, but the Odyssey is coming up. So apropos.

James 04:45

Yeah. And the problem that I have, Frank, usually even with intro stuff is that like, I don't read the code and I don't write the code, but I do write the code.

Frank 04:54

Oh.

James 04:56

I don't type the code.

Frank 04:58

Hmm.

James 04:58

I type the prompts that write the code.

Frank 05:00

Right.

James 05:00

And that's been pretty firm for two years. Like 99% of what I do is prompt to code and review of said code.

Frank 05:06

Yeah.

James 05:09

And I know the code, I can read the code, obviously. I know what the code is doing.

Frank 05:11

You do read it. Okay.

James 05:13

It depends.

Frank 05:15

yeah Okay.

James 05:15

yeah

Frank 05:15

Yeah. Because I was just doing a code review of some PRs, which was, let's call it 95 to 99% AI generated. But I still do the PR because I stand by, they're going to make it work one way or another.

James 05:26

Yeah.

Frank 05:31

The AI is going to make it work. But it might create technical debt down the road.

James 05:32

Oh, yeah.

Frank 05:36

And I'm constantly trying to minimize technical debt down the road. So i I'm PR reviewing. I joke. It's like I'm actually doing a lot less um logic PR reviewing and more like organizational architecture and organizational. That's kind of what I'm PR checking these days.

James 05:53

That's kind of what I'm doing, especially I get a lot of PRs that are AI generated. and And people even say like, oh, I did this with this or whatever. That's cool. Then i have the AI review the AI, i review the thing.

Frank 06:00

Mm-hmm.

James 06:02

I think once you have an established project, as long as you're sort of following and even myself following kind of core principles of like one feature, one bug fix per PR, not huge refactoring, check your linting, don't change your stuff.

Frank 06:12

Yeah. Yeah. Mm-hmm.

James 06:16

It makes it just like a normal PR.

Frank 06:18

yeah

James 06:18

um But it does make a challenge for me as a presenter because that's not what I do all the time, a manager. um But when I want to present and do the the basics and typing the code, I can still do that. But I challenged myself to do something a little bit different for this talk, which was ah had a conversation with John Dick at the MVP Summit in March. And he was like, hey, listen, I know that you, one, still do a lot of Maui work, but still do a lot of bunch of other work.

and you're really deep in the code, but have you been following what we're doing? And I go, Don, I gotta be honest with you.

Frank 06:50

Yeah.

James 06:52

It's like, if it's not built into the tool, then like, nah, no, not as much because I'm a big, like, if it's in the box type of guy. And he's like, cool, we're about to put a lot of it in the box. And I was like, oh, cool. So I decided that that would be the talk I wanted to give. So it's a talk about how AI development is evolving down at Maui for the team and also for you as a developer. So there's a lot of how the team is adopting AI. And I worked with David Ord now and John Dick and Gerald and the engineering team to like, get insight into they're adopting AI and the processes and a huge open source project like.NET MAUI.

ah But I also wanted to kind of go deeper into three specific key pieces of technology that they have ah delivered and are kind of in the box.

Frank 07:39

Mm-hmm.

James 07:40

And that's what I want to cover today in three segments. And they are enabling not All of them are AI features, but they're developer productivity tools that end up being a superpower when doing agentic development.

Frank 07:57

Yeah, yeah. um I'm actually excited. um i think I know two of the three that you want to talk about. And i got to have good conversations at the MVP summit also. But I'm always scared to death about what I'm allowed to talk about and what I'm not allowed to talk about. So I'm so glad that you're leading this parade because you know what's actually being released and all that kind of stuff. I love being an MVP, but one of the worst parts of it is not knowing what you can and cannot talk about.

because It's so confusing sometimes.

James 08:24

Yeah.

Frank 08:25

So anyway, um I've been I've been I've been hoping to talk about this stuff, too. So I'm curious what your three topics are. I'm ready for at least two of them.

James 08:35

The very first one is the one that every single app developer today can take advantage of, including non.NET MAUI developers, to be honest with you. If you're just an iOS and Android developer, you may also find this nifty. And it is called the.NET MAUI CLI, a command line interface. So for for many years, we have been locked into this ecosystem of Visual Studio and then the VS Code or the VS Code extension.

Frank 08:55

Yes.

James 09:03

And then when we needed to do certain things, we'd have to drop down into the ADB, the Android Debug Bridge sort of CLI tool to do stuff, or also the Xcode...

Frank 09:09

o Gross. Yeah.

James 09:15

CLI tooly thingy as well.

Frank 09:17

Yeah.

James 09:18

But the team has put together and they shipped. It's just a global.NET CLI tool that you can install. And it's called the.NET MAUI CLI. And it does a bunch of.NET MAUI things. So here's what it's going to do, Mr.

Frank 09:29

yeah

James 09:30

Frank Kruger. ah One, there's a MAUI doctor. This is probably my favorite one, which runs environmental diagnostics. It can auto-fix issues for you. So if you don't have the JDK, you don't have Xcode, it can do this all for you. It can list the devices.

Frank 09:43

Does anyone ever have the JDK?

James 09:44

Yep.

Frank 09:44

I have never walked up to a machine and had the JDK. I used to think the worst part of Android development was the Android s SDK. No, it's getting the JDK onto that machine. um So I didn't want to interrupt you, but I love Dr.

James 09:56

well wait well Well, here's think of it like this.

Frank 09:58

Tools. Yeah.

James 10:01

this one This one command fixes so much because imagine you do install.net, you install the Maui workload, and this might actually do it for you automatically.

Frank 10:06

Mm-hmm. Mm-hmm.

James 10:10

And you install the CLI. and then actually it would be even better, is you install the CLI, you at least need.NET, and then it ins installs a workload, but it would install everything for you. It'd set up your emulators, your JDK, your sd Android SDKs, your iOS simulators. It would just provision everything for you automatically. Set all of your environment variables. Bingo, bingo, you're good to do. I did an entire 30-minute video on like VS Code Maui setup. like No, now it's just install the CLI, Maui Doctor, YOLO, let's do it.

Frank 10:39

Yeah. and Yes, yes, yes. Just keep replying.

James 10:45

Yes.

Frank 10:45

Yes.

James 10:46

Yes.

Frank 10:46

um Yeah, I noticed the tooling has gotten a bit better. Like if you try to do an Android build from the command line, it's going like, hey, buddy, we actually have a crazy target you can use that will install a bunch of stuff. um So that's been my way. But even honestly using that target, there's like an install install Android target or something like that in build. um But even that, it's it's honestly still kind of complicated. So I'm excited for this doctor tool. I ran the doctor tool on my computer, which, by the way, works fine. so I was like, well, this um it's kind of like when you go to the doctor and you're healthy and you're like,

Please don't find anything because like the machine's working. If you say something's wrong, I'm going to be very upset.

James 11:27

That's where it works.

Frank 11:31

And so um I got warnings, but it turns out warnings because I can update my versions. I don't need to update my version. So it should not be warnings. Those should just be here's your lollipop. Good job. Your machine is working. By the way, you could update if you want. Shouldn't be a warning. Warnings are like, you know, you got to eat healthier. You got jog a little bit more. That's what a warning is.

James 11:54

Sure. Yeah.

Frank 11:55

Doctors should just be like, you know, if you're in the mood, the year changes, might want to update some of these things.

James 11:57

Yeah. i i I just ran it now and I did get two warnings and I did get ah update available workload set available.

Frank 12:07

Yeah. Shouldn't be a warning.

James 12:10

Yeah.

Frank 12:10

No, no. It should be like, go for a jog.

James 12:10

But...

Frank 12:12

That's your warning.

James 12:14

But much green, and I do like that.

Frank 12:16

Yeah.

James 12:16

um So that is fine by me. ah so

Frank 12:20

ah

James 12:21

ah So that's really good. But let me just list off all the other stuff. So you have ah you can list your devices that are connected to devices or emulators.

Frank 12:24

Yeah.

James 12:29

On Android, you can... um Just do a full interactive install, set up the Android environment, SDK listing, SDK install, JDK install, emulator creation, emulator starting, emulator stopping, emulator deleting, Xcode listing, runtime listing, simulator listing, simulating starting, stopping, and deleting.

Frank 12:42

Mm-hmm.

James 12:45

i don't know when you delete a simulator, but could. I'll tell you why in a second. profile. There's an entire app profiling tool that captures traces with.NET trace automatically.

Frank 12:51

Yeah.

James 12:56

And then there's a bunch of other things that we'll talk about in a little bit into another tool that the CLI integrates into.

Frank 12:57

Pretty cool. Yeah.

James 13:04

But this does all your Android, Apple platform, device management, and app profiling, which is super duper cool. And it'll give you like a speed whatever the the speed trap thing chat chart speed trap e speed speed not speedometer yeah

Frank 13:17

Speed trap. It's not at all what it's called, but we'll call it speed trap. Speedometer. No, I'm just kidding. Yeah,.NET profiling has been around for a while, and I actually have like a separate um console app I generally do when I want to, like because I just have a bunch of tests that I want to run that I want to keep profiles for. So I haven't tried out the app profiling, but I'm excited to because that's the real world stuff. um And it'd be fun to actually see if the profiling works on device. I might be asking for a little bit too much there, but that would be fun to find out if we could get that to work.

James 13:57

Yeah. Well, so the cool part about this is that this is just a CLI that works anywhere. And then obviously the nice thing is that, you know, once you have a CLI, your agents can become aware of said CLI.

Frank 14:03

Mm-hmm. Yeah.

James 14:08

You can do CLI things, which is really nice for all intents and purposes when you're working with coding agents.

Frank 14:09

yeah

James 14:13

However, um I like a GUI, Mr. Frank Kruger.

Frank 14:18

Oh, yeah. Yeah. I mean, we're here because we like GUIs. CLIs are great if you live in the 1970s or if you have a 300 baud connection to a mainframe computer. But who in 2026 would use a CLI?

James 14:36

Oh, not me.

Frank 14:38

ah Maybe DoorDash.

James 14:40

e

Frank 14:40

If you need DoorDash, I think you use a CLI.

James 14:43

Yeah. um So um John Dick has a Windows, Mac, and Linux app. It's called Maui Sherpa, and it is your guide to development environment needs.

Frank 14:55

Yeah.

James 14:59

Now, here's the cool thing about the Maui Sherpa is that it's built on... the.NET MAUI CLI, but more. so It gives you a full visualization of all of your devices, simulator, um all of your SDKs, your your your JDK packages.

Frank 15:07

Yeah.

James 15:19

It has the MAUI doctor built into it. Actually, it co-pilot integration built into it. um It has app profiling built in, so you can actually create a new profiling session. You can point it at a platform, at a launch target, like an actual device and release or whatever it is, and profile it there, review it, capture it, do all that stuff. But he took it a step further because it obviously is a GUI to do all this stuff. And my favorite thing is that he added more. So things that really wouldn't be in a.NET MAUI CLI, but what.NET MAUIs or even just mobile developers would need. So for example, he has Xcode management. Remember Xcodes?

You don't need it anymore. It's right here.

Frank 15:57

this freaked me out. I couldn't believe you he went through all that effort because like you would think like downloading an Xcode install, easy peasy. No, because you got to be signed into Apple.

James 16:05

Yep.

Frank 16:06

So there's a whole like sign in chain you have to do, um which was funny.

James 16:07

yup

Frank 16:11

Sorry. side tension When you first ah run the GUI app, it's like, I need a place to put secrets. I'm like, well, what secrets are you recording? Mr. App, sir. Yeah.

James 16:21

Mr. John Dick, what are you doing here?

Frank 16:22

What are you doing?

James 16:23

What you doing here, buddy?

Frank 16:24

I mean, it says it's local, so I trust it. I i totally trust John. um But at the same time, like, what secrets? Well, it turns out stupid log in stuff like if you have to sign into Apple and things like that. Plus, there is a secret section. i have no idea what I'm supposed to put in the secret section, but whatever. that's That's for power users, obviously.

James 16:42

Secrets.

Frank 16:42

I'm not a power.

James 16:43

Secrets.

Frank 16:43

I just put my secrets.

James 16:43

Frank, secrets.

Frank 16:44

i I'm going to write little little love letters to the app.

James 16:47

There you

Frank 16:48

No, it's pretty cool that there's the Xcode management. i'm i I'm not sure. I love my Xcodes app. um

James 16:56

Yeah, it's good.

Frank 16:57

I might try this, though. Yeah.

James 16:58

Well, my favorite part actually is if you go, there's installed available and you can show betas and RCs, but also there's runtimes. Click on runtimes for me.

Frank 17:07

o Runtimes are hidden.

James 17:11

Are you ever like, hey, my hard drive's getting filled up and you're like, hmm, how did that happen? Is it because I have iOS 18.1, 18.5, 18.6, 26.5, 15.5, 16.4, 26.2 simulators that are all to gigs each?

Frank 17:17

oh gosh. Yes. Yes, it is. Mm-hmm. Yeah.

James 17:27

Is that why?

Frank 17:27

Well, James, I might need those. You know, I might wake up one night and just be like, you know what?

James 17:29

um god you might

Frank 17:33

I want to do some iOS 15 development. I'm just in that kind of mood.

James 17:37

sometimes you are sometimes you are

Frank 17:38

ah No, it's terrible. It's terrible. thank Thank goodness I bought the big hard drive on this computer, so I haven't noticed as much. But back when I had the small hard drive, oh, I noticed. Because each one of these stupid things is like seven gigabytes.

James 17:48

Oh yeah.

Frank 17:52

So, yeah, you notice after a few of them.

James 17:55

That's a good one. like And what's interesting is if you boot up the most recent X codes, it doesn't show you the old, old, old simulators. It'll only show you like the the recent families. So I don't know what's up with that, but I'm sure X codes does that too.

Frank 18:05

Yeah.

James 18:07

But he took it a step further. so he did if you not just So once you need to log into this, but also if you set up a app connect thing like identity provider.

Frank 18:20

Fang. Yeah.

James 18:22

You can see all of your registered devices.

Frank 18:23

Sure.

James 18:24

You can register devices. You can see and manage your bundle IDs, certificates, provisioning profiles, do push notification testing.

Frank 18:28

It's awesome.

James 18:33

On Android, you can store your key stores.

Frank 18:34

Yeah.

James 18:35

You can manage your SDKs, your emulators, your devices. And you can put your publishing profiles inside of it.

Frank 18:39

for instance instance

James 18:44

um You can also manage your root certificates on your machine for some reason.

Frank 18:47

Yeah.

James 18:47

I don't know why and what any of them mean, but they're there.

Frank 18:50

Look, i I don't know why it's there either, but I like clicking it. Because I'm like, why do I have so many root certificates? And maybe do I need these other ones? More roots, the better. That's what I always say. um

James 19:04

I reformatted a machine once, Frank.

Frank 19:05

yeah right

James 19:06

And when I reformatted it, it didn't install the root certificate, the intermediate. So I have zero root certificates, i have a bunch of intermediate certificates.

Frank 19:11

oh yeah.

James 19:14

And it's the WWDR G series that you need. You need the G series.

Frank 19:19

Okay, those were the crazy ones. Okay.

James 19:21

And it's so hard to find those and install those in the machines. And if you don't have those, you can't install like self-signed certs and all this other stuff to actually get your but your profiles to work.

Frank 19:25

Oh, yeah. Right. Yeah, I had to do it manually once. And honestly, I can't remember if it was a Mac or a Windows, but I had some ancient operating system. And they're just like, we don't give out ah root certificates anymore. Or they don't, you know, it wasn't getting updates or anything. But you can go on nefarious. They're not nefarious because they're just giving out public root certificates. But you can go to nefarious websites and download certificates. Yeah, this is all sounding like Windows. And like somehow actually update like the machine's root certificates. Sorry, this is a tangent that means absolutely nothing.

But, you know, i'm I'm noticing I only have WWDR G3 and G6. Like, maybe I need G2, G4, G5. I don't know. I'm just going to install them because why not? More roots, the better.

James 20:17

Maybe. Yeah, I only have three and six, so I feel safe for some reason. I don't know. But they some are expiring.

Frank 20:23

No, the truth is the fewer roots, the better, everyone.

James 20:23

and Yeah. I only have a few. So I thought this was super cool. And actually, it's relatively easy to set up your identity, too. It's a little bit funky UI.

Frank 20:33

Yeah.

James 20:34

Like, there's a settings. You got to go to your settings. You got to give it a P8 file and do all this stuff. But it's pretty easy to set up.

Frank 20:39

I want to go back.

James 20:40

Yeah.

Frank 20:40

Yeah, and I want to go back to the ah provisioning profile support because that is cool. um I haven't actually signed in with my um App Store Connect or whatever it needs for that one.

James 20:45

Oh, yeah. It's easy.

Frank 20:51

um

James 20:51

yeah.

Frank 20:53

But I still use the website. I still use Apple's janky website to to do a lot of those. Yeah. I don't know what other people do, but I still use the website. So this will be really fun. I hope it's all in this app. And actually, that's probably the part of the app I'm going to use the most, to be thoroughly honest. So I'm excited to give that part a real spin.

James 21:14

Yeah, it's super fun. So give it a try, give it a look. It's open source. So I've already made a pull request for a few tweaks that I have just on the website for easier installation, but it's pretty nice.

Frank 21:20

Mm-hmm.

James 21:23

um So what's cool is that, oh, go ahead.

Frank 21:24

Oh, yeah, we should say, oh sorry. We should say um ah he has a fun distribution method that he's got. ah Sorry, on the Mac side, there's the classic zip, a.app in a zip file. That's how I roll. That's how I like life.

James 21:39

Classic.

Frank 21:40

but there's also a brew so i really appreciate um that he went through the effort so that you can brew install these puppies if you want to um i didn't go that route but i think i think that they're actually signed vaguely correctly because i didn't have to do the song and the dance um putting the app on my machine so unlike i'm gonna go with 99 of mac developers out there john actually i think signed this thing correctly

James 21:58

Yep. Lazy. easy Yeah, he did because I've gone through it. I've signed multiple apps now. So tiny clips obviously. And i just worked with Burke, uh, Burke Holland on resize me, which is a small app that he built that I ported to Mac that allows you to set a preset size and you do control option R and it'll take the window and resize it.

Frank 22:17

Mm-hmm. Mm-hmm.

James 22:26

So if you're like, I want everything 19, 20 by 10 80, it'll just like, boom, do it and center it, which is really cool. Um, So I just just did that one ah and i went through the same signing process and you have to do the whole sparkle, rigmarole, the whole shenanigans. And once you have all the keys and stuff set up, it's not that hard. But you got to go through the signing process of of it to harden the runtime or whatever it is. Or maybe that's separate. i don't know what I did. just did a bunch of things. But no, it's really nice. I do appreciate that when that happens. And and he also has it on Windows and Winget, which I appreciate. And yeah, so all good stuff there.

the The thing that I think is really neat is... two other things. There's actually two things and not, there's four things and not three things. But if we now focus and shift our attention to like Maui agent, agentic development, XYZ,

Frank 23:15

Yeah.

James 23:27

There's two things to note. One's short and sweet. We've already talked about one, which is the.NET skills repo, github.com slash.NET slash skills. There is a series, a slew of.NET MAUI skills. So things working with collection view and accessibility and design and all these other things are built into the box that you can just grab. But more importantly, if you have VS Code and you have the.NET MAUI VS Code extension, it may only be pre-release. I only roll pro release pre-release, but it may be unstable, is that there is now a custom agent for MAUI.

And what's neat about this is it's very large, but there is actually like a WinForms agent, a WinUI agent, and now a Maui agent.

Frank 24:05

Nice. Yeah.

James 24:17

And I exclusively, when I'm doing WinUI development, use the WinUI one, and it is so good. And the Maui one, butter.

Frank 24:22

Oh, nice. Nice.

James 24:24

And what's great about it is that it gives it not just all the access to all the skills and the capabilities, it gives the guidance in which the team that created the thing

Frank 24:24

Nice.

James 24:34

like how to do it. So all that collection view stuff, all the accessibility, so all these things is really big. It's a big, big old, big old system prompt, but it's very, very nice. And you just get that. You turn it on. The superpower of this is when you combine that, with the CLI, because it now knows about the CLI, right? it Through the prompt. So it can do all these things, it can run all these stuff.

Frank 24:53

Yeah, yeah.

James 24:56

But the team went a little bit further, is the VS Code extension has a bunch of tools built in to like, actually, you don't have to use the CLI, ah you can just like boot a device, get the device list. But they built an MCP server, a model context protocol server, and an HTTP server on top of that, which is

Frank 25:10

Good. Yeah.

James 25:16

the Devflow MCP server for.NET MAUI.

Frank 25:19

Dev flow. Yes.

James 25:21

Devflow, it's a comprehensive testing, automation, and debugging toolkit for.NET MAUI. It provides an in-app, I'm reading the description, an in-app agent for visual tree inspection in element interaction. ah It includes the CLI. with 50 plus commands, a Blazor WebView CDP bridge, and an MCP server for AI agent integration. So DevFlow is a series of things. It includes the CLI, but you don't have to be using you know it. But for example, when you are using the CLI, it exposes a bunch of um DevFlow things like tree, which is like a visual tree, um a screenshot, starting the MCP server, starting the broker, which allows the agent to talk into your simulator or your device running.

Frank 26:05

Mm-hmm.

James 26:10

You can do element interaction. So tapping elements, filling in text, scrolling, basically playwright. um file storage access, um ah Blazor debugging tools, network monitoring and advanced um performance analysis tools, logging tools, and navigation tools, um platform information tools, ability to get preferences and setting preferences, ah doing recordings of interactions, sensor calibration, starting and stopping background jobs, setting themes to your application.

Frank 26:45

Jeez.

James 26:46

So you're like, like change the theme to dark and it just does it, right?

Frank 26:47

Oh, Lord. Yeah. Yeah. yeah Mm-hmm.

James 26:51

And it does all of this. So when you do this, you can say, let's implement this feature. And then you can say, and let's go ahead and test the functionality using the DevFlow MCP.

Frank 27:00

Right.

James 27:01

It will boot your application. It will walk through everything. And then it will test all the interactions, find things, take screenshots along the way, report back its status and self-fix itself in real time, which is kind of bananas.

Frank 27:17

Fantastic, because this is what's needed. This is, I think people are, I like calling it closing the loop. So because normally you tell the ai implement this feature and it's like, I totally did. It's the most beautiful UI ever. And then you go check it out in the app and you're like, oh no this is terrible. And then you screenshot it and you try to find that file on your computer and try to drag that little screenshot into the little chat window. And you're like, no, look at this screenshot. It's terrible. And it's like, oh yeah, dude, that's terrible. So, like, you know, it's it's funny in the in the past, the the dev loop was waiting for the code to compile and then the app to run. That was the dev loop. The new dev loop is we're just testers now. So testing the app and then trying to describe to the AI what it did right and what it did wrong so it can go fix the thing.

And this is the perfect case. um Every platform should have this. So it's it's great to see Maui embracing this new world and closing that loop so that you can just say, hey, take a look at that UI. Does that look good to you? And I'll be like, no, that does not look good. Maybe we should use Kimi 3.0. maybe Kimmy 3 will generate a better ui and do that kind of stuff.

James 28:28

Maybe.

Frank 28:31

So this is very exciting. My one little Frank, this is probably only a problem for me is I generally don't use Maui UIs. I generally do native UIs. And so this is making me very envious, very jealous because I want all this for my apps. But If you have a MAUI app, you should install this right now. You should be dev flowing. You should have all the dev flow stuff. It's kind of the classic thing of like you have to add a little bit of a nougat to your app because you run a tiny server in your app so that all this stuff can communicate with it.

James 29:07

Yeah. Yeah. Yeah.

Frank 29:11

and you know, there's a little bit of permissions there. Whatever. You can work around it. No big deal. um And you can just flag it all under debug. So none of this will get into your release builds or anything like that. I do want to mention that in 2010, I created Spy Touch, which did exactly all this kind of stuff. You know, I was predicting that in 15 years, AIs would be invented and we would need these kinds of tools. I was just ahead of time.

Just have to say that. DevFlow, awesome. Great. Everyone install it because it's obviously required. In 2026, this kind of thing is required.

James 29:44

Have to have it. Now, what's crazy, i remember Xamarin Live Player?

Frank 29:47

Yeah, exactly. Exactly.

James 29:49

That was the jam.

Frank 29:49

Yeah.

James 29:51

ah what's Here's the other closing of the loop that I didn't talk about here, but under tools in the Maui Sherpa app, there is a tool called App Inspector. Because you might be on your Mac and you're like, well, screenshots, visual tree, visualization, see my running app doing the thing.

Frank 30:02

Yeah.

James 30:08

How do I do that? I don't have Visual Studio 2026. you can connect with the Maui Devflow inspector, which will open up an entire UI, give you all of your tree, allow you to navigate around, do stuff, set properties, change things, hot reload, does all the things for you automatically. It's very, very nice. It'll auto reconnect and it gives you a whole starting guide. it's's It's very smooth. And this thing works.

Frank 30:30

Yeah. Right.

James 30:31

I've done it on Mac, Windows, iOS and Android. And and it's it's cool is that the agent, because of the agent skills and the agent custom agent that for Maui, is it knows about all the complexity. So it'll be like, oh, I see that you're running on Mac. Mac catalysts and because of that, you need to, I'm gonna check the info P list to make sure you have this property. I tried to connect, I couldn't, I'm gonna check this. On Android, it'd be like, oh, I see that I can't connect to it. You have to do an ADB reverse proxy because it's an Android emulator, not a simulator.

Frank 31:01

Oh god.

James 31:03

And it'll just do the ADB commands for you because the team has told it how to work. So like back in the day to do any of this stuff, you'd to run all these commands and do all this craziness, but sure enough, it's right there, which is very cool.

Frank 31:07

Yeah. Worse, you had to read like six blog posts, most of which were six months out of date, and these kind of technologies move fast, so it's it's really nice that it's integrated. This is a nice combination of um skills and MCP servers, because I'm still skillless. Frank has no skills.

James 31:32

Oh,

Frank 31:34

um But what Frank has is MCP servers up the wall. I love MCP.

James 31:38

oh yeah.

Frank 31:39

I have tools everywhere. i got so many tools because I love tools.

James 31:42

Tools on tools. Tools on tools, baby.

Frank 31:43

Yeah. Tools that call tools that make tools. It's all happening. um And it's It's interesting that like you still need those tools. like Not everything can be done with skills. Because you see a lot of like the um the basic harnesses out there are like, do everything with skills. I'm like, no, you still kind of need to write MCP tools from time to time.

James 32:05

Yeah.

Frank 32:05

And this is a perfect case where like they can just have a tool called like launch app. I don't know what their tools actually are, but launch app, take screenshot, whatever. Those are the tools that you actually need. So very cool, very cool stuff. And it's nice to see it all nicely packaged.

James 32:21

I should also mention that what's kind of crazy, this is like nothing to do with this, but they also integrated deeper into the.NET CLI and.NET 10. So you can just do.NET run.

Frank 32:30

OK.

James 32:32

And if it's a Maui project, it'll be like, oh, what do you want to run it on?

Frank 32:33

Right.

James 32:36

So it'll be like I want to run it on iOS. And it's like, cool. let me go look at your iOS simulators. It'll list all of your iOS simulators and say, where do you want to run it? It'll pop it up.

Frank 32:44

Nice.

James 32:44

So that's kind of cool. That's actually built into the.NET CLI and.NET Watch also works too.

Frank 32:49

Yeah.

James 32:49

So kind of cool there.

Frank 32:49

Ah.

James 32:50

um All these things. One last thing on.NET MAUI that just happened two days ago and that I'll call out is.NET Levin is taking a really pivotal change for.NET MAUI actually, which is um Preview 6 just released for.NET 11. This ah is the release in which the default runtime for all.NET MAUI apps is now changed. It is now officially the core CLR, the Common Language Runtime.

Frank 33:22

Yeah.

James 33:22

so mono Mono is officially gone. You can fall back of course, but in general, not officially gone.

Frank 33:27

It's not officially gone. it's not the default.

James 33:30

It's not the default. um So they've been.NET Watchworks, Trace, Counters.

Frank 33:36

Yeah.

James 33:36

um They're working on the native AOT integration. They got um iOS and Mac Catalyst apps that says are generally faster than Mono. Android is within 10% of startup and app size.

Frank 33:45

Mm-hmm.

James 33:47

So it's the the way forward basically that they're they're moving.

Frank 33:48

Yeah. i I have mixed feelings because for 95% of the apps out there, this is fine. Like the core CLR is fantastic. um I believe my Mac apps are running with core CLR. It's a little tricky to figure out actually sometimes which runtime they're actually using.

James 34:07

Yeah.

Frank 34:08

um i am a tiny bit grumbly about the iOS side though, because one of my favorite features of the model runtime is getting the LLVM optimized compilation of our code. And the the native AOT, t the CoreJet, the RyuJet, whatever, all that stuff, good stuff, but they're not they're not insanity optimized focused the way LLVM is. And I've talked to people at Microsoft about it. They they always talk about app launch time and app size. I'm like, oh, those are wonderful, but what is your FPU throughput? Yeah. Like, how fast is the floating point code that you generate? Because that's what matters to my kinds of apps.

And so I'm a little bit hesitant about the future. That's why i was making the distinguish that um they haven't removed the mono runtime yet, which is good. um Switching the default smart.

James 35:06

Yeah.

Frank 35:06

um Because, you know, pretty much all my apps, I will switch to core CLR because no big deal. But a couple of my apps are very performance sensitive. And I already get app reviews that say things like it makes my phone warm, it kills my battery. So performance still matters hugely to me. And so it's a little bit frustrating that um some people don't care about performance the way I do. um But ah this is this is a future I will have to tackle for a while. Thank goodness.NET 10 is LTS. um but um

James 35:42

it can

Frank 35:42

And they haven't removed... they Yeah, LTS means like six months in 2026.

James 35:46

Yeah, in Maui world, yeah. yeah

Frank 35:49

ah But the the fact is, like, as long as Xcode, as long as they're accepting x the builds that Xcode is building, whatever, it's all fine.

James 35:58

Stuff, yeah. And you can use Maui Sherpa to manage all those X codes.

Frank 36:01

um Yeah, exactly. ah So it's it's ah it's a brave move. We're all moving to core CLR. It's about time, honestly. Good. um But I am a little bit nervous about my loss of LLVM.

James 36:18

see what happens. I'm excited.

Frank 36:19

Yeah.

James 36:20

I'm excited about things are progressing. You know, i think often we talk so much about AI and there's a lot of these core fundamentals, which I think is like a lot of my talk too, is that there's a lot of stuff just like built in that is available while you're coding and, and doing stuff that could just optimize your flow. Like the CLI, for example, or even this, the.NET CLI integrations and some of these other things are really great. So it's fun to take a step back and then, know, on occasion just like the core fundamental there.

So a lot of that work is is happening.

Frank 36:47

Yeah. Sure.

James 36:48

And I'm excited to see it evolve and continue because obviously this will be the first go around where this the default.

Frank 36:48

Yeah.

James 36:52

It's been available to like trial and do stuff for a while, but um it'll only get better once more. If you don't make change the default, you'll never get all the feedback you need, right?

Frank 37:01

Yeah, I think it's been around since like.NET 8. I think i don't it's it's been a while.

James 37:05

think so.

Frank 37:06

I feel like it's been an option for a while and it runs fine.

James 37:06

In a while. Yeah.

Frank 37:09

Like I have apps built on it running. yeah So I think everyone should switch to it um because, yeah, I don't think I think the poor team having to maintain two runtimes is kind of stressful for them. I think we can all do the team a favor by just switching over to the standard runtime that runs pretty much every.NET app out there now. So it's going to run fine on modern hardware.

James 37:35

Yeah. All right. Well, that's going to do it. Mr. Frank Grug for this week's Merge Conflict.

Frank 37:37

so system

James 37:39

So until next time, I'm James Montemagno.

Frank 37:42

And I'm Frank Kruger. Thanks for watching and listening.

James 37:45

Peace.

Download Transcript

Episode Links

Episode Comments