Login Flow .Net MAUI by Abhay Prince
ฝัง
- เผยแพร่เมื่อ 23 ก.ย. 2024
- How to create/implement Login Flow in .Net MAUI
Login page will not show any tabs or flyout menus
Get Free Source Code itechoverflow.c...
If you like my work and want to support me, buy me a coffee www.buymeacoff...
Checkout my other .Net MAUI videos
Animated Accordion in .Net MAUI - • Animated Accordion in ...
Device Orientation in .Net MAUI - • Device Orientation .Ne...
Data Template Selector in .Net MAUI - • Data Template Selector...
TH-cam Main Page UI using .Net MAUI - • Build TH-cam UI using...
Custom Flyout Menu Left Navigation - • Custom Flyout Menu in ...
Animated Floating Action Button Menu .Net MAUI - • Animated FAB - Floatin...
Realtime Chat App using Blazor WASM and SignalR - • Realtime Chat App Blaz...
BMI Calculator App using .NET MAUI - • BMI Calculator .Net MAUI
#netmaui #dotnet #dotnetmaui #maui #netmauihowto #dotnetmauicourse #dotnetmauitutorial #mauitutorial #dotnetmauiproject #blazor #netmauiblazor #blazorhybrid #mauiblazor #dotnetmauiblazor #blazorhowto #abhayprince
If you like my work and want to support me, buy me a coffee www.buymeacoff...
Gorgeous explanation. Helped me to understand app flow and DI in MAUI. Thx buddy! Working on .NET 8 MAUI
I really like your video , it was very well explained and the image quality was great , keep up the good work and hopefully one day there will be a video on apis for this type of login flow ?
Very well explained. I am having problems with menus will try this way to see if it works properly.
Amazing, works in .Net 8.0, greatings from Mexico
Thank you for the excellent presentation. explained in a simple way so very easy to understand the concept.
Thanks a lot mate, very helpful, good explanations, would be great to have a sign in video tuto as well as default for login.
It is working perfectly. Your code is clear, powerful and elegant, thank you very much
Thank you, good sir. Perfecly explained.
Awesome, Explanation is very simple and very smart way, thanks
thanks man you saved me from a headache
No problem
Thank you for this very clear explanation. It is very easy to understand and works perfect!
Thx, works like a charm !
Gorgeous explanation, But i need use Mainpage = appshell after login and login not in appshell How can it,if you need to access to my project tell me to give you uri, I applied what you said in the video but it didn't work for me
hello i love your videos because they are really helpful
Prefixing the shell route with // (double slash) when navigating, should remove the Return button. If this new page is not added in AppShell.xaml, then you need to register this page route in AppShell.xaml.cs using
Routing.RegisterRoute(...) method.
If you still have query let me know, I will try my best to answer it. It would be great if you could share this github code link so that I can take a look at the code and then assist you.
Happy coding
All the best,
I have problems with DI, I have several services Injected, but when I navigate from Login (ShellContent) to Main page (Tab) the transient services do not recreate them... seems like they are singleton through the Tab page any idea? how can I refresh the DI on that scene
I have not worked with Tabbed pages. I saw sometimes pages doesnt get disposed and use the same instance if we revisit the pages. But you are saying you are going for the first time, it should create the new instance.
1. You maybe missing something (I can have a look if you can share github repo or something)
2. If you really want to use new instance of the service every time, you can try registering a factory delegate, and invoke it whenever required.
builder.Services.AddSingleton(sp => () => new Service1()):
then inject this delegate
public MainPage(Func service1Factory)
and use it like,
var service1 = _service1Factory.Invoke();
You deserve a like for your video, thank you!
you have some concepts about shell navigation wrong, if you declare your routes and components in shell.xaml file, you don't need register again in code behind file, you only register in code behind those routes who have not been declare in xaml file, to make this routes reachable for the application to navigate manually fron any side of app
Yes, you are right. If the page/route is added in AppShell.Xaml, then no need to explicitly register in in code behind. Its been a long time since I created this video, I dont remember what I have done in this video. I need to revisit.
Thanks for pointing out
@@abhayprince don't worry, the video was great, all content is helpful
@@haroldpepete
Thank you so much! This is awesome!
Thanks buddy, it helped a lot !
Glad it helped!
Thank you so much Sir great tuto like usual can you make how we use sqlLite in the login flow
Hi master, is there a way easy Create Label Click show Field Password in MAUI with MVVM?
Yes, you can just have an observable property of type bool and bind that to the Entry's IsPassword property.
This is cool ,however ,us there a way we can remove the top bar in the login page ? And what if befire login we need the onboarding page ?
You could apply the concepts shown in this video.
1. Removing Topbar from Login - You can set Shell.NavbarIsVisible to False on LoginPage.Xaml or on the ShellContent for LoginPage im AppShell.Xaml
2. Onboarding Page - You can add the OnboardingPage as the first ShellContent in the AppShell.Xaml page
I have a video for Onboarding UI th-cam.com/video/Hh5jCJpuRSI/w-d-xo.html here is the link if you wanna check out
Hello.... this worked when target is .NET 7. I have changed to .NET 8 and even when the GotoAsync inside OnNavigatedTo is called, the other page is not actually shown. What is it going on?
Cant say without looking at the code,
Do you have some github repo, I can check
@@abhayprince I have given you a Github 3 times but always my reply is removed. I don't know why.
I dont know about, I didnot get any notification. Lets try discord, send me link there
@@abhayprince How to do that in discord?
@@abhayprince Is there another way to send you the link?
Great video, I just have a question as to how to keep the user logged in after the app closes when using an actual authentication service, because when I attempted this with Firebase my user gets logged out every time the app closes, your help would be greatly appreciated.
Video for this is coming soon. For this you could store the auth state with token in device storage (preferences or secure storage). and on app open, check if you have the auth state in storage
Can we get the dedicated video to shell routing?
Yes, this is in my list, will upload video soon
hi Master, can you make a video tutorial MAUI Floating Windows Android?
I have not tried it yet, I need to check. Cant say anything without trying to make it first.
Hi master, can you make a video tutorial Show Popup Page MAUI + MVVM + Toolkit.MAUI ?
It's very Difficult with newbie!
Sure
thanks for the effort. thanks in advance..
Thankyou Prince
Good sir
We want project app shopping cart with maui xaml
With carts and Auth and carts and .....
Plz
With api
Plz sir
Will plan a video very soon
@@abhayprince Please
We need This PlayList from A (Login and Register ) toooooo Publish with maui
Plz Sir😘😘😘😘
@@abhayprince
When is the time, sir?
please😘😘😘
We want to start very soon tomorrow or the day after tomorrow this week
Please sir😘😘😘
@abhayprince
Plz Sir when u start Playlist project e.commerce in maui ???
Sir
We want project app shopping cart with maui xaml
With carts and Auth and carts and .....
Plz
With api
Plz sir
Extremely Weird Procedure