Mastering .NET 8 Blazor Cookie Authentication & Authorization with Individual Accounts! 💻🚀

  Рет қаралды 8,914

Netcode-Hub

Netcode-Hub

Күн бұрын

Are you looking for Coding Mentoring? If you're seeking personalized guidance and mentoring for your coding journey, then get in touch!. I offer expert guidance and support to help you level up your programming skills. Contact me on business.netcodehub@gmail.com to book a session and accelerate your coding career.
/*Get Source Code From GitHub*/
github.com/Net...
Here's a follow-up section to encourage engagement and support for Netcode-Hub:
🌟 Get in touch with Netcode-Hub! 📫
🔹 GitHub: (github.com/Net...) 🌐
🔹 Twitter: ( / netcodehub ) 🐦
🔹 Facebook: ( / netcodehub ) 📘
🔹 LinkedIn: ( / netcode-hub-90b188258 ) 🔗
🔹 Email: [business.netcodehub@gmail.com]📧
☕️ If you've found value in Netcode-Hub's work, consider supporting the channel with a coffee!
🔹Buy Me a Coffee: (www.buymeacoff...) ☕️

Пікірлер: 40
@bocarmg3832
@bocarmg3832 7 ай бұрын
MASTER 🙏🙏. You make it so simple to understand, that's so high, thanks 👍🏽
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Thanks 😊
@bocarmg3832
@bocarmg3832 7 ай бұрын
I have a question 😁, I would like to know if this authentication method is usable for the whole project (client and server side)? i.e. no need for an API endpoint for authentication(client side)like implementing another API endpoint for the client too? Thanks in advance 🙏
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Yes, this works for the server and client.
@bocarmg3832
@bocarmg3832 7 ай бұрын
@@Netcode-Hub thanks 🙏🙏🙏🙏 so much
@MrFEMGM
@MrFEMGM 7 ай бұрын
It is an excellent video. It allowed me to understand several important concepts. Thank you.
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Glad it was helpful!
@user-vi7xn1tj9f
@user-vi7xn1tj9f 5 ай бұрын
Thanks for such descriptive video and complete functional code. I cloned the solution from the github repo, however on mac I do not have sql server available easily. So I modified the code to cater for sqlite database instead, and it worked like a charm!
@Netcode-Hub
@Netcode-Hub 5 ай бұрын
😃
@keithjairam8452
@keithjairam8452 7 ай бұрын
Great content
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Thanks
@tofansahra-kb7rv
@tofansahra-kb7rv 6 ай бұрын
Thank you.
@Netcode-Hub
@Netcode-Hub 6 ай бұрын
Welcome 🤗
@gilbert3546
@gilbert3546 7 ай бұрын
Great video man. Can you make a video about interceptors? A class where all the request are going through and set token as a header for every request. Can i store acces_token in claims to use for my request?
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Check the playlist Have a covered video made
@dp-bhatt
@dp-bhatt 2 ай бұрын
Thank you for the video. I have individual account cookies for the render mode auto exactly as shown in this video. There are also a few controllers on the server project that are being consumed by the client HttpClient. I tried to put [Authorize (Roles ="Administrators")] on the API controllers but that didn't work. Do I need to configure different authentication schemes for the API controllers and razor pages? Are there any resources you have created?
@Netcode-Hub
@Netcode-Hub 2 ай бұрын
But do you have that role in place? Authentication is set once and can be used anywhere . Make sure your authentication persists in component state when going to the client .
@golljhjkahsdah2817
@golljhjkahsdah2817 7 ай бұрын
nice
@Netcode-Hub
@Netcode-Hub 7 ай бұрын
Thanks 😊
@ThatKevinGrigsby
@ThatKevinGrigsby 5 ай бұрын
Great video. 1 Question. Where/how would I add custom claims to list?
@Netcode-Hub
@Netcode-Hub 5 ай бұрын
When preparing the claims to persitAsJson in server project, this where you add all your claims and retrieve them in the client .
@klondikexx2831
@klondikexx2831 6 ай бұрын
For some reason, which I can not figure out, when I use the Blazor wep app template and choosing Interactive render mode Auto(Server and WebAssembly) the template don't create two projects, it does not create the client project. did they change the template or something ?
@Netcode-Hub
@Netcode-Hub 6 ай бұрын
Change project folder location , shorten the project name… it might be too long , it might work
@klondikexx2831
@klondikexx2831 6 ай бұрын
@@Netcode-Hub Yeah I figures out my project name was to long. I never seen that before.
@Netcode-Hub
@Netcode-Hub 6 ай бұрын
Keep it in mind next time
@sebastian.cardozo
@sebastian.cardozo 5 ай бұрын
Thank you very much for your videos, I had a marathon of them but I am facing a problem :( .I need MainLayout to be interactive, it works correctly until I use the "Account" pages, it is because they need a HttpContext and lose interactivity (This is explained in AccountLayout). How can I keep the interactivity of MainLayout? Can you help me please?
@Netcode-Hub
@Netcode-Hub 5 ай бұрын
Thanks 🙏 Why do you wanna make the layout interactive
@sebastian.cardozo
@sebastian.cardozo 5 ай бұрын
@@Netcode-Hub because I want to use NavGroup in my NavMenu and they do not expand. I also want to be able to use the button to change the theme located in the AppBaar, also a button to expand and hide the NavMenu.Thanks to you, sorry for my English.
@sebastian.cardozo
@sebastian.cardozo 5 ай бұрын
@@Netcode-Hub because in the appBar I want to keep working the button to change the theme, also the button that expands the NavMenu, also the NavMenu groups (NavGroup) are not expanded in the "Account" pages. Help me pls.
@sebastian.cardozo
@sebastian.cardozo 5 ай бұрын
@@Netcode-Hub because in the appBar I want to keep working the button to change the theme, also the button that expands the NavMenu, also the NavMenu groups (NavGroup) are not expanded in the "Account" pages. Help me pls. :(
@philipquarles4679
@philipquarles4679 2 ай бұрын
I need this to work on Azure. Have you tried deploying this to Azure?
@Netcode-Hub
@Netcode-Hub 2 ай бұрын
Not yet
@philipquarles4679
@philipquarles4679 2 ай бұрын
Thank you for your prompt response. I will check back from time to time to see if that changes. All the best. Phil
@Netcode-Hub
@Netcode-Hub 2 ай бұрын
@philipquarles4679 sure 😃
@LYRIPLAY
@LYRIPLAY 9 ай бұрын
can you create for razor pages instead of blazor
@Netcode-Hub
@Netcode-Hub 9 ай бұрын
With .NET 8. Blazor with individual account ?
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 34 МЛН
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 66 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 62 М.
Learn Blazor: Build an Inventory Management System in .NET 8
2:17:34
React and ASP.NET Core Identity Authentication
32:16
Coding with Tom
Рет қаралды 15 М.
Blazor Authentication with JSON Web Tokens
31:19
Coding Tutorials
Рет қаралды 9 М.
8 Free and Open Source Blazor UI Libraries
9:42
Claudio Bernasconi
Рет қаралды 39 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН