.NET MAUI Tutorial for Beginners - Build iOS, Android, macOS, & Windows Apps with C# & Visual Studio

  Рет қаралды 161,413

James Montemagno

James Montemagno

Күн бұрын

Пікірлер: 179
@bartdereu9267
@bartdereu9267 3 ай бұрын
Finally someone with a great voice for giving tutorials. Great !
@triche2750
@triche2750 2 жыл бұрын
by far, the best MAUI tutorial that I have seen (James rocks anyway but still, this one was great). , I am already am a pro C# developer and researched MAUI stuff for the last several months so I knew bits and pieces but this really pulled it all together for me. Thanks James, really helped me!
@81marjohn
@81marjohn 6 ай бұрын
You re-spark the developer within me. Thank you!
@1deathscythe13
@1deathscythe13 2 жыл бұрын
James, I love your videos. I would be really interested in more content about working with local data, building upon your workshop adding for instance a local database of monkeys, caching the online data and loading data not only by user interaction but when an app starts or a page is loaded. All while using a MVVMS approach of course.
@RichardMilesMorris
@RichardMilesMorris 2 жыл бұрын
Completely agree with you, Christian! I'd love James to cover that too, please!
@brucefox6580
@brucefox6580 2 жыл бұрын
I would love to see that too, it would be much appreciated.
@تعلمبأحتراف
@تعلمبأحتراف Жыл бұрын
Very good video! Helped me understand the basics and quickly start with MAUI. Thanks James!
@MichaelConnory
@MichaelConnory 2 жыл бұрын
Thank you so much James! I'm very excited about the .NET MAUI! Keep going!
@mdsafikulislam7430
@mdsafikulislam7430 2 жыл бұрын
Please make API Project (CRUD Operation) with Android, IOS, MacOS, & Windows. And how make project with VS Code?
@king-cog
@king-cog Ай бұрын
@James Can you make a tutorial for VSCode? At the moment, as you know there is no VS on Mac anymore. I think it will be a great video
@mister_stadler
@mister_stadler 2 жыл бұрын
these tips are enough to star building an application. Thanks a lot! Very useful !
@codingxllama
@codingxllama Жыл бұрын
So if I want to use my physical iPhone to test out the app, I need to pay for a developer subscription of 99USD per year?? You didn't really go over this step, if I'm not mistaken.
@Dazza_Doo
@Dazza_Doo 2 жыл бұрын
It's coming along nicely, very happy to see C# content pages
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Wanted to make sure I get that in there as I always get asked :)
@Dazza_Doo
@Dazza_Doo 2 жыл бұрын
@@JamesMontemagno I also liked the intellisense with Xaml, I'm hoping this will be a feature with C# ? I know that might require method extensions and that requires more work.
@JamesMontemagno
@JamesMontemagno Жыл бұрын
Checkout the c# markup library for .net Maui it gives you you a lot of nice things
@bluedark7724
@bluedark7724 Жыл бұрын
@JamesMontemagno Thanks James. Unfortunately, I've moved onto Rust 🦀 thank you
@alexandresandrini
@alexandresandrini 6 ай бұрын
Really inspiring. You have the touch to teach. Keep on!
@JamesMontemagno
@JamesMontemagno 6 ай бұрын
Thank you!
@laurentbajrami3688
@laurentbajrami3688 Жыл бұрын
Easily the best video on the topic
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 19 күн бұрын
THank you so much, please keep posting videos like this
@ponb9723
@ponb9723 2 жыл бұрын
Awesome .NET MAUI Tutorial
@joseantoniocarreraescobar5856
@joseantoniocarreraescobar5856 8 ай бұрын
Amazing video, thanks for sharing all your knowledge
@andrewfielden284
@andrewfielden284 2 жыл бұрын
Nice intro James, very useful. I'm somewhat disappointed though that Visual Studio doesn't provide a WYSIWYG editor to construct the UI. Android Studio has been doing this for years. Very surprised that Microsoft removed this capability from Visual Studio. That's my only gripe really. Like the C# language, and the project structure, with all code and resources nicely accessible.
@Tony-cm8lg
@Tony-cm8lg Жыл бұрын
@AnotherCompany I've never even seen a WYSIWYG editor for UI lol
@purplevincent4454
@purplevincent4454 Жыл бұрын
I wish WYSIWYG would just go away already. I'm not here to tinker around with your little GUI widgets and whatnot... so silly. If you are really handling frontend of any kind, XML based layouts or just widget based layouts like flutter should be no deterrent to you. If you are a backend person it's understandable but still. It's taking away resources from any team to be focusing on something so inessential like that.
@Tony-cm8lg
@Tony-cm8lg Жыл бұрын
@@purplevincent4454 Well, I mean WYSIWYG shouldn’t go away, I’ve got one implemented on my site for users to write notes in and stuff 😂 But as far as for development, it’s completely useless, at least I’ve never felt the need to use one. When I was a PhD student in maths, all of our work was typeset with LaTex and a lot of people weren’t comfortable with the pure markup and they used these WYSIWYG editors but the final code and compiled pdf looked like trash because it just has to guess essentially what you want
@ManieVerster
@ManieVerster 4 ай бұрын
Hi James, I enjoyed your Xamarin Forms tutorial and now this one as well. It's 1 year later since your video was published first and things are looking a bit different now but I got my first project done!
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
Glad it was helpful!
@emreaka3965
@emreaka3965 Жыл бұрын
Let's do my first .NET MAUI project!
@alessandrocaliaro3418
@alessandrocaliaro3418 2 жыл бұрын
Bravo James, as always. Now I start the 4hours one
@DChristop
@DChristop 6 ай бұрын
Σε ευχαριστουμε JAMES!!!
@ax4178
@ax4178 Жыл бұрын
This guy is a coding ninja, I tell you. Can't mess with him 😁
@CrisDiSclafani
@CrisDiSclafani 2 жыл бұрын
Thank you for your awesome work, really useful for devs like me.
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Glad you like them! THank you so much!
@mwetzel0
@mwetzel0 Жыл бұрын
Wow, this is a super helpful and thorough intro to MAUI. Thanks for the detail.
@theragnarengnes
@theragnarengnes 6 ай бұрын
Super James! It was a real good start!
@ArturLocal
@ArturLocal Жыл бұрын
Great video ! the number of programmers on MAUI after such a video will definitely increase ! the question is- how to change font size in title Content Page
@Hagar-f9h
@Hagar-f9h Жыл бұрын
Thank you so much! Amazing tutorial.
@jovabre
@jovabre Жыл бұрын
Thanks for this video. You gave me nice jump start.
@JamesMontemagno
@JamesMontemagno Жыл бұрын
Glad I could help!
@brucefox6580
@brucefox6580 2 жыл бұрын
Thanks once again James, great tutorial.
@v.gedace1519
@v.gedace1519 2 жыл бұрын
Just one word: SUPERB!
@JR_1982_JR
@JR_1982_JR Ай бұрын
Great tutorial. Thank you 🙏
@JamesMontemagno
@JamesMontemagno Ай бұрын
Glad it was helpful!
@gianlucaspadotto4415
@gianlucaspadotto4415 2 жыл бұрын
Thank you for sharing knowledge. Great tutorial.
@MarioStaats
@MarioStaats 2 жыл бұрын
Awesome easy to start. Love it because not so fast, and clear described. Makes my entrance to MAUI alot easier. great video @JamesMontemagno
@v317865
@v317865 2 жыл бұрын
I would love for a visual builder like blend, or a name change for visual studio to just studio.
@thetechlife5460
@thetechlife5460 6 ай бұрын
I think these videos are amazing to learn .NET MAUI. I really wish,though, that there was more content on creating .NET MAUI and .MAUI Blazor hybrid apps using VS Code. I do a lot of programming on Macs and since Visual Studio for Mac is retiring on trying to find more resources to learn to use VS Code more efficiently for MAUI and Blazor app building.
@king-cog
@king-cog Ай бұрын
@thetechlife5460 I Agree…. More resources with vscode will be appreciated
@shukhrat-17
@shukhrat-17 Жыл бұрын
James thank you a lot! 👍
@SheikhMuhammadNawaz
@SheikhMuhammadNawaz Жыл бұрын
Subscribed.. I love C#
@pablofonseca8867
@pablofonseca8867 Жыл бұрын
Thanks for the video, is incredible useful
@waynehawkins654
@waynehawkins654 2 жыл бұрын
Great video James. Love it. Question. I own a Windows 11 and Mac. I like to build everthing in Windows 11. A project may have API, Blazor Server and App, and .net MAUI Blazor. How would I get the .net MAUI Blazor project form VS on Windows to VS on MAC just to publish in xcode. Can I copy the whole project file off Windows 11 and bring to the Mac and it will run and work or is there a better way to do this? Or should I just build the phone side of things on the Mac from the get go?
@Wuddigot
@Wuddigot Жыл бұрын
Are there still additional considerations when developing Xamarin and Maui apps using an M1 macbook?
@ramasamynp8175
@ramasamynp8175 2 жыл бұрын
Great video. I am expecting more videos from you for designing form to enter details, validation and customizing controls
@ThePaulForn
@ThePaulForn 2 жыл бұрын
Great video, congratulations !!!
@vijayarajan-bt5fk
@vijayarajan-bt5fk 5 ай бұрын
ok sir what are the pre required skills to start MAUI.Need some road map.
@mkgungor
@mkgungor 2 жыл бұрын
This is a great video - thank you!
@VisioGuy
@VisioGuy Жыл бұрын
Really excellent video. Neat tools, great presentation!
@cwdgamedev822
@cwdgamedev822 Жыл бұрын
Thank you for this great tutorial! I'm hoping to create an app where users could have an account and give x/5 star ratings on a type of thing (restraunts, skate parks, whatever). What would the architecture for something like that look like? I'm guessing that I'd have to have the app and also have a database that it would communicate with. Are there any starting points you'd recommend? Thanks again!
@mojizze
@mojizze 2 жыл бұрын
Really enjoyed this video.
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Glad you enjoyed it
@Bonnie39
@Bonnie39 Жыл бұрын
I'm running into a bit of an issue. I set up a .NET MAUI Blazor application and tried running it in debug mode for Windows. It keeps saying that I must enable deployment in the configuration manager before it can debug the application (which makes no sense because it's already enabled). Also, checking the bin folder in my project, it appears to have built a debug mode version for ALL platforms rather than just Windows. I do not know what to do at all. Any help would be greatly appreciated.
@UX-FLEX
@UX-FLEX Жыл бұрын
If you are indeed on a Mac there is limited support for Windows Applications with the Mac Preview version of Maui. Personally, I would stay away from Blazer Web builds until the final release, why deal with the headaches.
@Bonnie39
@Bonnie39 Жыл бұрын
@@UX-FLEX Im on Windows 10 though
@anysense6115
@anysense6115 Жыл бұрын
Thank you so much! Amazing !
@WalkorBikeinCities
@WalkorBikeinCities 2 жыл бұрын
This video is great and very informative🙏
@黄培杰
@黄培杰 Жыл бұрын
Thanks for sharing, great programmer
@tex346
@tex346 2 жыл бұрын
Outstanding. Thanks for contributing your skills and time.
@pistonring1399
@pistonring1399 2 жыл бұрын
Hi James, my 1st time to program in through maui. Following the tutorial, I have connected my samsung phone through a usb but i dont see it in the debug list. Need your help
@alkishadjinicolaou5831
@alkishadjinicolaou5831 6 ай бұрын
Can you do one about uploading to appstore?
@trentadams4428
@trentadams4428 Жыл бұрын
James, I was curious about the "authentication" selection when you added the Blazor project. Should we not select that since the MAUI app should be handling authentication via API? I'm not quite sure how to handle authentication. By the way, love your video series.
@klcbsoft
@klcbsoft Жыл бұрын
A little bit late to the show, but can it really be that there is no XAML-designer in VS2022? So we are back to the days before Visual Basic 1 and Delphi 1 and have to create UIs by clunky XML? Oh my ... still superb video,, thanx for doing that
@nfcradio4622
@nfcradio4622 Жыл бұрын
hello how to add Serial Port & Timer control in MAUI frame work ?
@stephenyork7318
@stephenyork7318 2 жыл бұрын
I love the hot reload and other debugging features, but it's unfortunate that "Set Next Statement" is not supported. Is this a mobile phone restriction or just something that hasn't been implemented yet. I've historically been able to set a breapoint and adjust values and set statement back a few lines and retry. Would be greate to have that here.
@davidjackson148
@davidjackson148 2 жыл бұрын
How do I add a flyoutpage thats not the first page as I have a login page then a summary page then comes the flyoutpage. i can't see how you do that using shell
@erenbilen4249
@erenbilen4249 2 жыл бұрын
thank you for this awesome video
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Glad you liked it!
@THE_NE0
@THE_NE0 2 жыл бұрын
MAUI with vscode ? or it will stay a dream
@techsolve9397
@techsolve9397 2 жыл бұрын
ok james please how to use this DisplayAlert or any popup alert from the viewModel Using MVVM pleaseeeee. thanks
@seanasquith5159
@seanasquith5159 2 жыл бұрын
I keep getting an error in the android device manager. "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host." I've tried downloading different devices with no luck. Any ideas?
@doofenshmirtzsplatypusinc.9170
@doofenshmirtzsplatypusinc.9170 2 жыл бұрын
Hi, love your .NET MAUI video. As I was trying to run my app, this warning "Resetting for Cold Boot: Emulator Engine failed" showed up and my emulator shut down immediately. I've tried reinstalling VS 2022 but it didn't help. Any suggestions?
@TheEddieNygma
@TheEddieNygma Жыл бұрын
thanks, man. very helpful.
@randewkumarasinghe1371
@randewkumarasinghe1371 Жыл бұрын
Is Maui a feascible base for a commercial VPN application?
@LakhwinderSinghTeona
@LakhwinderSinghTeona 2 жыл бұрын
Thank you so much for your efforts and help. This is a great video for starters and i really appreciate it. thanks again.
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Glad it was helpful!
@borisgarin8311
@borisgarin8311 Жыл бұрын
Can I change an emulator demo example room?
@maximiliankidd7646
@maximiliankidd7646 Жыл бұрын
I've tried creating the basic app, but nothing loads when I run it, no matter what I try. Any suggestions would be greatly appreciated.
@aramirezp92
@aramirezp92 2 жыл бұрын
What's for web apps? Maybe creating another web project with sharing code?
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Take a look at Blazor Hybrid docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-6.0
@andreasplaege
@andreasplaege Жыл бұрын
Hi, James. Very nice. Could you make a video with two mp3, one in Backgroundmusic with lower volume and one for a voice mp3. The Backgroundmusic i want to choose between different sounds which will be played when the voice file is playing? Thanks Andreas
@kazirangamedicos485
@kazirangamedicos485 Жыл бұрын
Hi Sir, How to write platform specific View(XAML). I want to show different XAML(view) for android as well as Windows. How to do that. Please help me!
@mahmoudsamman-pc7fm
@mahmoudsamman-pc7fm Жыл бұрын
How to put a tabbed page at the bottom in windows??
@DotnetistEnterprise
@DotnetistEnterprise Жыл бұрын
do you have tutorial for Maui and Identity server 4 ?
@chad.williamson
@chad.williamson Жыл бұрын
Excellent video! So well done
@ryanb55
@ryanb55 Жыл бұрын
Thanks!
@decideone1
@decideone1 2 жыл бұрын
My biggest pain in MAUI is that a Windows app cannot be customized like a WPF app (I know it should replace Xamarin in the first place). Right now at our company we plan to create a new app which would have some common elements with our mobile application but I don't feel like it is possible to do it yet. We most likely will start working on it in WPF and will migrate later if MAUI will meet our expectations.
@chillydill4703
@chillydill4703 2 жыл бұрын
This is great, keep it up!
@PatrickBiggsOBevur
@PatrickBiggsOBevur Ай бұрын
Also, do you know if net maui will allow me to integrate apple intelligence new features?
@JamesMontemagno
@JamesMontemagno Ай бұрын
Once all the new APIs are out sure.
@davidjackson148
@davidjackson148 2 жыл бұрын
I'm getting to grips with MAUI but a few things I don't understand. Why does Shell have all tabs and flyouts content defined there. Surely each page should manage its own content and layout. I couldn't fine anything online that explained why this is. Also you can't us DI without Shell, is that correct ?
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Shell doesn't have to have tabs and flyout, it is only an option to define a hierarchy, you can use the specific pages later if you want too. For DI it is the only navigation that does it automatically, but you could pass the service provider around easily enough if you are using non-shell navigation.
@TioPew
@TioPew 2 жыл бұрын
I'm getting a issue inside android and editor tag, it wrap words while typing.
@sachindrasangal
@sachindrasangal 2 жыл бұрын
Myself is novice developer interested in MAUI Blazor. But got stuck in creating simple Login system for my MAUI Blazor app. Like Blazor give ready made login system. Please provide at least easy sample to create easy login system for my MAUI Blazor APP. So that we start creating app without spending ton of time in creating Login System only.Thanks
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Have you looked into adding MSAL perhaps as a login system? There is actually full documentation on authentication with Blazor Hybrid - docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/security/?view=aspnetcore-6.0&pivots=maui
@king-cog
@king-cog Ай бұрын
Thanks! Please can you do a similar tutorial using vscode? As you know there is no VS for Mac anymore. Thanks and I appreciate all you do for the community
@JamesMontemagno
@JamesMontemagno Ай бұрын
Here you go kzbin.info/www/bejne/Z6WVq62ljJl3b5osi=SDanUlnFr5pWFLrf
@timohermans
@timohermans 2 жыл бұрын
Great video :)! What's bugging me though is that the tabbar animation for winui 3 seems to only work half way. The "moving away from" animation goes smooth and that just "pops up" in the new tab, while I expect it to flow in. Dunno, looks strange to me
@richa1147
@richa1147 2 жыл бұрын
great video, thank you!
@demetrischristopoulos1973
@demetrischristopoulos1973 6 ай бұрын
thanks!!!
@Eternal_-sg2tj
@Eternal_-sg2tj Жыл бұрын
how do you adjust the window size for windows platform, for me when i load is huge window size almost same with my screen ,im using .net 6.0
@JamesMontemagno
@JamesMontemagno Жыл бұрын
This was a feature added in .NET 7 - learn.microsoft.com/en-us/dotnet/maui/fundamentals/windows?view=net-maui-7.0#position-and-size-a-window
@thedevmachine
@thedevmachine Жыл бұрын
James how can I access the elements or properties defined in Mainpage.xaml from another class? I defined a class > internal class TestReceiver : BroadcastReceiver this class has an event thats called I want to access public ObservableCollection monkeys = new(); (defined in mainpage.cs) from another class to able to add values. Its not reachable.
@MRSNAKE-dt8or
@MRSNAKE-dt8or 2 жыл бұрын
How can I create couples applications Android and windows and it's complete each other not same content the windows application that can manage Android app
@algot34
@algot34 Жыл бұрын
You should increase the size of your cursor so we don't loose track of it all the time.
@Nickk888SA
@Nickk888SA 2 жыл бұрын
Instead of showing on how the default template works, how about showing on how to create a real dynamic app? SQL (CRUD operations), Passing on data to new pages or getting stuff from SQL.
@ghevisartor6242
@ghevisartor6242 Жыл бұрын
just use entity framework core with sqlite, it's not that different from an aspnet core setup.
@Lanthiren
@Lanthiren Жыл бұрын
I dont see the xaml preview window, is it removed in the newest VS?
@JamesMontemagno
@JamesMontemagno Жыл бұрын
It is still there. I heard there was a bug though that for some people it isn’t showing up. Double check versions
@ATNL4
@ATNL4 2 жыл бұрын
@James Montemagno any chance to make a tut about compiling for iOS, we face a lot of problems in compiling for iOS and make our app on Apple store .
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Have you walked through: learn.microsoft.com/en-us/dotnet/maui/ios/deployment/overview ?
@rickshadle3753
@rickshadle3753 2 жыл бұрын
James, I am sure you know the current state of Last Stable Version 8.0.0 of CommunityToolkit.Mvvm regarding [ICommand] and [AlsoNotifyChangeFor] have error editing and stopped working. My question is was something new introduced to replace those two attributes and I am not aware of the new replacements? I have found that going back to 8.0.0-preview3 (preview4 - doesn’t work either), clears the error up. I have reported the problem but have not received a response. Can you share any insight? Thanks in advance.
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
The name have changed in the final version devblogs.microsoft.com/dotnet/announcing-the-dotnet-community-toolkit-800/
@CapersJr716
@CapersJr716 2 жыл бұрын
Great tutorial
@gonzalomoraga2781
@gonzalomoraga2781 2 жыл бұрын
Great video.
@salvcri
@salvcri Жыл бұрын
Great video, James! Thank you! Is it possible connect a MAUI app to a USB device?
@DiogoLScarmagnani
@DiogoLScarmagnani Жыл бұрын
Is it possible to build it with VS Code nowadays?
@JamesMontemagno
@JamesMontemagno Жыл бұрын
Early preview support now out there devblogs.microsoft.com/visualstudio/announcing-the-dotnet-maui-extension-for-visual-studio-code/ I recently did a live stream with it
@abrahimzaman360
@abrahimzaman360 2 жыл бұрын
@James How to Play MP3 Files in MAUI.
@PatrickBiggsOBevur
@PatrickBiggsOBevur Ай бұрын
Am I the only one here because apple won't let us run X Code without a virtual machine? Makes sense to also allow the app to run on Android.
@SidCod3s
@SidCod3s Жыл бұрын
thank you so much
@JamesMontemagno
@JamesMontemagno Жыл бұрын
You're welcome!
What is the MVVM pattern, What benefits does MVVM have?
22:38
James Montemagno
Рет қаралды 100 М.
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 16 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 13 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 32 МЛН
.NET MAUI in .NET 8 - Everything you need to know!
18:51
James Montemagno
Рет қаралды 49 М.
XAML for Beginners - Xamarin.Forms & .NET MAUI XAML
28:10
James Montemagno
Рет қаралды 76 М.
What is Kubernetes? | Kubernetes Explained
48:22
Piyush Garg
Рет қаралды 17 М.
Is Writing C# on a Mac Realistic? How About Linux?
11:18
IAmTimCorey
Рет қаралды 37 М.
Build Better Apps with .NET Aspire - Complete Beginner's Guide & Tutorial
1:12:47
Starting .NET MAUI Development in 2024 - What You Need To Know
35:18
James Montemagno
Рет қаралды 74 М.
React Native vs Flutter in 2024 - Make the RIGHT Choice (Difference Explained)
10:31