.NET MAUI Architecture Overview [3 of 8] | .NET MAUI for Beginners

2022 ж. 1 Мау.
124 015 Рет қаралды

Learn more ➡️ learn.microsoft.com/training/...
Welcome to the .NET MAUI for Beginners Series where you will learn the basics of building multi-platform apps with .NET MAUI for iOS, Android, macOS, and Windows from a shared C# code base. In this video, James walks through getting started with your first app and talks through all of the different components of how a .NET MAUI application is structured, how it features cross-platform resources including fonts, images, and assets, and talks about how to configure the app and how it starts up. He then shows off how to create your first project from Visual Studio, deploy it on to different platforms and many of the tools included such as XAML and C# hot reload.
.NET MAUI for Beginners series playlist: aka.ms/dotnet/beginnervideos/...
Follow along: aka.ms/dotnet/beginnervideos/...
4 Hour .NET MAUI Workshop: • Learn .NET MAUI - Full...
Follow James:
- James on KZhead: / jamesmontemagno
- James on Twitter: / jamesmontemagno
Links:
- .NET MAUI Self-guided Learning on Microsoft Learn: aka.ms/dotnetmaui-beginner/ms...
- .NET MAUI Website: aka.ms/dotnetmaui-beginner/we...
- Install .NET MAUI: aka.ms/dotnetmaui-beginner/in...
- My Tasks Sample: aka.ms/dotnetmaui-beginner/my...
- .NET MAUI Documentation: aka.ms/dotnetmaui-beginner/docs
- .NET MAUI on GitHub: aka.ms/dotnetmaui-beginner/gi...
- .NET MAUI Workshop: aka.ms/maui-workshop
- .NET Community Toolkit Docs: aka.ms/dotnetmaui-beginner/to...
- .NET Community Toolkit GitHub: aka.ms/dotnetmaui-beginner/to...
- More .NET Beginner Series Videos: dot.net/videos
- .NET KZhead - / dotnet
- .NET on Twitter - / dotnet
#dotnet #dotnetmaui #ios #android #windows #macos #csharp
🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet

