How to Install .NET MAUI on a PC [2 of 8] | .NET MAUI for Beginners

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[MUSIC]. >> Welcome back to the.NET MAUI Beginner Series. I'm James Montemagno, product manager on the developer community team here at Microsoft, and we're continuing our journey. I'm building native cross-platform desktop and mobile apps with.NET MAUI. Now, in this video, what we're going to do is we're going to learn what you need to install and get up and running with.NET MAUI on Windows. Now,.NET MAUI is part of.NET, which means when you install the.NET SDK, you can also install.NET MAUI. You can do this through the command line with the.NET Workload Installer. This also means that you can build and package up your applications completely from the command line as well. But if you're like me, you love a great integrated development environment, an IDE such as Visual Studio. Visual Studio 2022 not only simplifies getting up and running with.NET MAUI, but it also gives you advanced tools and productivity features, including XAML and C# hot reload. This is one of my favorite features when I'm developing with.NET MAUI because it enables me to deploy my application to a device or simulator and then it enables me to write code and make changes, hit Save and see them update in real time. Additionally, when you're on Windows, you'll also have access to the Android Device Manager, SDK, and so much more. If you're on Windows 11, you can use the Windows subsystem for Android, which enables you to actually debug your Android applications directly on your Windows machine. You can, of course, plug in a device at any time to deploy it directly. Now, let's go ahead and get started with installation of.NET MAUI. The very first thing that we need to do is download Visual Studio 2022. Now, there are many flavors of Visual Studio 2022, including community, professional, and enterprise, and you can pick any of them. Visual Studio 2022, any edition includes.NET MAUI. The number one page you'll want to bookmark right away is the.NET MAUI documentation. This gives you a great overview of every single thing that you need to start building applications with.NET MAUI, including fundamentals such as app start up, data binding, and resource dictionaries, and XAML overview as well. You can learn all about the different user interface controls and layouts and pages and even find out how to publish your application. Now, we want to get started install Visual Studio, so I like the getting started section in here, build your first app. This is going to work through actually building own deploying our very first app on different platforms, but it also give us a link directly to Visual Studio 2022. Now, Visual Studio 2022 continuously updates add new productivity features. While I'm installing 17.3 preview, there might be a newer version that's out that you'll want to install today. Now, once you download any of the different versions of Visual Studio 2022, you'll be brought to the workload selection screen. Here, this is where you'll see desktop and mobile and you'll see.NET Multi-platform App UI development. Check this checkbox and it will give you everything that you need for.NET MAUI development. Now, if you want to do other things such as web development with ASP.NET Core or you want to do Azure development, you can do it there. There's even tools for Unity, C++, extending Visual Studio and so much more. Check out all the workloads inside of Visual Studio. Now, when you launch Visual Studio 2022, you'll see get started and you can hit Create a new project. This is going to give you-all of the different projects that Visual Studio 2022 can do, and there's a lot of them based on the workloads you select. Here, I can just type in MAUI and this will give me the.NET MAUI templates. I have my brand new app, a.NET MAUI Blazor hybrid application and a class library. In the next video, we'll explore all of those. We're going to explore everything in a brand new project with.NET MAUI so you understand what you're getting yourself into and how to deploy on an emulator device or directly on your Windows machine. Stay tuned.
Info
Channel: dotnet
Views: 73,610
Rating: undefined out of 5
Keywords: .NET
Id: 8UkEP6u-55Y
Channel Id: undefined
Length: 4min 21sec (261 seconds)
Published: Thu Jun 02 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.