New Blazor Hybrid + .NET MAUI Templates are Incredible! Mobile, Desktop, Web all together!

preview_player
Показать описание
Looking to build mobile, desktop, and web apps all with nearly 100% shared web UI? New Blazor Hybrid templates in .NET 9 give you a single click automatically configured project with .NET MAUI, Blazor, and a razor class library all setup! Let's check them out!

Join this channel to get access to perks:

Follow:

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.

My Setup:

Using links I provide I may receive a commission if you buy something which helps support the channel.

#dotnet #dotnetmaui #blazor #aspnetcore #blazorhybrid
Рекомендации по теме
Комментарии
Автор

this is so exciting. i asked something similar about this on your q and a stream.

ericritter
Автор

OMG - Looks like this now lets Maui be truly cross-platform useful?? Without web it has been too clunky. So excited! I now know what it feels like to be a Swifty that just found out that She is going back on tour! Been asking/wanting this for years.

DE-sfsr
Автор

Having an out of the box example of this with Entra External ID would be one way to really move the whole Blazor/Maui ecosystem more towards mainstream. Being able to more easily build consumer apps with the auth and user store easily workable is critical for getting this to scale. Is needed to make things truly compelling, otherwise the alternatives may seem better.

DE-sfsr
Автор

Woah, did not rcognise you there for a moment - I briefly met you in Birmingham, UK, many years ago in the early days of Xamarin (I think you were introducing Xam Forms, thinking about it). Now you look like you did back then!
I might be coming back to the mobile scene in the next few months on a project, previously I'd have used Xamarin. I guess it's Maui, possibly Maui Blazor hybrid, because I'd want to leverage WPF and Xamarin experience. Just soaking up the various options right now...

RobUttley
Автор

Great video, I have quick question: if I want to use the Microsoft.Maui library can I do it on the Shared project so it can also be rendered on the web project?

kavoku
Автор

Very nice but it should also include a minimal api and authentication & Authorization. Implementing this in such scenario is very complex.

georgeluyckx
Автор

Is there a unified template with authentication?

tofu
Автор

Almost ready for production, just need Linux support now

zoiobnu
Автор

Please allow us to select Blazor WASM Standalone in the Interactive render mode because if we select WebAssembly it creates 4 projects which is pointless if we just need Blazor WASM standalone with no server project. Thx

saroshwadia
Автор

Hi James,
Thanks for this!!
I think there is an issue with this on Mac.
I navigate to an empty folder on my mac. I then run dotnet new maui-blazor-web. Everything builds fine. When I open the solution in Rider and run the MacCatalyst project I get a bunch of errors about paths will result outside the project folder (or something like that). The problem seems to correct itself if you run the web app then try the MacCatalyst app. Sorry I cannot reproduce the exact errors now that it is working.

juliandormon
Автор

Thank you for another great video, I have a question: now how can we protect a page in a web app
and allow anonymous in MAUI app?
Thanks again

albertngoudjou
Автор

FYI - the Amazon Streak Deck link goes to a Page Not Found, and the Blue Pop filter is currently unavailable

DE-sfsr
Автор

which one is better using blazor maui server render mode
or webassembly render??
I saw debate in reddit about why thereis no wasm in maui,
and MS engineer said, server render in .net8 better than wasm render,
wasm limited by host to interact with, is this still relevant in dotnet 9

tlababkary
Автор

I've installed the .net 9 sdk, i rebooted, none of those templates appear

bobbastian
Автор

Hi very interesting, I wanted this kind of template long time ago.
Is there a specific reason that we need dotnet 9, or can we import this template in dotnet 8 ?
thanks ;-)

WahRan-oo
Автор

I managed to develop a Blazor Hybrid app in .NET 7/8, the same architecture. The main difference I wanted was to use normal MAUI tabbed pages in mobile and a different navigation when in web mode. Managed to get that working but still seems a bit hacky, would be interested to see if there was a correct way to that approach.

Atrulable
Автор

Hi James, it’s very cool! But why use that? Only to reuse code or to do not learn xaml? Thank you very much.

salvcri
Автор

How is my live preview visual Tree not working?!

SaveTheHedgehog
Автор

MAUI on mobile works on web view, but it highly vulnerable, suggest or create a new video to show case how to make it secure like native.

Rajeshsingh-wsth
Автор

Does rendermode works inside Shared pages?

the-nasim