Skip to content

Commit e18ec38

Browse files
authored
Merge pull request #381 from anurag1302/net8.0
Authentication - Identity - .Net 8
2 parents 7482065 + 3e1e4fa commit e18ec38

14 files changed

+970
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Greetings from Cairo, Egypt. You can [sponsor](https://github.com/sponsors/dodyg
1313

1414
| Section | | |
1515
| ----------------------------------------------------------------------- | --- | ---------------------------------------------------------------------------- |
16-
| [Authentication](/projects/authentication) | 4 | |
16+
| [Authentication](/projects/authentication) | 5 | |
1717
| [Blazor Client Side (Web Assembly)](/projects/blazor-wasm) | 22 | .NET8 (WIP), Components, Data Binding |
1818
| [Blazor Server](/projects/blazor-ss) | 16 | Localization |
1919
| [Blazor Server Side Render](/projects/blazor-ssr) | 22 | |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using Microsoft.EntityFrameworkCore;
2+
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
3+
4+
public class ApplicationDBContext:IdentityDbContext<ApplicationUser>
5+
{
6+
public ApplicationDBContext(DbContextOptions<ApplicationDBContext> options)
7+
: base(options)
8+
{
9+
}
10+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using Microsoft.AspNetCore.Identity;
2+
3+
public class ApplicationUser : IdentityUser
4+
{
5+
6+
}

projects/authentication/authentication-5/Migrations/20240301175333_Init.Designer.cs

Lines changed: 267 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)