. Net MAUI is my first experience with mobile development, and I introduced this new tech in my internship program. I started from zero and deployed a full app with API integration, and they really liked it. Now, the company that I work at will adopt MAUI for future projects, and Im already working on something more sofisticated. Thanks James and Microsoft
Great job James, I think you've really clarified the vision. Can you comment on performance, energy consumption, startup and general ux latency of these cross-plat apps vs using platform native languages?
This is a great video. I listened to it several time. I have one question that I can't seem to figure out. I want to develop my app and target the web browser and deploy to native windows apps. I can't figure out how to deploy to the web browser. I have seen reference to creating a Blazer project and then add ing that the .NET Maui solution and sharing components. Is that how it is done? Are there any examples anywhere of this?
@@JamesMontemagno Sorry, I just realized I wrote the question badly... What i mean, is: If I want to write a desktop app, should I build it using WinUI3 "natively" or using WinUI3 through MAUI? What are the differences? Using MAUI, do I have all the functionality of WinUI3? If yes, I'd use MAUI cause I'd have an advantage in case I want to create mobile apps later down the road. What do you think? Thanks in advance!
@@lucademarco5969 Maui is a bridge between the native api of different playforms Using winui3 will be the same as Maui but it allows you to expend to iOS Android and macos on the futur
I prefer the in-detail code videos over presentations, however you can edit them more and summerise but I know that takes a lot of time and I appreciate the effort and time so I don't mind at all.
13:00 so far everything is very similar to Xamarin. Where does the divergence happen from Xamarin? I hope I get that answer in this video :D 30:37 I get the difference now.
Many thanks for the excellent heads-up here! Personally I can't wait to migrate some of my company's products over to MAUI, primarily as I suspect that support for the original Xamarin Forms (which I absolutely adore), will fade away quite quickly
James, I have been searching for a simple tutorial that demonstrates a Maui Blazor Hybrid case. Can you please point me in the right direction. I am currently building a blazor wasm app with a REST Web API as the back end. I want to use the blazor UI components from my Blazor app in a MAUI app and also use the same Web API in the MAUI app. That is the kind of tutorial I am looking for. PS. I am still learning blazor but I finally got my head around it and now I want to start learning the MAUI side of things. Thanks in advance...
Great video !!!! A Question: For the development of a new "business application", what do you recommend Blazor or MAUI? Is Blazor destined to end up like SilverLight?
@@THE_NE0 of course Xamarin forms android app doesn't run smoothly on Android devices with Mediatek processor (budget Android phones) and we all know that those are the dominant Android devices in the market. try developing android app in xamarin forms and submit it to play console and wait for the bad reviews from users, because the bad reviews will definitely come
@@anasabubakar4125 my mediatek CPU can run smoothly 3D games and some very heavy apps, why it isnt capable of running xamarin apps? maybe its not the mediatek problem?
Lol man, it's a very good explanation I like the way you define those features, from what I see That MAUI is the future of app developers. by the way thanks for mentioning Visual Basic language ( my favorite language :) ). even I didn't see a way to code Xamarin with VB. I try to install vs 2022 and I didn't find MAUI as an option for installation maybe I miss something. another thing what about the Linux system (Respray PI), Does MAUI support it or not? again thanks for ur nice work and the good solid tutorial you always presented.
What is the difference between Maui and Avaloniaui? In what situations would one be used in preference to the other? Which of the two is best suited for writing C# code for Android tablet for example?
Today, do you think C# ecosystem lacks libraries and set limits for C# developers, as .Net stack was not open source, in comparison with ecosystem of Python, JS, and Java which were growing rapidly and still are?
if i was building a blazor - .net maui hybrid app that was for example an adobe illustrator clone. what kind of graphics library would be used for the windowed non-gadget drawing/rendering? what if we wanted to add 3d interactive elements to our interface. what 3d library for a blazor - .net maui hybrid? openGL or Vulkan and hope it is supported on user's device?
Thanks for this great explanation! I'm a javascript programmer and I would like to learn C#. A general question: do you think that there is future for Winforms and WPF applications? Thank you.
I have built 3 .Net Maui projects in VS Community Preview v.17.3.0 Preview 1.1. However, they will not run. The error message points to Microsoft.WindowsAppRuntime.1.0.msix failing to install. It is present on the PC. Should I care about MAUI if all I want to do is build Windows Blazor hybrid apps? Many thanks - will appreciate any help.
Can please tell me what technology / framework to learn for maui if wanted to make online app hosted in server I m beginner i have learned xaml and c# basic / intermediate learning
When starting a project from scratch, and you're unknown whether to choose .net maui or blazor hybrid...Is there a path, where you already have a .net maui project, and want to transition to or add blazor hybrid? Or should you start the project with blazor hybrid?
Either is fine, if you are all blazor then start there with blazor hybird, but you can add in blazor hybrid support later: learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/blazorwebview?view=net-maui-8.0
James, I'm giving MAUI a try after ditching Xamarin years ago and writing apps in Java and Swift. My first app is working great but the android emulator is horribly slow while ios simulator is fast. Any ideas what could be causing this? Setup is VS 2022 enterprise windows using the latest version of VS. I did change my config.ini to hw.mainKeys=yes from no as suggested in a stack overflow post. That worked for a while but is now slow again. Thanks!
QUESTION: How to design XAML UI Graphically using MAUI Project in VS 2023 ? XAML seams to be a power tool to design UIs, but I have a problem. I'm using VS 2022'S MAUI project template, but I want to desing the XAML (MainPage.xaml) using a graphic designer. I hear that VS 2022 has a XAML Designer tool, but I can't get it to open under a MAUI project. Can you get it to work and show us how to do that under a MAUI project? Furthermore, there is a tool called XAML Studio available in Windows Store. I tried using it to design a MAUI XAML page, but I can't see many of the key XML tags that MAUI XAML uses in VS 2022. Can you make sense of this and explain to us how it all works?
I will try to answer as best as I can based on my experience. James may be able to expand on or correct anything I might be incorrect on. I have typically preferred having a wysiwyg tool for user interfaces. But, .Net Maui is changing that for me. First of all, XAML is the markup language that Microsoft created for designing WPF forms and Xamarin forms. But XAML for WPF is somewhat different than XAML for Xamarin forms. Maybe the difference isn't significant enough to change the XAML extension for each. But then again, in my opinion, if they are different, then there is no point in keeping the "XAML" extension the same. Maybe make the extension WXML for WPF forms. The thing to note here is both are called XAML, but they are different. So think of XAML as more of a generic term for different types of files that all have the extension XAML. And think of XAML as a markup language ruleset from which new variants of XAML are derived. They all fall ínto the XAML category, but aren't completely the same or compatible. Now enters Dot Net Maui... aaand, yep, you guessed it : XAML forms! But these XAML forms don't match WPF XAML or Xamarin XAML forms. If a Xamarin project is going to be converted to Maui, all the Xamarin XAML forms have to be converted into Maui XAML forms. The thing I don't prefer about this is keeping the XAML extension. They are but the same thing. I think the should have requested Maui XAML files to have an extension like MXML or something. So, getting to your question about how to design XAML UI graphically using Maui in Visuak studio: The Best way in my opinion is to edit the MAUI-XAML files directly. You probably can't use a XAML designer from the past because they won't worh with MAUI-XAML. When you edit the XAML files directly try to stay focused on that and but the code behind. Try to make big changes in the UI by editing the MAUI-XAML only. If you can avoid having to recompile the project then you can hot rod your MAUI-XAML files as you make changes to them. This is pretty nice. Hot reload happens whike you are in debug mode. If you are in debug mode, you can view your app (let's say that renders in the browser) . Each time you change the MAUI-XAML file it automatically updates the browser with the change. So edit the MAUI-XAML files directly and use the hot reload feature to see your changes right away.
This is incredible but I have one question though. Would it be possible to have a .Net Maui application that uses majorly xaml (that is the normal way using MVVM) and then just brings in blazor for maybe one or two pages and vice versa?
Many thanks for the very informative video. I have an old VB6 windows-desktop application for engineers, doing calculations for bolted connections drawing to screen, saving data to files etc. Now I want to bring my development to the future with c# and .net MAUI but where and how to get started? How to load and save files in .net MAUI, how to draw my graphics to a canvas etc? I hope that you are telling the truth, and not just announcing and promising over and over again.
Yeah! So... Files are easy... System.IO! The same thing you have always used :) for Canvas drawing... 2 ways... there is a built in API docs.microsoft.com/en-us/dotnet/maui/user-interface/graphics/ and also a full control github.com/communitytoolkit/maui
Linux during this video: Am I joke to you? Microsoft is doing (almost did) a great job in reworking and combining best stuff from WPF & Xamarin resulting in MAUI. WPF is Windows only, Xamaring is for MacOs, IOS and Android. So the fact, that Linux is missing in MAUI is explainable. MAUI is fully cross-platform in mobile world and it is great. However, we can't say just yet that "MAUI is fully cross-platform desktop development framework" because of Linux. I hope, MS will add Linux support in the future.
I see a lot of people clowning on Microsoft for not supporting linux but i've seen no one actually solving the problem by making a well maintened community fork of Maui supporting linux
@@thisisntmymainaccount7923 people are doing that now. Also, why is it the job of "the community" to support Linux. Mac OS isn't community supported. Yes, Linux is small but if Maui wants to compete with other true cross platform solutions like Flutter it is a disadvantage. There is really no new framework nowadays that claims to be cross-platform and does not support Linux
@@computerfan1079 because Microsoft wants money. You said it yourself : why would they ""waste"" Time and money to have a solution which 1% of users will use. Also comparing with flutter doesn't works because of their architecture (skia engine vs native controlls) Don't get me wrong I love linux and i used to daily drive it (still kinda do with wsl) but Maui wants to create native experience and there isn't any official native api for linux. Sure gtk might get things working but that leads to issues
.NET MAUI is starting with iOS/Android/macOS/Windows (with Tizen from Samsung as well). You have to start somewhere and can always add more platforms. This is what other frameworks has done and what we have seen the team continue to do. In fact there is a full Linux project right now github.com/jsuarezruiz/maui-linux
After installed mobile apps via vs installer and I went to create a project and was expecting to be able to create a library that I could then use on any platform. The projects are all specific to a platform, you have to pick Ios or Android etc. That's fine when I want to use platform specific features but your presentation implies that I could have a cross platform library that runs anywhere I think. Is there a way to have a cross platform business logic library that accesses common device features?
Correct you can write platform specific code or use the built in APIs that have already been abstracted out. The docs are still being finalized, but checkout github.com/dotnet/maui/wiki/Migrating-to-RC1
Hi James. What if you don't want to make mobile and desktop apps from the same codebase, but more typical mobile and website from same codebase... I can't find af way to do this without making to separate projects in VS 2022, and then it just some shared components. Can you help?
Yes, as I mentioned at the end you can use Blazor Hybrid docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-6.0 which enables you to take your Blazor components and bundle them into the .NET MAUI app
By default all of the controls are native controls that are rendered. There is full drawing api and a full Skia api as well. Lots of great community projects for custom built drawn controls as well such as github.com/jsuarezruiz/AlohaKit
Excellent intro by mr. Montemagno. It's still a great shame nevertheless that XAML is tedious to develop GUI's and therefore the choice for desktop application GUI tooling remains a serious challenge. MS simply refuses to solve this.
Hi James, How can we publish Windows executable files (not MSIX) in MAUI? Any idea when that feature is going to be available? Thank you for all the great content.
.NET MAUI uses the Windows App SDK and WinUI 3 so just MSIX i believe. Checkout publishing information here: docs.microsoft.com/en-us/dotnet/maui/windows/deployment/overview
@@JamesMontemagno The document says "You can't yet publish a Windows executable file". Do you have any roadmap when Microsoft will make it available? Whom should I contact to get more details? We wanted to rewrite our projects using MAUI, but we need Windows exe file and dlls to automatically update our machines with new releases. Any related information is greatly appreciated. Thank you.
Could not find a single demo MAUI Blazor app that works on an iphone AND uses platform services besides Connectivity, say like Media. Please provide one or redirect to one. I tried using Media, Test Flight and it crashes on an iPhone :(
Hi James, if possible, could you please show us how to implement a web view printing on iOS with MAUI? I have been searched all over internet but could not find any working solution. There is a solution that worked fine in xamarin forms. Thanks in advance.
im really excited about MAUI, my only concern is the xmlhtml markups sicne i'm not big fan of xml, and would love to see something more traditionally front end like
Hi James, I like your teaching style! Thank you for this wonderful explanation about .NET MAUI. I have a question. How can I reduce the file size of the APK after rebuilding? I have noticed the file size is large. Is it normal?
OK, so pardon my complete ignorance. But, I was under the impression that Maui supported both Mobile and Desktop applications. Is that wrong? Is it only Mobile? Every single video I can find only has mobile examples.
Good job explaining, but in reality i've tried it and it's really not RC ready. It seams all of my mane components did not work properly (Flex layout, image button, community toolkit Expander, most of other nuget plug-ins I use are not ready either ...)
I know this is sort of nit-picking but the .NET Framework was released on January 15, 2002. That makes it just a bit over 20 years old. I know this because I can look at my Ship It award. I was working at Microsoft when .NET was first released.
. Net MAUI is my first experience with mobile development, and I introduced this new tech in my internship program. I started from zero and deployed a full app with API integration, and they really liked it. Now, the company that I work at will adopt MAUI for future projects, and Im already working on something more sofisticated. Thanks James and Microsoft
That is so awesome to hear!! Thank you for sharing and glad the videos have helped out!
One of the best explanation on maui & blazor.Thanks
Thanks!!!
You made an incredible professional and engaging presentation and thanks for doing that and sharing it with us. Really impressive and informative.
Thank you so much
Hi@@JamesMontemagno, can you please guide me on how to render markdown format text in MAUI?
You have really improved sir!!! Keep it up! I personally love the theory side of stuffs b4 i get into the codes so love this new format..
Great video! Provided much clarity on what .NET MAUI is and how it works.
Didn't know about Blazor Hybrid... wow, this will change my life!
Thanks for the great video! It is a very good summary of MAUI that I will share with my colleagues instead of spending hour myself :)
James, I am loving this playlist so far!
Thanks, James,
Awesome presentation.
Keep it up!
Great job James, I think you've really clarified the vision. Can you comment on performance, energy consumption, startup and general ux latency of these cross-plat apps vs using platform native languages?
Thanks for an excellent overview James
This video is so informative, thanks for the killer content
@James, is there a "Kitchen Sink" app that shows how the various code pieces work together on different platforms?
Best explanation thus far. Highly-recommended video.
Awww thanks!! ❤️❤️
This is a great video. I listened to it several time. I have one question that I can't seem to figure out. I want to develop my app and target the web browser and deploy to native windows apps. I can't figure out how to deploy to the web browser. I have seen reference to creating a Blazer project and then add ing that the .NET Maui solution and sharing components. Is that how it is done? Are there any examples anywhere of this?
This was great James, very informative. The slides were really helpful. Thanks for putting this together!
Glad you enjoyed it!
Once again James. Thank you so much for this!
Thanks for Video. I am starting to learn with you! Good luck
James Sir, Thanks for your great presentation. It's really Amazing! 👍👍 I definitely prefer Blazor Hybrid since it seems so super!😄
One question: how does WinUI3 relate to MAUI? Is it already old? Thanks in advance!
.NET MAUI on windows is built on WinUI 3 :)
@@JamesMontemagno Sorry, I just realized I wrote the question badly... What i mean, is: If I want to write a desktop app, should I build it using WinUI3 "natively" or using WinUI3 through MAUI? What are the differences? Using MAUI, do I have all the functionality of WinUI3? If yes, I'd use MAUI cause I'd have an advantage in case I want to create mobile apps later down the road. What do you think? Thanks in advance!
Are people actually building stuff in WinUI? I mean it isn't WPF but more a behind the scenes kind of technology
@@lucademarco5969 Maui is a bridge between the native api of different playforms
Using winui3 will be the same as Maui but it allows you to expend to iOS Android and macos on the futur
Good Presentation James. Apt first video for anyone to see.
Much appreciated!
I prefer the in-detail code videos over presentations, however you can edit them more and summerise but I know that takes a lot of time and I appreciate the effort and time so I don't mind at all.
13:00 so far everything is very similar to Xamarin. Where does the divergence happen from Xamarin? I hope I get that answer in this video :D
30:37 I get the difference now.
Awesome presentation. You’ve got another subscriber. Thank you very much. I cannot wait to do a side project. I look forward to some tutorials
Whoa! Thanks!!!!
Many thanks for the excellent heads-up here! Personally I can't wait to migrate some of my company's products over to MAUI, primarily as I suspect that support for the original Xamarin Forms (which I absolutely adore), will fade away quite quickly
James, I have been searching for a simple tutorial that demonstrates a Maui Blazor Hybrid case. Can you please point me in the right direction. I am currently building a blazor wasm app with a REST Web API as the back end. I want to use the blazor UI components from my Blazor app in a MAUI app and also use the same Web API in the MAUI app.
That is the kind of tutorial I am looking for. PS. I am still learning blazor but I finally got my head around it and now I want to start learning the MAUI side of things. Thanks in advance...
Checkout the podcast app - github.com/microsoft/dotnet-podcasts great sample for blazor hybrid
This is an excellent video and a very good explanation in layman terms.
Glad it was helpful!
Great video !!!!
A Question:
For the development of a new "business application", what do you recommend Blazor or MAUI?
Is Blazor destined to end up like SilverLight?
Hey James! Great stuff like always! Are you going to be doing a video on how to convert existing Xamarin Forms apps to Maui?
Thank you for ur Great presentation and sharing here. That's very useful and informative.
I'm super excited with Maui
Great presentation, but I disagree about the performance regarding android, the android app generated is so laggy
Emulator performance is highly dependent on your cpu. I went from a r5 3600 to a r7 5700x and my previously slow app runs like a cheetah now.
I don't use an emulator, i would rather test on my android 11 device
@@THE_NE0 of course Xamarin forms android app doesn't run smoothly on Android devices with Mediatek processor (budget Android phones) and we all know that those are the dominant Android devices in the market.
try developing android app in xamarin forms and submit it to play console and wait for the bad reviews from users, because the bad reviews will definitely come
@@anasabubakar4125 my mediatek CPU can run smoothly 3D games and some very heavy apps, why it isnt capable of running xamarin apps? maybe its not the mediatek problem?
Lol man, it's a very good explanation I like the way you define those features, from what I see That MAUI is the future of app developers. by the way thanks for mentioning Visual Basic language ( my favorite language :) ).
even I didn't see a way to code Xamarin with VB.
I try to install vs 2022 and I didn't find MAUI as an option for installation maybe I miss something.
another thing what about the Linux system (Respray PI), Does MAUI support it or not?
again thanks for ur nice work and the good solid tutorial you always presented.
For now you need the latest Visual Studio preview to see the MAUI workloads, Linux is still just under consideration.
Great overview, just what has been missing
This was really well done, man. Thank you
Glad you enjoyed it!
What is the difference between Maui and Avaloniaui? In what situations would one be used in preference to the other? Which of the two is best suited for writing C# code for Android tablet for example?
James, any place where we can report issues found in MAUI. I have already a couple ...
How should we structure (separatation) solutions if we want to reuse blazor pages/components for both - web and maui?
Checkout ruclips.net/video/ojcvL8KCOwo/видео.html
Today, do you think C# ecosystem lacks libraries and set limits for C# developers, as .Net stack was not open source, in comparison with ecosystem of Python, JS, and Java which were growing rapidly and still are?
No, there are a plethora of packages to do just about anything www.nuget.org/
Very nice James thanks
Hi Gerard,
When I click "Pair toMac" , I get : cannot create a file when that file already exists.
Thanks
if i was building a blazor - .net maui hybrid app that was for example an adobe illustrator clone. what kind of graphics library would be used for the windowed non-gadget drawing/rendering? what if we wanted to add 3d interactive elements to our interface. what 3d library for a blazor - .net maui hybrid? openGL or Vulkan and hope it is supported on user's device?
great video. Thanks James.
Glad you enjoyed it
Thanks for this great explanation!
I'm a javascript programmer and I would like to learn C#.
A general question: do you think that there is future for Winforms and WPF applications?
Thank you.
Great summary, thank you!
I have built 3 .Net Maui projects in VS Community Preview v.17.3.0 Preview 1.1. However, they will not run. The error message points to Microsoft.WindowsAppRuntime.1.0.msix failing to install. It is present on the PC. Should I care about MAUI if all I want to do is build Windows Blazor hybrid apps? Many thanks - will appreciate any help.
Can please tell me what technology / framework to learn for maui if wanted to make online app hosted in server
I m beginner i have learned xaml and c# basic / intermediate learning
Right on James thank u!
Any roadmaps for migrating existing xamarin projects to Maui or existing winForms apps?
When starting a project from scratch, and you're unknown whether to choose .net maui or blazor hybrid...Is there a path, where you already have a .net maui project, and want to transition to or add blazor hybrid? Or should you start the project with blazor hybrid?
Either is fine, if you are all blazor then start there with blazor hybird, but you can add in blazor hybrid support later: learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/blazorwebview?view=net-maui-8.0
James, I'm giving MAUI a try after ditching Xamarin years ago and writing apps in Java and Swift. My first app is working great but the android emulator is horribly slow while ios simulator is fast. Any ideas what could be causing this? Setup is VS 2022 enterprise windows using the latest version of VS. I did change my config.ini to hw.mainKeys=yes from no as suggested in a stack overflow post. That worked for a while but is now slow again. Thanks!
QUESTION: How to design XAML UI Graphically using MAUI Project in VS 2023 ?
XAML seams to be a power tool to design UIs, but I have a problem. I'm using VS 2022'S MAUI project template, but I want to desing the XAML (MainPage.xaml) using a graphic designer. I hear that VS 2022 has a XAML Designer tool, but I can't get it to open under a MAUI project.
Can you get it to work and show us how to do that under a MAUI project?
Furthermore, there is a tool called XAML Studio available in Windows Store. I tried using it to design a MAUI XAML page, but I can't see many of the key XML tags that MAUI XAML uses in VS 2022.
Can you make sense of this and explain to us how it all works?
I will try to answer as best as I can based on my experience. James may be able to expand on or correct anything I might be incorrect on. I have typically preferred having a wysiwyg tool for user interfaces. But, .Net Maui is changing that for me.
First of all, XAML is the markup language that Microsoft created for designing WPF forms and Xamarin forms. But XAML for WPF is somewhat different than XAML for Xamarin forms. Maybe the difference isn't significant enough to change the XAML extension for each.
But then again, in my opinion, if they are different, then there is no point in keeping the "XAML" extension the same. Maybe make the extension WXML for WPF forms.
The thing to note here is both are called XAML, but they are different. So think of XAML as more of a generic term for different types of files that all have the extension XAML. And think of XAML as a markup language ruleset from which new variants of XAML are derived. They all fall ínto the XAML category, but aren't completely the same or compatible.
Now enters Dot Net Maui... aaand, yep, you guessed it : XAML forms! But these XAML forms don't match WPF XAML or Xamarin XAML forms. If a Xamarin project is going to be converted to Maui, all the Xamarin XAML forms have to be converted into Maui XAML forms.
The thing I don't prefer about this is keeping the XAML extension. They are but the same thing. I think the should have requested Maui XAML files to have an extension like MXML or something.
So, getting to your question about how to design XAML UI graphically using Maui in Visuak studio: The Best way in my opinion is to edit the MAUI-XAML files directly. You probably can't use a XAML designer from the past because they won't worh with MAUI-XAML.
When you edit the XAML files directly try to stay focused on that and but the code behind. Try to make big changes in the UI by editing the MAUI-XAML only. If you can avoid having to recompile the project then you can hot rod your MAUI-XAML files as you make changes to them. This is pretty nice.
Hot reload happens whike you are in debug mode. If you are in debug mode, you can view your app (let's say that renders in the browser) . Each time you change the MAUI-XAML file it automatically updates the browser with the change.
So edit the MAUI-XAML files directly and use the hot reload feature to see your changes right away.
And yes, a XAML studio app doesn't tell you what type of flavor of XAML it supports. Probably just Xamarin-XAML and not MAUI-XAML
Great explanation, Thanks.
This is incredible but I have one question though. Would it be possible to have a .Net Maui application that uses majorly xaml (that is the normal way using MVVM) and then just brings in blazor for maybe one or two pages and vice versa?
Thanks for the video, James
Can’t wait to start hybrid!
Thanks James.
Hi thanks for your great videos.
Will wpf technology be abolished then?
Thank you for overview. How to do full screen in .net maui blazor window screen?
Hey James, nice video, Is .net MAUI also have bridge like React native? How different its high level architecture as compared to React native
Building UI components in C#... is a dream 😍😍. Like flutter
Hi James, can you please guide me on how to render markdown format text in MAUI
Many thanks for the very informative video. I have an old VB6 windows-desktop application for engineers, doing calculations for bolted connections drawing to screen, saving data to files etc. Now I want to bring my development to the future with c# and .net MAUI but where and how to get started? How to load and save files in .net MAUI, how to draw my graphics to a canvas etc? I hope that you are telling the truth, and not just announcing and promising over and over again.
Yeah! So... Files are easy... System.IO! The same thing you have always used :) for Canvas drawing... 2 ways... there is a built in API docs.microsoft.com/en-us/dotnet/maui/user-interface/graphics/ and also a full control github.com/communitytoolkit/maui
When is Don and Maui going to be available for Mac 2022?
Linux during this video: Am I joke to you?
Microsoft is doing (almost did) a great job in reworking and combining best stuff from WPF & Xamarin resulting in MAUI. WPF is Windows only, Xamaring is for MacOs, IOS and Android. So the fact, that Linux is missing in MAUI is explainable. MAUI is fully cross-platform in mobile world and it is great. However, we can't say just yet that "MAUI is fully cross-platform desktop development framework" because of Linux. I hope, MS will add Linux support in the future.
I see a lot of people clowning on Microsoft for not supporting linux but i've seen no one actually solving the problem by making a well maintened community fork of Maui supporting linux
@@thisisntmymainaccount7923 people are doing that now. Also, why is it the job of "the community" to support Linux. Mac OS isn't community supported. Yes, Linux is small but if Maui wants to compete with other true cross platform solutions like Flutter it is a disadvantage. There is really no new framework nowadays that claims to be cross-platform and does not support Linux
conflict of interest .
@@computerfan1079 because Microsoft wants money. You said it yourself : why would they ""waste"" Time and money to have a solution which 1% of users will use. Also comparing with flutter doesn't works because of their architecture (skia engine vs native controlls)
Don't get me wrong I love linux and i used to daily drive it (still kinda do with wsl) but Maui wants to create native experience and there isn't any official native api for linux. Sure gtk might get things working but that leads to issues
.NET MAUI is starting with iOS/Android/macOS/Windows (with Tizen from Samsung as well). You have to start somewhere and can always add more platforms. This is what other frameworks has done and what we have seen the team continue to do. In fact there is a full Linux project right now github.com/jsuarezruiz/maui-linux
After installed mobile apps via vs installer and I went to create a project and was expecting to be able to create a library that I could then use on any platform. The projects are all specific to a platform, you have to pick Ios or Android etc. That's fine when I want to use platform specific features but your presentation implies that I could have a cross platform library that runs anywhere I think. Is there a way to have a cross platform business logic library that accesses common device features?
Correct you can write platform specific code or use the built in APIs that have already been abstracted out. The docs are still being finalized, but checkout github.com/dotnet/maui/wiki/Migrating-to-RC1
is it possible to use GRPC in the Blazor MAUI project?
Well done James, thanks
I wanted to learn Xamarin, do you guys think it's worth learning it and then evolving to MAUI later or should I start with MAUI?
Checkout my video on this subject ruclips.net/video/zvPPz6DABi8/видео.html
Great explanation
Hi James. What if you don't want to make mobile and desktop apps from the same codebase, but more typical mobile and website from same codebase... I can't find af way to do this without making to separate projects in VS 2022, and then it just some shared components. Can you help?
Yes, as I mentioned at the end you can use Blazor Hybrid docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-6.0 which enables you to take your Blazor components and bundle them into the .NET MAUI app
Do you need to know XAML to develope .NET MAUI applications, or can one get by fine with only C#?
You can do it all in c#. Two libraries to look at. First is c# markup for .net Maui and the other is MauiReactor which is MVU style
@@JamesMontemagno What would you as a MAUI developer recommend? I'm open to learn what I need to, to make the best possible application.
Thanks for the information really cool!
No problem!
thanks for the video James, consult, when will the final version of Blazor Hybrid be?
They ship at the same time!
Where can I find some actual MAUI Blazor example code/solutions please? Would love love love a tutorial on turning an MVC app into a native app
Checkout the podcast app sample github.com/microsoft/dotnet-podcasts
@@JamesMontemagno Thanks for the Blazor example, but I can't seem to find any documentation or anything referencing both MVC and MAUI?
Hey James, how maui render gui? It have the engine same skia flutter?
By default all of the controls are native controls that are rendered. There is full drawing api and a full Skia api as well. Lots of great community projects for custom built drawn controls as well such as github.com/jsuarezruiz/AlohaKit
@@JamesMontemagno Thanks for replay James, i get it.
Why Flyout menu on Android is still lagging on close like with Xamarin forms?
Excellent intro by mr. Montemagno. It's still a great shame nevertheless that XAML is tedious to develop GUI's and therefore the choice for desktop application GUI tooling remains a serious challenge. MS simply refuses to solve this.
Hi James, How can we publish Windows executable files (not MSIX) in MAUI? Any idea when that feature is going to be available? Thank you for all the great content.
.NET MAUI uses the Windows App SDK and WinUI 3 so just MSIX i believe. Checkout publishing information here: docs.microsoft.com/en-us/dotnet/maui/windows/deployment/overview
@@JamesMontemagno The document says "You can't yet publish a Windows executable file". Do you have any roadmap when Microsoft will make it available? Whom should I contact to get more details? We wanted to rewrite our projects using MAUI, but we need Windows exe file and dlls to automatically update our machines with new releases. Any related information is greatly appreciated. Thank you.
Could not find a single demo MAUI Blazor app that works on an iphone AND uses platform services besides Connectivity, say like Media. Please provide one or redirect to one. I tried using Media, Test Flight and it crashes on an iPhone :(
Take a look at github.com/microsoft/dotnet-podcasts
@@JamesMontemagno Thanks. Has it been tested on a iphone device?
This is awesome!!! Thanks mate
Nice video. How to reach Android Bluetooth from Xamarin Forms or .net MAUI? What is the state of Bluetooth Low Energy in some sorts of Essentials?
I use the Plugin.BLE NuGet
@@JamesMontemagno Thank you. I encounter difficulties which may depend on me.
Hello ! Xamarin Forms with RTMP please ?
Great explanation 👍👍
Great video. The captions though. 😂
😂
Hi James, if possible, could you please show us how to implement a web view printing on iOS with MAUI? I have been searched all over internet but could not find any working solution. There is a solution that worked fine in xamarin forms. Thanks in advance.
Does it compile into executable file when it used windows desktop ?
For windows packaging checkout: docs.microsoft.com/en-us/dotnet/maui/windows/deployment/overview
Very good .Thank you very much.Your reward is with God
Hi James. Where can we get the slide?
Slides can be found in the workshop github link in the description
Thank you James
im really excited about MAUI, my only concern is the xmlhtml markups sicne i'm not big fan of xml, and would love to see something more traditionally front end like
Take a look at dev.to/davidortinau/c-ui-and-net-hot-reload-a-match-made-in-net-maui-243f you can build everything in c# as well
Thank James :)
IF I want to learn hybrid maui should i learn this playlist first ?
Best resources for Blazor Hybrid and .NET MAUI for beginners! #dotnetmaui #coding #blazor
Hi James, I like your teaching style! Thank you for this wonderful explanation about .NET MAUI.
I have a question. How can I reduce the file size of the APK after rebuilding? I have noticed the file size is large. Is it normal?
Is the MediaElement available on .NET Maui?
I don’t think it is in the toolkit yet but see www.davidbritch.com/2022/07/playing-video-with-net-maui_28.html?m=1
OK, so pardon my complete ignorance. But, I was under the impression that Maui supported both Mobile and Desktop applications. Is that wrong? Is it only Mobile? Every single video I can find only has mobile examples.
Correct, iOS, Android, macOS, and Windows. Like I showed and talked about it is all those platforms across mobile, tablet, and desktop.
@@JamesMontemagno Ok, I missed something somewhere. Thanks :)
Great video :)
Good job explaining, but in reality i've tried it and it's really not RC ready. It seams all of my mane components did not work properly (Flex layout, image button, community toolkit Expander, most of other nuget plug-ins I use are not ready either ...)
I know this is sort of nit-picking but the .NET Framework was released on January 15, 2002. That makes it just a bit over 20 years old. I know this because I can look at my Ship It award. I was working at Microsoft when .NET was first released.
Yes, i was thinking of Visual Studio, which just celebrate 25 years. But yes 20 years is correct ;)
What about C++ in .NET MAUI. Is it only a C# thing?
You can creating binding libraries -> docs.microsoft.com/en-us/xamarin/cross-platform/cpp/ is an example