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