ASP.NET User Roles - Create and Assign Roles for AUTHORIZATION!

preview_player
Показать описание
🔥 Want to know how to give your ASP.NET App Users Roles? This is the video!

We'll make sure to turn you into a true developer in no time!

Timestamps:
00:00 Introduction
00:25 What are we going to make?
01:44 Add the roles
03:04 This one is for you!
03:30 preparing our application to handle user roles
18:50 Testing the final app
19:00 Thanks for watching!

ASP.NET User Roles - Create and Assign Roles for AUTHORIZATION!

So, what is C#?
C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.
C# is an object-oriented, component-oriented programming language. C# provides language constructs to directly support these concepts, making C# a natural language in which to create and use software components. Since its origin, C# has added features to support new workloads and emerging software design practices. At its core, C# is an object-oriented language. You define types and their behavior.

And what is ASP.NET?
ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies.

And what is Identity?
Is an API that supports user interface (UI) login functionality.
Manages users, passwords, profile data, roles, claims, tokens, email confirmation, and more.
Users can create an account with the login information stored in Identity or they can use an external login provider. Supported external login providers include Facebook, Google, Microsoft Account, and Twitter.
The Identity source code is available on GitHub. Scaffold Identity and view the generated files to review the template interaction with Identity.
Identity is typically configured using a SQL Server database to store user names, passwords, and profile data. Alternatively, another persistent store can be used, for example, Azure Table Storage.

To learn more, make sure to watch the video, and we promise you that you'll become a better developer by the end of the video! Have fun!

And thank you LAKEY INSPIRED for these amazing songs that we use in all our videos! @LAKEYINSPIRED

#csharp #coding #tutorial #learn #microsoft #net #register #roles #authentication

TAGS

TutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

Рекомендации по теме
Комментарии
Автор

Short, compehensive and straight to the points i was looking for. Thank you!

sandrakyoutube
Автор

Awesome man, I spent hours with the Microsoft tutorial and other videos. In 19 minutes you have me up and running. Thank you!

willdavis
Автор

You saved my day, thank you a lot! I was reading a lot of documentation and no one was so clear and hands on like your video. Now it's working perfect. If you can, please create a video teaching how to create a page to manage roles, manage user roles, manage users. If you want, I'm planning to create this in the next days, so we can talk about this together. THX for all !!!

ViniciusBilieri
Автор

Been searching a few days for exactly this, thank you so much for posting this video!

sharonroy
Автор

Loved it! Exactly what I was looking for. Thank you for the great content.

thedanielspindler
Автор

Thank you so much, it worked after I attempted so many videos here on YouTube.

sibabalonjisane
Автор

This is one of the best tuts for ASP Core I found, thank you!

TheMoviesManX
Автор

I congratulate you for helping a young developer who has been struggling with this for weeks! I implemented your method in my solution and it works like a charm!!!

clems
Автор

Thank you for this turtorial. Saved me a lot of time!

Laffendo
Автор

Thank you very much! Great tutorial :D

feketeadrian
Автор

Hi! My code worked! You got me to subscribe as well! I usually struggle to find videos that help and your video really helped me out! I love the way you explain your code as well. Not information overload but straight to the point. Thank you!!

HELLFRE
Автор

Thank you so much. This saved my whole day❤

utens_g
Автор

Thanks for making this tutorial, great explanation. I was reading the documentation and this gives me better understanding of the implementation <3

ordinaryBrownDad
Автор

I wouldn't believe that was that easy! Thanks!!!

motovlog
Автор

Thank you very much! Very good explanation. Everything works. Cool!

cpcyuyb
Автор

Thank you much, You saved me hours of worries.

kingsley
Автор

Thank you for this clean expression, saved my hours <3

buwo_
Автор

What do you think of seeding the password in clear text is that a problem? Can it get exposed e.g. in version control? How to inject the password on compilation for instance?

lassemunktechnerd
Автор

Thank you for this, great information. Could this similarly be accomplished by adding a row to the existing aspnetusers tabled called "roles"?

xeebodog
Автор

Wouldn't it be fine using inly one scope instead of two?

Holsp