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
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.
Yes, thanks for this! Always appreciate the tips - 1. Yeah, I didn't even notice I put a space in there, my bad, will fix that in a commit soon 2. - Makes sense! 3. Yup, I was a bit rusty when I started this project in my DB/"modern programming" world (normally a mainframe programmer), but I realized this issue after a bit and updated the SQL queries to be parameterized later on.
@@ProgrammingWithChris You're welcome. I'm a long time .net framework / sqlserver developer, the MAUI / android dev is new to me so a great video overall. Looking forward to the future episodes of the app. I think the issues you were having about unit testing etc might be due to maui not having fully released? This vid from Gerald I watched other day might help with the testing setup: ua-cam.com/video/C9vIDLQwc7M/v-deo.html
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
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.
What are you struggling with on it? If you’re able to,I always recommend using sqlite-net, which is a library that gives you ORM type stuff that makes it really nice (and I’m using it in my app). So if you want an example of that, look at the /Services/DatabaseHandler.cs file in my shopping list repo, may help you out
Did you get this figured out? If not, feel free to email me if you have some code I can look at or anything to help out - programmingwithchris91 (at) gmail (dot) com
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.
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
I also struggled to hit a 90 Parse but after this video it was simple!
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.
Yes, thanks for this! Always appreciate the tips -
1. Yeah, I didn't even notice I put a space in there, my bad, will fix that in a commit soon
2. - Makes sense!
3. Yup, I was a bit rusty when I started this project in my DB/"modern programming" world (normally a mainframe programmer), but I realized this issue after a bit and updated the SQL queries to be parameterized later on.
@@ProgrammingWithChris You're welcome. I'm a long time .net framework / sqlserver developer, the MAUI / android dev is new to me so a great video overall. Looking forward to the future episodes of the app.
I think the issues you were having about unit testing etc might be due to maui not having fully released?
This vid from Gerald I watched other day might help with the testing setup:
ua-cam.com/video/C9vIDLQwc7M/v-deo.html
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
Yes, definitely agree with you there, something I’ll try to fix up for future videos. Thanks!
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.
Mainframe :O damn thats cool but also wild
We do still exist! lol. But we're actually working on transitioning that application to an ASP.NET app, so should be a fun few years of doing that.
Hey Chris, could you do a video on SQLite? It's been tripping me up lately
What are you struggling with on it? If you’re able to,I always recommend using sqlite-net, which is a library that gives you ORM type stuff that makes it really nice (and I’m using it in my app). So if you want an example of that, look at the /Services/DatabaseHandler.cs file in my shopping list repo, may help you out
@@ProgrammingWithChris I've been struggling with using two separate databases with dependency injection, but I'll check out that library
Did you get this figured out? If not, feel free to email me if you have some code I can look at or anything to help out - programmingwithchris91 (at) gmail (dot) com
@@ProgrammingWithChris I read through their GitHub and it seems simple enough I should be able to wire it up
Helpful video. Thank you
You're Welcome! More to come on this app soon. Thanks for watching!
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.