.NET MAUI in .NET 8 - Everything you need to know!

Ғылым және технология

.NET MAUI for .NET 8 is here! With hundreds of fixed, optimizations, performance enhancements, and new features, it is GO TIME for building multi-platform applications for iOS, Android, Mac, and Windows with .NET MAUI! In this video I am going to go over what's new, what you need to know, how to get it installed, and what is new in the projects. So.... let's go!
Yes my hair is gone, but it has been donated to a good cause!
Links:
Blog Posts: devblogs.microsoft.com/dotnet...
Migration: • Migrate to .NET MAUI f...
Hybrid: • Building Hybrid Apps w...
Menu Bars: • Create a .NET MAUI Men...
Blazor Hybrid: • Blazor Hybrid (+.NET M...
First .NET MAUI App: • .NET MAUI Tutorial for...
Xamarin to .NET MAUI Migration - learn.microsoft.com/dotnet/ma...
Join this channel to get access to perks:
/ @jamesmontemagno
👕 Buy some swag! - jamesmontemagno.myspreadshop....
☕️ Buy me a coffee - www.buymeacoffee.com/jamesmon...
Chapters:
00:00 - Introduction
01:47 - What's new in .NET MAUI in .NET 8
06:50 - Installing .NET MAUI in .NET 8
09:50 - New template changes for .NET MAUI & Upgrading
17:00 - Wrap-up & Final Thoughts
Follow:
👨‍💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
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.
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
My Setup:
📷 Canon M50 Mark II - amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
🎙 Blue Spark Microphone - amzn.to/3qgtYkq
🎙 Blue Pop Filter - amzn.to/3jEWM3r
🤳 Rode Microphone Arm - amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - amzn.to/372jxta
📲 Stream Deck - amzn.to/373Uk1n
🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
#dotnetmaui #dotnet #visualstudio

Пікірлер: 123

  • @hbschiller
    @hbschiller10 ай бұрын

    Today I had a colleague asking for some support on some .NET dev and the first person I thought about was you and your KZread channel and I realised how much I learnt from your content, so it's a symbolic gesture but to show appreciation! Keep it up!

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Wow, thank you! Glad it has been so helpful

  • @jfversluis
    @jfversluis10 ай бұрын

    Can't wait for this one! Both the video and .NET version! 🐒

  • @aluzza2541
    @aluzza254110 ай бұрын

    The original James is finally back!

  • @dsuess
    @dsuess10 ай бұрын

    The new haircut looks much better. It is the classic james!

  • @mailtonithik
    @mailtonithik10 ай бұрын

    Hello James, Is it possible to programmatically enable the GPS service in .NET MAUI 8, similar to how it's done in other frameworks?

  • @jamesmwangi2491
    @jamesmwangi249110 ай бұрын

    Looking great!!

  • @mikegrainger8082
    @mikegrainger808210 ай бұрын

    Looking good James.

  • @mr.phoenix8115
    @mr.phoenix81159 ай бұрын

    Hii James , i have a 1 doubt in flyoutitem and tab bar item : Tab Bar has a Attribute to display a FlyoutItemIsVisible="False/True" But there is no attribute on flyout item to diplay Tabbaritemvisible Is that possible any other way to do it ?

  • @alexdodd5175
    @alexdodd51758 ай бұрын

    Nice guide. Please make a similar one for the MacOS. My upgrade to net8 on that platform did not go as smooth and seamlessly as shown here for windows. So it would be a great thing to learn. Thanks in advance.

  • @muheebar-rahman8294
    @muheebar-rahman829410 ай бұрын

    All this is great. But i want to change the top bar of my app on windows platform. There is no easy way to do that yet? When will that be implemented?

  • @hamzaougui6751
    @hamzaougui67518 ай бұрын

    Amazing informative video james .. could you please make a tutorial about making push notifications when applicatiion is not running or phone started and app not open yet for Maui Blazor iOS

  • @oidirk
    @oidirk10 ай бұрын

    Hi James - I really find your videos very helpful, please keep them coming. One question I have is around XAML and .Net Maui docs. I generally know what I want to do with a UI but thee are so many options and switches. I think back to what I consider the golden days of programming in VB, Java and C++. What I miss the most are the awesome manuals that Sun used to put out. You would find one topic, IDE component or Method per one or two pages. It would in plain language tell you what it does and provide a simple in context example. It was well indexed and I could find things I wanted quickly. What I feel is lacking today is something similar. I know books cannot be a medium given how quickly .Net changes. But is there a good source where I can just search for say "border" and be show the various ways one can be used and in what context and with code examples. Regarding Microsoft docs - sorry but I have never found them to be that well organized. Sun takes the prize for me. They were big books but I wore them out! LOL

  • @light-water

    @light-water

    8 ай бұрын

    Good question. Something like a primeng/primefaces for angular

  • @stevenparry1448
    @stevenparry144810 ай бұрын

    Do I need to do anything in my Mac to make this work for IOS development. I connect remotely to the mac. Basically I can build and debug on a physical iOS device and I can build the app using the remote mac, But I can't debug on a virtual device. I get a "clang++ exited with code 1" error

  • @the99Raver
    @the99Raver10 ай бұрын

    Great haircut! Welcome back!

  • @paulehigie9879
    @paulehigie987910 ай бұрын

    Quick question: Is Maui Blazor app native or its just a wrapper like cordova/ionic

  • @anjumchauhan6990
    @anjumchauhan699010 ай бұрын

    hi, When will we get the Firebase nuget package for .net 7/ .net 8? Is it in the pipeline ? We're struggling with the firebase integration as there is no firebase package provided by Microsoft for .net 7. Any tentative timelines would be great as we are having constant pressure from the client for firebase feature. Thank you in advance

  • @Biztalkcontrolcenter

    @Biztalkcontrolcenter

    9 ай бұрын

    😢

  • @kkn385heyahsshshshd
    @kkn385heyahsshshshd10 ай бұрын

    Nice haircut looks in my opinion better! BTW just askin, what do u think about a feature in visual studio like update maui version that would perform all that updates and reflect the changes to the proj files? That would be nice. Something like android studio has.

  • @ArafatTehsin
    @ArafatTehsin9 ай бұрын

    Just upgraded my AI project built using .NET MAUI 7 to 8, just by following this video. James, I have no words to thank you on upskilling all of us in this journey.

  • @JamesMontemagno

    @JamesMontemagno

    9 ай бұрын

    Glad it helped!

  • @emanuelmartins9508

    @emanuelmartins9508

    8 ай бұрын

    in net 8 my borders controls just don't work anymore. I had to go back to net 7

  • @jvetter713
    @jvetter71310 ай бұрын

    Can you give us an update video on how to use Bluetooth LE? It seems there is still nothing out of the box which seems unbelievable.

  • @letthemcode7199
    @letthemcode71999 ай бұрын

    Glad the original is back. How about a maui device orientation video? All pages or just some pages and detection

  • @harrisonofthenorth
    @harrisonofthenorth10 ай бұрын

    Nice hair, James, it's sort of been sinusoidal in length since Xamarin Forms 1.0 !!!

  • @khalil2099
    @khalil20998 ай бұрын

    Hi, i have a question. If i build a blazor web app, is it easy as copy pasting it to .net maui blazor project files if i want to mobile app it ?

  • @_jimbarton
    @_jimbarton10 ай бұрын

    Aahahaha where'd all the hair go!! Exactly! Love it, thank ya Mr. Monty

  • @ahmadkelany
    @ahmadkelany4 ай бұрын

    Hello James, Thanks for your great content, It helped me so much back in Xamarin days and now with MAUI, I am having trouble now with using UDP port with my MAUI app, If it's possible to make a video about using MAUI app to send and receive data via UDP port it will be greatly appreciated.

  • @olagisrarikis
    @olagisrarikis10 ай бұрын

    Now that Visual Studio for Mac is being discontinued, what do you need on the mac to be able to compile iOS from a PC?

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    See: kzread.info/dash/bejne/paKFk6Vvc9PWops.html

  • @davefb

    @davefb

    10 ай бұрын

    @@JamesMontemagno Wish this wasn't the case, because I addressed "not being able to sign for distribution" by using visual studio for mac. I feel like I did 'exactly the same' set of steps, but on pc, it picked the wrong set of keys :/ on mac vs, it worked first time I tried.

  • @Torquemadaaa
    @Torquemadaaa10 ай бұрын

    Hello James. Maybe you have an impact on Microsoft's management, and can make it so that this demo weather app (which looks good I think) replaces inbox web-app in Windows 10/11? This will for sure show that Microsoft is interested in the framework. Thanks.

  • @ecblanco
    @ecblanco10 ай бұрын

    2015 James is back! xD

  • @davidburrell4799
    @davidburrell479910 ай бұрын

    Always great video's James. Can you tell us if the Community Toolkit will work with .Net8 ? I'm assuming yes.

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Absolutely!!!

  • @josephl
    @josephl10 ай бұрын

    Hey James, is there any features in .NET 8 we could use in .NET MAUI for biometric authentication? Could you make an updated video about the state of the art in this topic? All videos/docs I have found on the internet are really outdated. Thanks!

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Top hit bing search www.c-sharpcorner.com/article/implementing-biometric-authentication-in-net-maui/ the native apis are always available

  • @rushas
    @rushas10 ай бұрын

    Wonderful energy! I like it

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Glad you enjoy it!

  • @imasurfa
    @imasurfa7 ай бұрын

    the C# shirt yessss. I need to find mine

  • @ivcbusinesssystems6613
    @ivcbusinesssystems66139 ай бұрын

    *I could care less about what's new & what's different, does it finally work right out of the box or not!* BTW, I do appreciate the hard work, but we need a product that we can use in production!

  • @ronistiawan1130
    @ronistiawan113010 ай бұрын

    You looks a lot better🎉

  • @kbsanders
    @kbsanders3 ай бұрын

    Hair looks good 👍

  • @DanielHarrisCodes
    @DanielHarrisCodes10 ай бұрын

    Will this be supported in VS for Mac? I know it’s going away (sadly) but VS Code isn’t ready for prime time MAUI development yet.

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    There is "technically" support for .NET 8 in Visual Studio for Mac, checkout the blog and release notes on how to get it up and running

  • @DanielHarrisCodes

    @DanielHarrisCodes

    10 ай бұрын

    @@JamesMontemagno thanks I’ll get it setup this week. I’m hoping there’s some huge updates brewing for VS Code MAUI plugin as developing MAUI just feels faster and smoother for me on Mac (even as a long standing VS on Windows user, something just feels smoother. VS for Mac wasn’t perfect but felt like a nice blend between VS and VS Code since it supported the essential stuff for modern projects without too much legacy stuff cluttering it up)

  • @harrydang5248
    @harrydang524810 ай бұрын

    Did you upgrade the existing project from .net 7 to .net8? Do you have any errors?

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    When you upgrade you just need to change the TFM to net8 and then add those new items from the csproj and should be good to go

  • @G5STU
    @G5STU10 ай бұрын

    Upgrading as per you instructions didn't work for me, I just created a new project in VS preview with the same name space and dropped all my files in and all good. Thanks for the video, MAUI is great I just hope the desktop experience matures on the MAC side, very lacking at the moment.

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Shoot me an email and let me know what went wrong. I had an older older project and i needed to update the files in the resources and a windows appxpackage file as well, but from 7 to 8 i didn't have issues

  • @leenshim
    @leenshim10 ай бұрын

    wow! looking good!!!! 😄

  • @geo0305
    @geo030510 ай бұрын

    since microsoft will shut down vs for mac, will you make a video on how to set up .net maui for vs code?

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    On it! I need to get a clean machine to set it all up properly :)

  • @G5STU
    @G5STU10 ай бұрын

    Can you guys please cover more desktop for us desktop devs . I use flutter for mobile and winforms for desktop, I’m now trying (and failing miserably) to port my winforms app to Maui to get windows and Mac support. The lack of basic controls is very frustrating ! How to do basic dialog forms ? Why don’t context menus work on Mac ? Why do radio buttons look rubbish on Mac ? My app looks and functions great on window but on Mac it shockingly bad and buggy. Please help us…

  • @zoiobnu

    @zoiobnu

    10 ай бұрын

    What basic controls are missing? Have labels, inputs, combobox and much more.

  • @G5STU

    @G5STU

    10 ай бұрын

    @@zoiobnu Context Menu does not work on Mac (it turns into a swipe on ListViews). I'm unable to do the equivalent of Form.OpenDialog() (I guess I have to use a flyout but not the experience I'm looking for on a desktop UI). Tabbing from one Entry to another simply does not work on mac for me. Radio buttons are always black on Mac which is no good on a dark theme. I'm slowly coming to realise that I need to give up on replicating traditional desktop UX and just go with what MAUI can do. I've just updated to .net8 and it's much better than before, at least the list view on mac no longer has render glitches, so that's a massive win. I am noticing Entry text colours are not always applying correctly, sometimes the colour I set Is used, some times it's black, a clean and rebuild seems to fix it for most of my controls but not all, I have one Entry control that is set the current datetime bound to a vm property, that just will not pick up the correct text colour. Also, I can no long see my .xaml files in Visual Studio for mac (since updating to .net8), I think i'll have to switch to vs code. I'm happy enough now but I've had to admit defeat on many things I expect to be able to do. Context menus on mac really is the main pain point now, I'll have to check if they now work since updating to .net8, if not i'll have to figure out a work around.

  • @sigma_z

    @sigma_z

    10 ай бұрын

    Just use a 3rd party lib for your controls.

  • @EvilGenius2909

    @EvilGenius2909

    10 ай бұрын

    Why are you not using Flutter for all platforms? Just curious

  • @zoiobnu

    @zoiobnu

    10 ай бұрын

    @@EvilGenius2909 Because we has all stack with C# and .NET. Why we need to learn a new language, framework instead using all our knowledge with same environment ?

  • @khealer
    @khealer10 ай бұрын

    I approve the manly look! Plus such easier maintenance.

  • @runtimmytimer
    @runtimmytimer10 ай бұрын

    Much better look @James. I tried .NET MAUI with the initial release of .NET 6 and got so frustrated I just quit. I'm hoping .NET 8 provides a much improved experience and some important features I needed for my application.

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    It has come a long way since the first release that is for sure. I am really excited!

  • @user-sy4bq3fk6o
    @user-sy4bq3fk6o10 ай бұрын

    does the restaurant food application open source?

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Is available here: github.com/dotnet/maui-samples/tree/main/7.0/Apps/PointOfSale

  • @sheilainglin863
    @sheilainglin86310 ай бұрын

    Wow!!! Look at that clean shaven man!!! 😊😊😊😊😊❤

  • @AZisk
    @AZisk10 ай бұрын

    Where is the hair? Welcome back!

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Donated to charity! 12" total! Now being turned into a wig for kids with hair loss!

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Where did my hair go!?!?! Donating hair to charity!

  • @user-bt3rc2xg8r
    @user-bt3rc2xg8r10 ай бұрын

    nice cut man

  • @sandipbhagwatkar6475
    @sandipbhagwatkar64757 ай бұрын

    how to share image and text both in single request

  • @bogdanpavlovic3456
    @bogdanpavlovic345624 күн бұрын

    Hello James! Nice video. Suggestion for next video - How to get (read) incoming call id (phone number) using MAUI (if is possible) on Android device (optional iOS)?

  • @soumyadipmajumder3450
    @soumyadipmajumder345010 ай бұрын

    .NET MAUI is the future

  • @skfalpink123
    @skfalpink12310 ай бұрын

    Finally !!! . Net 7.0 has been a nightmare of unreliability

  • @jwcodendaal
    @jwcodendaal10 ай бұрын

    Haha I have the same shirt. I still rock that too😊

  • @jwcodendaal

    @jwcodendaal

    10 ай бұрын

    Still got the xamarin monkey too somewhere.

  • @dotnetdevni
    @dotnetdevni10 ай бұрын

    Right click edit project change 7 to 8 updated ur packages and ur done thats what I have always done

  • @Taki7o7
    @Taki7o77 ай бұрын

    only new thing i noticed is that they once again managed to "deliver" a broken boilerplate :D

  • @guyincognito1985
    @guyincognito198510 ай бұрын

    Nice hairs! 💈💇‍♂👱‍♂👍

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Thank you! Cheers!

  • @AliHazrat-cm8hq
    @AliHazrat-cm8hq9 күн бұрын

    Nice hai style 😅

  • @SamuelSidor
    @SamuelSidor10 ай бұрын

    Thanks for the video James ! But I am quite disappointed that MAUI ticket 1069 wasn't considered for .NET8. Because we use Maui Hybrid and having Web as a separate platform folder would improve our dev experience. Ofc this makes sense only for MAUI Hybrid and not for pure MAUI because then you would need to be able to render web UI from XAML.

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    In my Blazor Hybrid video you can just use your Blazor components/pages in a blazor app and share them between the projects with a Razor Class Library. Which is what the issue is looking for. They have fundamentally different startup and middleware at this point.

  • @SamuelSidor

    @SamuelSidor

    10 ай бұрын

    @@JamesMontemagno We currently use this exact approach you describe. I know it is an issue that influence less people than some more general ones with wider reach and prioritizing other features probably makes more sense but still there is this small disappointment because this ticket was for a while tagget in .NET8 roadmap 😢

  • @rickkamp2
    @rickkamp210 ай бұрын

    Nice haircut!

  • @andrekohler5792
    @andrekohler579216 күн бұрын

    Where did that gorgeous hair go?

  • @vencislavvidov
    @vencislavvidov10 ай бұрын

    new hairstyle:)

  • @lixiang3631
    @lixiang36319 ай бұрын

    how about flutter

  • @EdRawrDev5813
    @EdRawrDev581310 ай бұрын

    Diosito please give us solidness 💜📱

  • @dotnetdevni
    @dotnetdevni10 ай бұрын

    Is James singing up to the army or something , or is he putting a ring on that wifes finger possibly ? Good to see the beard gone mate lol but god go clean shaving dude lol

  • @istuart0
    @istuart010 ай бұрын

    That's better James, before you looked like you had a comb-over!!!

  • @dmzone64
    @dmzone6410 ай бұрын

    I thought you mean your hair!!!!!

  • @EvilGenius2909
    @EvilGenius290910 ай бұрын

    This is funny how my comments about JetBrains Rider are disappeared :)

  • @dudley810
    @dudley81010 ай бұрын

    Yah!! Where's your HAIR?

  • @johnsilver3804
    @johnsilver380410 ай бұрын

    О, побрився)

  • @ohiorenuaaigboje7500
    @ohiorenuaaigboje750010 ай бұрын

    I am new to Maui, and I am coming from compose and flutter. Can do more videos without using xaml

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    Checkout a good guide here: dev.to/smartmanapps/creating-maui-uis-in-c-1adf with lots of good links

  • @user-ds1sp8wt1u
    @user-ds1sp8wt1u10 ай бұрын

    Ты подстригся и побрился - такой странный стал, я словно смотрю другой канал на те же любимые темы ))))))

  • @matiascasag
    @matiascasag8 ай бұрын

    .NET MAUI for Linux??? I don't think so

  • @ericblankenburg
    @ericblankenburg10 ай бұрын

    Microsoft has several mobile apps in the app stores that were built with React Native. How many Maui apps does Microsoft have? Any? Maui has fallen far, far behind React Native and Flutter in terms of mindshare and market share. Maui / XAML development also feels old and clunky. I can't help but think that Maui is the walking dead. Remember the promises made by Microsoft about Silverlight, before Microsoft pulled the plug? I think Maui we're seeing the same thing with Maui. It's not long for this world.

  • @TVsBen

    @TVsBen

    10 ай бұрын

    I'm interested in and will continue following MAUI but I have a lot of the same reservations. The thing that always kept me from going React Native / Flutter is needing to learn Swift and Kotlin for platform-specific stuff, but I'm getting over that hump. I'm also learning that building UIs with native SwiftUI and Jetpack Compose isn't all that time-consuming.

  • @ericblankenburg

    @ericblankenburg

    10 ай бұрын

    @@TVsBen - I've earned my living with Microsoft technologies since 1993. I love Microsoft. But sometimes they agitate the hell out me. Maui is the latest thing to agitate the hell out of me. Flutter can be used to build native mobile, web, and desktop apps. We should be able to do the same thing with Blazor.

  • @SamuelSidor

    @SamuelSidor

    10 ай бұрын

    For this same reason we use Blazor for UI, because also in case MAUI would die like Silverlight (what theoretically wont happen because it is still opensource) we can migrate to Avalonia or Uno with minimal changes.

  • @JamesMontemagno

    @JamesMontemagno

    10 ай бұрын

    I would watch the session from build - kzread.info/dash/bejne/X2iHrNizd7HAj7A.htmlfeature=shared which Maddy/David share a bunch of internal and external apps and companies building with .NET MAUI. .NET MAUI is new so hard to fall behind, it is only picking up steam and growing steadily.

  • @ericblankenburg

    @ericblankenburg

    10 ай бұрын

    @@JamesMontemagno - I have already seen the video that you referenced. It doesn't answer my question. What technology is Microsoft itself using to build apps for the app stores? As far as I can tell, it's React Native. That tells me a lot. Also, Maui is not really new. It's an upgrade from Xamarin, which has been around a long time. Is Maui's market share growing faster than Xamarin's market share is shrinking?

  • @Denny-yy9lh
    @Denny-yy9lh15 күн бұрын

    You cut your hair short 😀

  • @jandePoreNaire
    @jandePoreNaire10 ай бұрын

    Make your hair great again

  • @lost-prototype
    @lost-prototype9 ай бұрын

    Still no official Linux support and the "community supported" nonsense is a non starter. Any tech that tries to bait me into running Windows and VS is a hard nope as well. MAUI is dead tech walking and I wouldn't bet any part of a business on it. No matter how great and fantastic your teammates are. Give it time, MS will drop it.

  • @omidtavana
    @omidtavana10 ай бұрын

    Thanks for sharing. "dotnet publish -c Release -f:net8.0-android34.0" is not working anymore in the RC update. its preCompiled Error

  • @omidtavana

    @omidtavana

    10 ай бұрын

    I have figured out the issue. It was caused by the MaterialDesignColor. I Issued the bug and I'm waiting for a fix or material design update 😥😥

  • @ryandemboski6313
    @ryandemboski63136 ай бұрын

    hey James, does your Plugin.InAppBilling work with MAUI net8?

  • @JamesMontemagno

    @JamesMontemagno

    6 ай бұрын

    sure does

  • @ryandemboski6313

    @ryandemboski6313

    6 ай бұрын

    @@JamesMontemagno appreciate it :)

Келесі