.NET MAUI Preview 8 - Tips & Tricks | Windows Setup, MVVM Hot Reload, and Dependency Injection

preview_player
Показать описание
You had questions from my last video and I have answers and what better way then with another video! I break down all the things you need to know for Windows setup and deployment, MVVM hot reload of the view model, and how to use those fancy new dependency injection in .NET MAUI.

Links:

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

Follow:

My Setup:

#dotnetmaui #tipsandtricks #visualstudio2022
Рекомендации по теме
Комментарии
Автор

I think it would be way more interesting to know when VS4Mac will have MAUI.

Sebastian
Автор

Great video. Everything worked for Windows, Android and iOS. After closing the solution and re-opening, none of the files showed in solution explorer. After researching, determined I needed to delete bin & obj folders. Closed VS, deleted folders then re-opened and files showed back up. This has been a problem for a while. Posting so others don't have to spend time researching.

dsafar
Автор

Thanks for your valuable content. And I love your voice, James.

amirh.jabari
Автор

I would be greatful if you make a full MVVM tutorial in Maui

talalmaman
Автор

I'm really excited about MAUI Blazor, however, I seem unable to make authentication work properly (aka like in the Blazor WebAssembly template with API and authentication). Would you consider making a video on that topic?

DukenJR
Автор

Any guides on how to actually use MAUI? I’m haven’t used Xamarin but instead was going to jump it here so I learn one way only.

DamagedDingo
Автор

James, would you say that the pre-released versions of .Net Maui are OK to start learnig with now? Or should I wait until the 2022 Q2 Release? Thanks

zephaneas
Автор

For me it needed an additional step as I got the error "Need recipe file" when just switch to run on "Windows Machine". I also had to change the Framework in the same popup to net6.0-windows.10.0.19041

rschuerer
Автор

Hi James, Thanks for all the great contents [From Xamarin forms to dotnet Maui] What should I do after enabling hot reload on debugging, but it is not working with Windows Machine? Thanks in advance

EliezerZola
Автор

Hello,

Thank you for the video. I have tried to setup the visual 2022 in order to use MAUI. When i create a new MAUI APP. the experience isn't good enough. Sometimes one thing fails and the other times the other thing fails.

I'm basically interested in just an android App and a Web App. Is there a way to only create a new MAUI App with just targetting platforms that i need. Also, The problem i come across very frequently is, the debugger option in the toolbar doesn't list the android emulators. i have tried a lot to figure this out. this just isn't plainly working. I tried it on two machines but mostly the debugger won't list the android and other emulators.

FaheemRasheed
Автор

can someone please tell me, is the resulting meant to be running as standalone app?
If I try this on Windows11 I just get the blue rotating circle and nothing happens.
If I run it within VS2022 it all fine and I can see the window

thomasvogel
Автор

I have created a simple app with dotnet maui, but I can't deploy it from app center. Because I think it doesnt support dotnet maui and dotnet 6. Any update?

mozamilahmadafghan
Автор

How does one manage lists in Maui Blazor? Remember Xamarin Forms 1, how rubbish the ListView was, and we had problems for years? What's the 'hit the ground running' solution for displaying lists in Maui Blazor?

HarrisonOfTheNorth_Studio
Автор

Does MAUI include source generators ? Properties with INotifyProperyChanged and commands would be great to generate with them!

Martin-kjod
Автор

can i use css box-shadow weth maui =Xamarin

hausaaesa
Автор

James, I'm learning a lot from your videos. Can you tell me if you've done any vids on consuming a web API with Xamarin?

zephaneas
Автор

MAUI will contain a tool to design UI with drag and drop components direct to ui designer. Like WPF Designer. And output choose between XAML or fluent C# ? Thanks

scfcarbonete
Автор

@James, can you please submit video(s) on how to prepare (what C# skills will help you ramp up) for MAUI?

queenstownswords
Автор

The phrase "comment in" is a bit strange. Can't it be just "remove the comment", or "enable the line", or "make sure the line is active". "Comment in" is just too vague.

shorttravelvideos