Пікірлер
  • Finally I found a tutorial for Microsoft tool that shows me how, what and why in detailes... I hope the rest of the tutorial is in the same line

    @baseljuma158@baseljuma158 Жыл бұрын
  • Good job! Well explained! Thanks!

    @marcinzale@marcinzale Жыл бұрын
  • I feel like a lot of Company's will take advantage of this. It's looking like this is worth a deep dive.

    @Bee4Brendan@Bee4Brendan8 ай бұрын
  • Great Tutorial , Thanks!

    @shbita@shbita Жыл бұрын
  • Amazing video..very cool thanks..

    @sirinebibicha2024@sirinebibicha2024 Жыл бұрын
  • si se puede desarrollar para tizen tambien para Wear OS?

    @liquidscorpion4217@liquidscorpion42178 ай бұрын
  • This series is so cool. Thanks

    @akk5830@akk5830 Жыл бұрын
    • How is it cool and how can you tell that right at the begin? you trippin bro?

      @MenachemRosi@MenachemRosiАй бұрын
  • In the minute 8:24 we have a function called OnCounterClicked with two parameters (object sender and EventArgs e) mi question is: both of these parameters which is their job or task or function in the OnCounterClicked method??

    @antoniovargas8512@antoniovargas8512 Жыл бұрын
  • that was a cool compile sound

    @hansmuster5291@hansmuster529111 ай бұрын
  • Thanks for the content james💌

    @mrmuzeza113@mrmuzeza113 Жыл бұрын
  • Creating a UI using XAML code is bizarre for me. Is there any toolbox to create UI ?

    @abidalisidd@abidalisidd Жыл бұрын
  • Is the XAML live preview still available?

    @johnlowietorion8832@johnlowietorion8832 Жыл бұрын
  • 12:41 is the best part

    @sheriffcrandy@sheriffcrandy Жыл бұрын
  • my first app show this error.. Platform version is not present for one or more target framework, even though they have specified a platform:net6.0-maccatalyst . and there is a yellow triangle on dependencies on each packages of each dependency, even though they are instaled as nuget pkg... please help me, I had download all workloads android and windows and mac and ios using command and also maui, but never help.

    @essam8364@essam8364 Жыл бұрын
  • What is meant by "services" in a MAUI app? I'm used to Windows services but they seem to mean something different in MAUI, and none of the training material I've seen explains it.

    @user-dq2zn4wc7r@user-dq2zn4wc7r Жыл бұрын
  • i cant see MAUI option under project creation .. PS. i have installed VS2022 community edition and enabled mobile platform while instation

    @vasanthcanny@vasanthcanny7 ай бұрын
  • Why are there two stars (asterisks) in "Resources\Raw\**" at Line 48 of the project file? (5m28s)

    @professor_stevens6784@professor_stevens67842 ай бұрын
  • What is the Microsoft recommended IDE to use on MacOs devices, now that Visual Studio for Mac will not get support after the summer of 2024?

    @macalin8232@macalin82322 ай бұрын
  • I am trying to run the android emulator while simultaneously viewing the "live tree" which I found in my version named as "document outline" - I can't see the live tree while debugging. I should mention I'm using a Mac mini with an M1 chip that seems to be causing me more headaches than anything. Thoughts?

    @lukelyons9606@lukelyons96062 ай бұрын
  • what is your pc specs and how much time it takes to debug android emulator

    @sumitdawrani4806@sumitdawrani48063 ай бұрын
  • i still remeber the xamarin days . aah what a bad decission of learning xamarin forms

    @androiddeveloperz@androiddeveloperz Жыл бұрын
  • Lots of love bro

    @shohagismaddoha1348@shohagismaddoha1348 Жыл бұрын
  • there really needs to be a visual way to do this, not just writing XAML. anything XML related just annoys me to no end

    @SKRUBL0RD@SKRUBL0RD Жыл бұрын
    • completly agree with this. microsoft is delusional if they think we gonna build apps visually by just writing code

      @kombosabinho@kombosabinho Жыл бұрын
    • @@kombosabinho it's the big weak point to mass adoption

      @SKRUBL0RD@SKRUBL0RD Жыл бұрын
    • If you dig a bit, you can do it almost entirely in C#.

      @poetryflynn3712@poetryflynn37129 ай бұрын
  • We are trying to escaping from xml in android development and they are starting with xml and those messy staffs again.

    @arifuljannatarif4481@arifuljannatarif44813 ай бұрын
  • Hello I am using windows 10 x 64 OS. When I try to run the MAUI App by clicking debug(F5) I'm getting the above error " Task -'WinAppSdkGenerateAppxPackageRecipe' failed the specified module could not be found " Does Anyone has any idea about this error...?? :(

    @ssudharsan5615@ssudharsan5615 Жыл бұрын
    • Hmmm are you able to open a ticket on github.com/dotnet/maui

      @dotnet@dotnet Жыл бұрын
  • How do I create a login

    @kwafoisaac4133@kwafoisaac413310 ай бұрын
  • When I launch the debug on the Android emulator or the ios emulator I get the home screen of an android device or an iPhone device, not the app. When I launch on the Windows emulator, I get the app, could you know why this is?

    @ElliotBarr-ny5nm@ElliotBarr-ny5nm Жыл бұрын
    • same...

      @Joshua-uq9zw@Joshua-uq9zw Жыл бұрын
    • First time lauching the app takes a lot of minutes to load the app. if you go at the menu you will see the app. Click on it and then it will do hot reload by itself. that is at least what happend with mine

      @user-ry5ks3hg6y@user-ry5ks3hg6y8 ай бұрын
  • my visual studio is not showing that XAML Live Preview, can you show where can i find this window?

    @nicolasanderson5881@nicolasanderson5881 Жыл бұрын
    • Take a look here: docs.microsoft.com/en-us/visualstudio/xaml-tools/xaml-live-preview?view=vs-2022

      @dotnet@dotnet Жыл бұрын
    • @@dotnet I think I'm blind, but no I don't have this in my VS. So I, guessing maybe I didn't install all packages ...

      @annagultyayeva3094@annagultyayeva3094 Жыл бұрын
    • @@dotnet same for me.. i don't have options for XAML Live Preview and XAML View Tree.. what version of VS 2022 must i need to have this?

      @cindrmon@cindrmon Жыл бұрын
    • @@cindrmon oh I didn't find answer to :/ That actually stops me from learning further about this technology

      @annagultyayeva3094@annagultyayeva3094 Жыл бұрын
    • @@annagultyayeva3094 and yea.. i was really looking forward to working with .net maui as well, as a successor to xamarin and wpf.. but having these kinds of issues in the DX side, kind of a turn-off..

      @cindrmon@cindrmon Жыл бұрын
  • very good

    @ahmeddrago@ahmeddrago Жыл бұрын
  • 10:12 :D

    @schecher_1@schecher_1 Жыл бұрын
  • 7:15

    @nestrog8105@nestrog81055 ай бұрын
  • I have been DotNet wrong my entire life. It is pronounced as Dana

    @420Sumanta@420Sumanta Жыл бұрын
  • POV trying MAUI in 2023: Boilerplate does not even work :D

    @Taki7o7@Taki7o74 ай бұрын
    • still doesnt work in 2024 :D

      @nigelnaicker7948@nigelnaicker794822 күн бұрын
  • First of all whats the point of having a cross platform Framework if you can't even provide a stable Development environment for on both Mac and windows. "VS Code" is no more available for mac users and secondly in age of Declarative Design Pattern you still stuck in xaml???. Not sure seems too late and actually nothing new to offer.

    @arindomghosh3144@arindomghosh31444 ай бұрын
  • as a human, I absolutely DESPISE having to edit XML files (or XAML) to make a UI do something. Fine if you have programs that read/write xml. But if your solution to anything is "just edit the xml", you've lost me. You're just telling me you've not even attempted to make proper tools..

    @torgmeister@torgmeister Жыл бұрын
    • I think the Xaml files are the UI.. This tool lets you write it once and it works on many different devices. I've seen the xml file type in other contexts like data transfer but I have a pretty good time editing XAML in visual studio.

      @kevinschaeffer3262@kevinschaeffer3262 Жыл бұрын
    • @@kevinschaeffer3262 I think they've completely lost the plot. In winforms I can visually create a UI and boiler plate code and other things I don't care about is generated for me. Here there is no tool at all. You have to edit xml to make a UI appear. Which I have zero interest in doing.

      @torgmeister@torgmeister Жыл бұрын
    • based on what i have searched about XAML, they used to have what's called XAML Designer, which is similar to the drag-n-drop winforms ui designer for XAML.. but unfortunately, i don't really know if it works or not, despite having it enabled on VS 2022.. the DX suddenly sucked even more with v17.4.x when the aforementioned XAML Live Preview and XAML Hot Reload doesn't work as advertised in the video presenting it so.. it doesn't appear in VS 2022, nor it shows up on the app running in debug mode.. the troubleshooting for it is absolutely useless because i have already followed all the steps which lead me to nothing.. it is quite unfortunate for such an aspiring tool to make cross-platform apps have such a rough DX..

      @cindrmon@cindrmon Жыл бұрын
    • Honestly I think that you haven't been able to see the advantages of using xaml. Yes, it may be a pain in the back but that kind of technology has its own advantages, and as you can see they already have their their own designer for Visual Studio. I was really long reluctant at first to but I've changed my mind. Let me ask you a question here, what other solutions or alternatives to this do you have in mind? Maybe it's just me that I don't know anything else different or better than what they're offering here.

      @CarlosWashingtonMercado@CarlosWashingtonMercado Жыл бұрын
    • @@CarlosWashingtonMercado xml is a format that gui tools should create. I don't want to edit text to make a UI appear. MFC/Winforms/etc We could create a UI and the glue/boilerplate was created. Like I said back then, when someone wants to demo "new technology" and they start editing xml to make things happen. I'm not interested. In my mind humans are not meant to create xml, programs are meant to read and write it.

      @torgmeister@torgmeister Жыл бұрын
  • Noise alert @ 10:12. Headphone wearers be aware.

    @Warpgatez@Warpgatez11 ай бұрын
  • this platform is not stable a year after this video, god help u if u try to even start from scratch like this guy does, the template wont build, nor can you debug like he is doing, such utter rubbish.

    @nigelnaicker7948@nigelnaicker794822 күн бұрын
    • Hmm, strange. Works fine for me, about debugging, sure your hypervisor is active and Set up correctly?

      @behemothokun@behemothokunКүн бұрын
  • what is code behind appshellxaml.cs ?

    @SuperOccult@SuperOccult Жыл бұрын
KZhead