Тёмный

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

James Montemagno
Подписаться 137 тыс.
Просмотров 49 тыс.
50% 1

.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

Наука

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 123   
@jfversluis
@jfversluis 10 месяцев назад
Can't wait for this one! Both the video and .NET version! 🐒
@hbschiller
@hbschiller 10 месяцев назад
Today I had a colleague asking for some support on some .NET dev and the first person I thought about was you and your RU-vid 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
@aluzza2541
@aluzza2541 10 месяцев назад
The original James is finally back!
@dsuess
@dsuess 10 месяцев назад
The new haircut looks much better. It is the classic james!
@jamesmwangi2491
@jamesmwangi2491 10 месяцев назад
Looking great!!
@mikegrainger8082
@mikegrainger8082 10 месяцев назад
Looking good James.
@ecblanco
@ecblanco 10 месяцев назад
2015 James is back! xD
@the99Raver
@the99Raver 10 месяцев назад
Great haircut! Welcome back!
@kbsanders
@kbsanders 3 месяца назад
Hair looks good 👍
@_jimbarton
@_jimbarton 10 месяцев назад
Aahahaha where'd all the hair go!! Exactly! Love it, thank ya Mr. Monty
@letthemcode7199
@letthemcode7199 9 месяцев назад
Glad the original is back. How about a maui device orientation video? All pages or just some pages and detection
@rushas
@rushas 10 месяцев назад
Wonderful energy! I like it
@JamesMontemagno
@JamesMontemagno 10 месяцев назад
Glad you enjoy it!
@ronistiawan1130
@ronistiawan1130 10 месяцев назад
You looks a lot better🎉
@ArafatTehsin
@ArafatTehsin 9 месяцев назад
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
@harrisonofthenorth
@harrisonofthenorth 10 месяцев назад
Nice hair, James, it's sort of been sinusoidal in length since Xamarin Forms 1.0 !!!
@mailtonithik
@mailtonithik 10 месяцев назад
Hello James, Is it possible to programmatically enable the GPS service in .NET MAUI 8, similar to how it's done in other frameworks?
@alexdodd5175
@alexdodd5175 9 месяцев назад
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.
@mr.phoenix8115
@mr.phoenix8115 10 месяцев назад
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 ?
@leenshim
@leenshim 10 месяцев назад
wow! looking good!!!! 😄
@imasurfa
@imasurfa 7 месяцев назад
the C# shirt yessss. I need to find mine
@stevenparry1448
@stevenparry1448 10 месяцев назад
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
@oidirk
@oidirk 10 месяцев назад
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
@ivcbusinesssystems6613
@ivcbusinesssystems6613 9 месяцев назад
*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!
@sheilainglin863
@sheilainglin863 10 месяцев назад
Wow!!! Look at that clean shaven man!!! 😊😊😊😊😊❤
@muheebar-rahman8294
@muheebar-rahman8294 10 месяцев назад
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?
@kkn385heyahsshshshd
@kkn385heyahsshshshd 10 месяцев назад
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.
@khalil2099
@khalil2099 8 месяцев назад
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 ?
@paulehigie9879
@paulehigie9879 10 месяцев назад
Quick question: Is Maui Blazor app native or its just a wrapper like cordova/ionic
@user-bt3rc2xg8r
@user-bt3rc2xg8r 10 месяцев назад
nice cut man
@soumyadipmajumder3450
@soumyadipmajumder3450 10 месяцев назад
.NET MAUI is the future
@ahmadkelany
@ahmadkelany 4 месяца назад
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.
@khealer
@khealer 10 месяцев назад
I approve the manly look! Plus such easier maintenance.
@hamzaougui6751
@hamzaougui6751 8 месяцев назад
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
@jvetter713
@jvetter713 10 месяцев назад
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.
@Torquemadaaa
@Torquemadaaa 10 месяцев назад
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.
@anjumchauhan6990
@anjumchauhan6990 10 месяцев назад
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 месяцев назад
😢
@runtimmytimer
@runtimmytimer 10 месяцев назад
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!
@olagisrarikis
@olagisrarikis 10 месяцев назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-snQ1C6Cppr8.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.
@skfalpink123
@skfalpink123 10 месяцев назад
Finally !!! . Net 7.0 has been a nightmare of unreliability
@davidburrell4799
@davidburrell4799 10 месяцев назад
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!!!
@AZisk
@AZisk 10 месяцев назад
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!
@harrydang5248
@harrydang5248 10 месяцев назад
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
@jwcodendaal
@jwcodendaal 10 месяцев назад
Haha I have the same shirt. I still rock that too😊
@jwcodendaal
@jwcodendaal 10 месяцев назад
Still got the xamarin monkey too somewhere.
@guyincognito1985
@guyincognito1985 10 месяцев назад
Nice hairs! 💈💇‍♂👱‍♂👍
@JamesMontemagno
@JamesMontemagno 10 месяцев назад
Thank you! Cheers!
@DanielHarrisCodes
@DanielHarrisCodes 10 месяцев назад
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)
@AliHazrat-cm8hq
@AliHazrat-cm8hq 16 дней назад
Nice hai style 😅
@josephl
@josephl 10 месяцев назад
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
@bogdanpavlovic3456
@bogdanpavlovic3456 Месяц назад
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)?
@rickkamp2
@rickkamp2 10 месяцев назад
Nice haircut!
@geo0305
@geo0305 10 месяцев назад
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
@G5STU 10 месяцев назад
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
@dotnetdevni
@dotnetdevni 10 месяцев назад
Right click edit project change 7 to 8 updated ur packages and ur done thats what I have always done
@sandipbhagwatkar6475
@sandipbhagwatkar6475 7 месяцев назад
how to share image and text both in single request
@G5STU
@G5STU 10 месяцев назад
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 ?
@vencislavvidov
@vencislavvidov 10 месяцев назад
new hairstyle:)
@Taki7o7
@Taki7o7 8 месяцев назад
only new thing i noticed is that they once again managed to "deliver" a broken boilerplate :D
@SamuelSidor
@SamuelSidor 10 месяцев назад
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 😢
@user-sy4bq3fk6o
@user-sy4bq3fk6o 10 месяцев назад
does the restaurant food application open source?
@JamesMontemagno
@JamesMontemagno 10 месяцев назад
Is available here: github.com/dotnet/maui-samples/tree/main/7.0/Apps/PointOfSale
@EdRawrDev5813
@EdRawrDev5813 10 месяцев назад
Diosito please give us solidness 💜📱
@johnsilver3804
@johnsilver3804 10 месяцев назад
О, побрився)
@andrekohler5792
@andrekohler5792 23 дня назад
Where did that gorgeous hair go?
@istuart0
@istuart0 10 месяцев назад
That's better James, before you looked like you had a comb-over!!!
@dmzone64
@dmzone64 10 месяцев назад
I thought you mean your hair!!!!!
@lixiang3631
@lixiang3631 9 месяцев назад
how about flutter
@dotnetdevni
@dotnetdevni 10 месяцев назад
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
@dudley810
@dudley810 10 месяцев назад
Yah!! Where's your HAIR?
@EvilGenius2909
@EvilGenius2909 10 месяцев назад
This is funny how my comments about JetBrains Rider are disappeared :)
@ohiorenuaaigboje7500
@ohiorenuaaigboje7500 10 месяцев назад
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
@ericblankenburg
@ericblankenburg 10 месяцев назад
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 - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--4SJvzGNZ_M.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-yy9lh 22 дня назад
You cut your hair short 😀
@user-ds1sp8wt1u
@user-ds1sp8wt1u 10 месяцев назад
Ты подстригся и побрился - такой странный стал, я словно смотрю другой канал на те же любимые темы ))))))
@matiascasag
@matiascasag 8 месяцев назад
.NET MAUI for Linux??? I don't think so
@jandePoreNaire
@jandePoreNaire 10 месяцев назад
Make your hair great again
@lost-prototype
@lost-prototype 10 месяцев назад
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.
@ryandemboski6313
@ryandemboski6313 7 месяцев назад
hey James, does your Plugin.InAppBilling work with MAUI net8?
@JamesMontemagno
@JamesMontemagno 7 месяцев назад
sure does
@ryandemboski6313
@ryandemboski6313 7 месяцев назад
@@JamesMontemagno appreciate it :)
@omidtavana
@omidtavana 10 месяцев назад
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 😥😥
Далее
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
The Future in .NET MAUI | DevReach 2023
57:50
Просмотров 7 тыс.
Telefonu Parçaladım!😱
0:16
Просмотров 29 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 17 млн
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 6 млн