31 references to ApplicationDbContext
Identity.DefaultUI.WebSite (2)
ApplicationUserStartup.cs (1)
8public class ApplicationUserStartup : StartupBase<ApplicationUser, ApplicationDbContext>
Data\ApplicationDbContext.cs (1)
11public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
Microsoft.AspNetCore.Identity.FunctionalTests (29)
ApplicationUserTests\ApplicationUserAuthorizationTests.cs (2)
9public class ApplicationUserAuthorizationTests : AuthorizationTests<ApplicationUserStartup, ApplicationDbContext> 11public ApplicationUserAuthorizationTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
ApplicationUserTests\ApplicationUserLoginTests.cs (2)
9public class ApplicationUserLoginTests : LoginTests<ApplicationUserStartup, ApplicationDbContext> 11public ApplicationUserLoginTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
ApplicationUserTests\ApplicationUserManagementTests.cs (2)
9public class ApplicationUserManagementTests : ManagementTests<ApplicationUserStartup, ApplicationDbContext> 11public ApplicationUserManagementTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
ApplicationUserTests\ApplicationUserRegistrationTests.cs (2)
9public class ApplicationUserRegistrationTests : RegistrationTests<ApplicationUserStartup, ApplicationDbContext> 11public ApplicationUserRegistrationTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
Bootstrap4Tests\Bootstrap4AuthorizationTests.cs (2)
9public class Bootstrap4AuthorizationTests : AuthorizationTests<ApplicationUserStartup, ApplicationDbContext> 11public Bootstrap4AuthorizationTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
Bootstrap4Tests\Bootstrap4ManagementTests.cs (2)
9public class Bootstrap4ManagementTests : ManagementTests<ApplicationUserStartup, ApplicationDbContext> 11public Bootstrap4ManagementTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
Bootstrap4Tests\Bootstrap4RegistrationTests.cs (2)
9public class Bootstrap4RegistrationTests : RegistrationTests<ApplicationUserStartup, ApplicationDbContext> 11public Bootstrap4RegistrationTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
Bootstrap4Tests\Bootstrap4UserLoginTests.cs (2)
9public class Bootstrap4LoginTests : LoginTests<ApplicationUserStartup, ApplicationDbContext> 11public Bootstrap4LoginTests(ServerFactory<ApplicationUserStartup, ApplicationDbContext> serverFactory) : base(serverFactory)
MapIdentityApiTests.cs (13)
169services.AddDbContext<ApplicationDbContext>((sp, options) => options.UseSqlite(sp.GetRequiredService<SqliteConnection>())); 170services.AddIdentityCore<ApplicationUser>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>(); 244services.AddDbContext<ApplicationDbContext>((sp, options) => options.UseSqlite(sp.GetRequiredService<SqliteConnection>())); 245services.AddIdentityCore<ApplicationUser>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>(); 329services.AddDbContext<ApplicationDbContext>((sp, options) => options.UseSqlite(sp.GetRequiredService<SqliteConnection>())); 330services.AddIdentityCore<ApplicationUser>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>(); 592await using var app = await CreateAppAsync<ApplicationUser, ApplicationDbContext>(services => 625await using var app = await CreateAppAsync<ApplicationUser, ApplicationDbContext>(services => 627AddIdentityApiEndpoints<ApplicationUser, ApplicationDbContext>(services); 1329=> AddIdentityApiEndpoints<ApplicationUser, ApplicationDbContext>(services); 1338.AddDbContext<ApplicationDbContext>((sp, options) => options.UseSqlite(sp.GetRequiredService<SqliteConnection>())) 1340.AddEntityFrameworkStores<ApplicationDbContext>() 1345=> CreateAppAsync<ApplicationUser, ApplicationDbContext>(configureServices);