Skip to content

Commit 741c246

Browse files
committed
Add sample for cross-origin aspnetcore identity
1 parent 2dd32b4 commit 741c246

File tree

83 files changed

+75233
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+75233
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@{
2+
Layout = "/Pages/Shared/_Layout.cshtml";
3+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
2+
using Microsoft.EntityFrameworkCore;
3+
4+
namespace cross_origin_aspnetcore_identity.Data;
5+
6+
public class ApplicationDbContext : IdentityDbContext
7+
{
8+
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
9+
: base(options)
10+
{
11+
}
12+
}

cross-origin-aspnetcore-identity/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs

Lines changed: 270 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)