.NET 6 MAUI & Blazor Android App 🚀 Getting Started / First Look

preview_player
Показать описание
---

Table of Contents:
00:00:00 .NET 6 MAUI & Blazor Android App
00:03:53 Requirements: Download Visual Studio 2022 Preview
00:04:31 Requirements: Install "Mobile development with .NET"
00:06:27 Create a .NET MAUI App
00:15:48 Quick Debugging Test
00:16:27 Quick Look at Hot Reload in a .NET MAUI Application
00:18:02 Create a .NET MAUI Blazor Application
00:23:54 Closing Words

🙏MANY THANKS TO THESE LOVELY PEOPLE:
FastTrak
Bruce Grodnik
Denny Jacob
Alain Legrand
Tony Gorham
Jim McNeal
Dan Moyer
Kieron
@mgrainger231
Gerrit Esmeijer
Axel
Kareem Skinner
Joaquim
Per Rieland
@prodrigu75
Greg
Brendan Maunder
Stageoner
Andrew Campbell
pascalditzfeld
PovilasSimanskas
Ameet Jayawant
jenö
Marco Otilli
Mark
l33ter
alibux
Luke Vincent
mrcl
Thomas Werner
István Csibor
Grant Burdon
@gianluigiconti
Gerrit Esmeijer
Illia
Németh-Pók István
Michael Mel
Marko Zdilar
GerryB
@DADA_universe
Domen Hren
@heroesch
Carey
Peter De Tender
Baris Keskin
@Big_Bear_27390
Mathias
walter e watkins
Günther Dassel
Axel
Josh
Daniel Huber
Fredric Adell
Juan Carlos
Manolis
Pajani
P.
Jonas Granlund
Bobby
Kristina
@xamarin007

#DotNet #Blazor #PatrickGod
Комментарии
Автор

Hi Patrick, yes please! I would like to see more content of yours regarding MAUI. I think it is an extremely interesting technology and worth looking into it deeper. Thanks in advance for considering it.

axelfricke-delia
Автор

Was waiting for this, good stuff Patrick

broadshare
Автор

So if you do Blazor: it has support for Progressive Web Apps and e.g. android has support for PWA as well. The key point here is: you are free to mix native app implementation (MAUI) with Web Applications (Blazor) and hence reuse your assets. I assume that MAUI has a much better device support enabled. So some things you want to do on a device will only work well with MAUI. But you will most likely want to implement many of the UI stuff in Blazor / other web tech so it is reusable in the browser. This way the approach is reasonable. By the way: if you want more detailed information what is happening in VS, open the output Windows. There is a ton of logging ongoing, and from that you can learn why sometimes stuff fails, and also why something is executing slowly.

nothingisreal
Автор

Every time I watch the Microsoft demo for this, I wonder who it is for. Is it for someone with an existing Blazor web application that wants a cheap way to get "native" mobile apps? If so, it would be interesting to see you take your bookstore ecommerce Blazor app and make a mobile app from it. How much extra work would you end up doing? Is it easier to just create a native Maui (non-Blazor) app and call the Blazor server APIs? I know on the iPhone side there's a real stigma to web view type apps since native inputs, keyboards, etc. don't work quite the way native apps do. I'd really like someone to give some guidance on what types of apps work best with each framework.

billnalen
Автор

What about doing it the other way round? Building a mobile app which then would be used as a website?

electrocatalyst
Автор

Hi Patrick please More video on Maui Blazor crud samples

dhirenpathak
Автор

hi, thanks for the video. can you record a video on how to transfer files to the server and download them using blazor wasm or maui? because what is written in the documentation consumes a lot of memory and does not return it. no one has these videos!

Saveaaa
Автор

I came across you on Udemy. Absolutely amazing fun to build Blazor Battle. I have used what I learned to start working on a personal project and injected new learning. Thank you!

DanijelJames
Автор

@Patrick God
when you will going to lauch the course on the udemy

teamrospl
Автор

Hey Patrick !! how we can include "Android.Content.Context " in the class library added to the
Maui Blazor App ? When I include this namespace, it is throwing error: The type or namespace name 'Android' could not be found (are you missing a using directive or an assembly reference?

Swarajcookingnfun
Автор

Hi Patrick, is it possible to add identity to a Blazor MAUI project ?

jamesscott
Автор

It's been a while since I last ran the Android emulator through another development IDE, but I don't remember it ever being very speedy. Having an i5 processor and running in Debug mode might have also slowed things up a bit. I'm sure that Microsoft will be doing a lot of optimization before it ships a production ready version of MAUI. I'm still wondering how all the technologies will meld. Ideally I'd like to keep the XAML to a minimum and just depend on Razor and hopefully MudBlazor for styling the UI. As always thanks for the video.

oncalldev
Автор

Patrick, A good and timely presentation! I downloaded VS2022 Preview this weekend and am exploring how to make a native Windows Application using Blazor Hybrid template-- Like you did in the last 10 minutes of this video. But, instead of a targeted native Android app, I am targeting a native Windows app.

I did WPF app development about 9 years ago, and WinForms years before that. I thought, nice, this may be a technology stack I can use to create a Windows app, and use the same Blazor components used in a Web Assembly or Web Hosted Blazor application.

But here's my problems, and perhaps you, or some other readers here can comment.

1) The native windows app appears to be like a Windows Store app. I cannot figure out how to start / run the application from a command line. (Like I can with a WPF app.) The generated app appears in my Windows recently added application items and I can click on the icon and the application starts. Cool, to a point---

2) Which brings me to problem #2. With a WPF or WinForms app, I can run from the command line and pass startup arguments to the application. If the only way to start the application is from the Windows start menu item, I don't see how it's possible to pass in arguments when the app starts.

In WPF, I can start a WPF application to run in hidden mode or no UI window, and the application works using passed in command line arguments. At least that's how I recall it could work-- it's been eight years since I've done WPF applications. I don't know if doing this is possible with a Blazor Hybrid windows targeted application.

3) How the heck do I share the generated app? Fine that the application is installed on my development box. I've tried using the Publish from Visual Studio 2022 to publish the app. Looks like Visual Studio creates some type of package file in a target folder. I don't know how I can give that package file and instructions to someone, "Here do this, and my wonderful app with counter and fetch data will be installed on you machine.", lol

danmoyer
Автор

can you make us a full course in .n net maoui like the course of blazor when you build a simple app pass throw some basics ? thank you

devdev-mrng
Автор

Hi Patrick when you will be create a course in udemy about net maui blazor app

dfmf
Автор

Pls keep it up i would like to learn MAUI right now im at FLUTTER tutorials stuck for cross platform development.

darkogele
Автор

Patrick, I'd like to know if you'll ever make videos on creating Blazor Server apps with Dapper.

jamesscott
Автор

Hello Patrick
can u please create MAUI Blazor Login System and Login Flow within App.

sachindrasangal
Автор

Yes, create a 2, 000 hour (smile) Master course that is comprehensive with both Blazor side as well as XAML (native) side, mix and match.

brotherbill
Автор

Hey Patrick thank you so much for the intro, can i ask you to make the blazor ecommerce in MAUI Blazor. That would help a lot of people looking to make mobile application who have already watched your blazor tutorial.

blank