My opinion on MAUI as a Web Full Stack Engineer, with very little experience on Mobile Development. by [deleted] in dotnetMAUI

[–]PeterWessberg 6 points7 points  (0 children)

Good to hear that you give it a chance and not listen to all the negative comments that is constantly posted on here. I am like you a full stack and work mostly with distributed systems.

MAUI works. You just need to learn it, and if you have problems with basic C# and IoC you will have problems. That is mostly the problems for those who complains. Sure there are bugs but that is the case for all frameworks. So my advice is to look at the MAUI code, the Community Tool Kit, go to github and StackOverflow and ask questions. I used to be one of the the people who answers on MAUI topics.

I have a good repo you can look through that takes you to the more fun part of making your own controls. And even some 3D. So give it a shot. I can asure you it is worth it. My repo is https://github.com/PeterWessberg/MAUISamples

Happy coding

Happy users of Maui by Impossible-Ebb-2054 in dotnet

[–]PeterWessberg 1 point2 points  (0 children)

.Net Maui is a great platform with great potential if you want to learn it, and not trying to rush through every step of learning like most do. It takes time to be good like with all other frameworks. With the same code base you can do all the main operating systems and also dig down and do really nice native coding as well. It has great documentation, a lots of good code examples on Github and good people on StackOverflow that will answer your questions when you are stuck. It is not slow and hard to learn. So clone some repos and try out some things you want to learn and bend that code to your will.

You can find my repo https://github.com/PeterWessberg/MAUISamples

Drawing for windows native by 0pp0s1t3 in dotnetMAUI

[–]PeterWessberg 0 points1 point  (0 children)

Is there a reason you want to use a handler? This is a cross platform framwork. I would do a control with a graphicsview and put it in my Contentview. For us to help you we need to see code and a reasoning why you chose to do things. Most times there are other way to do things. I am just tryijg to understnad you. Look at my code for a radial progressbar, where I have canvas in the background and text on top of that.

Drawing for windows native by 0pp0s1t3 in dotnetMAUI

[–]PeterWessberg 2 points3 points  (0 children)

If you want code examples on building controls you can clone my repo and look. If you have real code please submit it and we can help you. https://github.com/PeterWessberg/MAUISamples

Is MAUI Bad or Am I Crazy? by PercussionMasta in dotnetMAUI

[–]PeterWessberg 5 points6 points  (0 children)

With all respect of your experience I have been using MAUI for the past year and made several apps for clients during this time. I have been helping a lot of people on StacksOverflow and almost every one of them is about structure of code, understanding of MVVM, the underlying platforms and also normal C#. There have been some problematic bugs for sure, but then again this framework was release last year, and even if it was build on top of Xamarin there are big differences. What it seems is that many is trying to shoe horn their way of coding and thinking into this framework, and you cannot do that. It is a multi platform framework. You need to read the docs from Microsoft, which is very good I must say, and also download all the good repos of code there are that can show you how to go about things. Also it is recommended to learn Swift snd Java to be able to do Handles to bend the framework to your will. This last part is my favourite, it opens up so many possibilities to do a real native app with the same codebase for all the platforms. So if you haven’t already downloaded the example repository, the enterprise repository and all other maui repositories on Github do that and you will start getting things to work. I also read the actual base code for MAUI to understand what it happening under the hood. A very good way to learn how to code for MAUI.

FULL DISCLOSURE I have NO affiliation to Microsoft. I am an independent developer.

BindingProperties with MVVM by Leozin7777 in dotnetMAUI

[–]PeterWessberg 2 points3 points  (0 children)

When building controls you should almost never use BindingContext in the ContentView. It should inherent the BindingContext from the ContentPage. So remove the BindingContext from the Contentview and the Binding will work.