The Struggles I Had While Building My First .Net Maui App

preview_player
Показать описание
🔴 Link to the Github Repo for this project in the video! -

.Net Maui is here! I'm personally very excited for it, and in this video i talk through the first app I threw together, a basic shopping list app that I'll add features to throughout this playlist. In this video, I talk about the basics of how .net Maui works, some struggles I had along the way, and even discuss how to unit test services in your maui app.

🔴 🔴 🔴 UPDATE On the Unit Testing - Gerald Versluis made a video on how to set up unit testing on Maui, and while I think the .dll step helps, I still am not able to run my app on the Android emulator with the .net6.0 build target in the app. So who knows! But here is his video -

🔴 Link to my video showing you how to set up the build tools -

🔴 Subscribe For More Programming Tutorials

☕️Buy me a coffee if you enjoy the free content! I don't believe in charging for education, but hey, I do love drinking coffee -

I hope you're excited about .net maui as well, if so let me know what type of maui content you'd like to see in the comments below. Thanks!

🕘Timestamps:
00:00 - Video Start
00:40 - Talking through the .net Maui App (so far)
03:00 - Talking about the maui app database (Sqlite-net)
10:34 - Talking about the Views and how Views bind to ViewModels in Maui
18:48 - How to navigate in Shell Maui applications with GoToAsync
23:33 - Dependency Injection in Maui apps
25:39 - UI Colors in Maui apps
29:24 - My troubles with Unit Testing Services in my Maui App
33:56 - The Long Term Goals for my first Maui App
39:00 - My thoughts on Maui and Outro

Thanks for watching! I plan on making many more of these on .net maui, so if you wish to see more, continue the playlist and subscribe!

🎬Watch My most recent videos:

#dotnet #csharp #programming #dotnetmaui
Рекомендации по теме
Комментарии
Автор

Some Updates! I think I worked through most of the things i had difficulties with in this and the next few videos (except unit testing, still not working 100%). So later videos give a better representation of my time with .Net Maui! We do some fun stuff, custom app theming, custom controls, adding REST Api calls, etc, so tune in for those as well!

🕘Timestamps:
00:00 - Video Start
00:40 - Talking through the .net Maui App (so far)
03:00 - Talking about the maui app database (Sqlite-net)
10:34 - Talking about the Views and how Views bind to ViewModels in Maui
18:48 - How to navigate in Shell Maui applications with GoToAsync
23:33 - Dependency Injection in Maui apps
25:39 - UI Colors in Maui apps
29:24 - My troubles with Unit Testing Services in my Maui App
33:56 - The Long Term Goals for my first Maui App
39:00 - My thoughts on Maui and Outro

ProgrammingWithChris
Автор

I also struggled to hit a 90 Parse but after this video it was simple!

StormkeepDaniel
Автор

Just recently found your channel and enjoying it so far. Making a comment part way through (10 mins) as you asked for feedback and wanted to make a note before the end,

1. Database Column Names - these should be the same as your class names e.g. "EstimatedPrice" - don't put spaces in there. Not used SQLite myself (mainly do SQL Server stuff).
2. Parent/Child -- rather than call the column "ParentId" in the Items table call it the name of the parent. so Id in all tables is current Id, and "UserId" would point to the Id column in the user table. You might end up one day having more than one parent, so name it after the parent table name.
3. Careful with your Query SQL -- I spotted some serious SQL Injection issues. Yes I know you're working on local DB on the device, but if that was a SQL DB on a server then it would be bad practice. e.g. look at the WHERE clause - don't do 'Where name = '+name -- it should be "where name = @name" -- and then use parameters to pass in the values.

harag
Автор

Hey Chris, this is actually a good video…I would like to suggest to increase the font size or zoom when walking through code, it’s hard to see in small screen devices.Thanks Chris

shyamgurunath
Автор

Hi, I got into thinking about creating a financial trading app. I know myself and I don't have a history of finishing up huge projects, but that's beside the point. When I thought about creating a trading chart, MAUI does have a ScrollView, but it doesn't support pannable. It also doesn't support events right now for me to manually create it. I know that MAUI is new, but I don't have as much confidence in Microsoft to provide a comprehension framework to make my life easier. I got a job as a Java developer and I have to admit, those frameworks are huge. A matter of fact, I went to look at JavaFx and found out that their ScrollPane supports pannable out of the box. Judge me if you have to, but I just prefer C# over Java, despite the inferior frameworks that C# typically has in comparison to Java.

christopherwilliams
Автор

Mainframe :O damn thats cool but also wild

bongangcobo
Автор

Hey Chris, could you do a video on SQLite? It's been tripping me up lately

Anequit
Автор

Until Apple and Google stop being greedy, power-hungry dens of corruption, cross-platform development will always be expensive and tedious, especially if you're not making apps to sell.

NBGTFO