filmov
tv
Blazor Web Assembly authentication with Identity API endpoints in .NET 8
Показать описание
Authorised Territory code examples - This .NET 8 #blazor #tutorial shows how to use identity API endpoints to secure Blazor Web Assembly app with tokens.
First, we create the Blazor Web Assembly app and add Identity API as well as Entity Framework.
We run the migration to create identity tables in the database.
Next, we create razor login and register components.
Instead of using cookies, the identity api uses access token.
Finally, we run the app, fix few issues and demonstrate registration and logging in process.
First, we create the Blazor Web Assembly app and add Identity API as well as Entity Framework.
We run the migration to create identity tables in the database.
Next, we create razor login and register components.
Instead of using cookies, the identity api uses access token.
Finally, we run the app, fix few issues and demonstrate registration and logging in process.