3 instantiations of MigrationsEndPointOptions
Diagnostics.EFCore.FunctionalTests (1)
MigrationsEndPointMiddlewareTest.cs (1)
92app.UseMigrationsEndPoint(new MigrationsEndPointOptions
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
DatabaseErrorPageExtensions.cs (1)
49app.UseMigrationsEndPoint(new MigrationsEndPointOptions
MigrationsEndPointExtensions.cs (1)
24return app.UseMigrationsEndPoint(new MigrationsEndPointOptions());
10 references to MigrationsEndPointOptions
Diagnostics.EFCore.FunctionalTests (5)
MigrationsEndPointMiddlewareTest.cs (5)
81var path = useCustomPath ? new PathString("/EndPoints/ApplyMyMigrations") : MigrationsEndPointOptions.DefaultPath; 161var response = await server.CreateClient().PostAsync("http://localhost" + MigrationsEndPointOptions.DefaultPath, formData); 193var response = await server.CreateClient().PostAsync("http://localhost" + MigrationsEndPointOptions.DefaultPath, formData); 222var response = await server.CreateClient().PostAsync("http://localhost" + MigrationsEndPointOptions.DefaultPath, formData); 262await server.CreateClient().PostAsync("http://localhost" + MigrationsEndPointOptions.DefaultPath, formData));
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (5)
DatabaseErrorPageOptions.cs (1)
19public virtual PathString MigrationsEndPointPath { get; set; } = MigrationsEndPointOptions.DefaultPath;
MigrationsEndPointExtensions.cs (2)
16/// Processes requests to execute migrations operations. The middleware will listen for requests made to <see cref="MigrationsEndPointOptions.DefaultPath"/>. 33public static IApplicationBuilder UseMigrationsEndPoint(this IApplicationBuilder app, MigrationsEndPointOptions options)
MigrationsEndPointMiddleware.cs (2)
23private readonly MigrationsEndPointOptions _options; 34IOptions<MigrationsEndPointOptions> options)