I created a new .NET Core Web Application from Visual Studio and I got this piece of code generated in startup class:
if (env.IsDevelopment())
{
// ***
app.UseMigrationsEndPoint();
// ***
}
What actually does this line app.UseMigrationsEndPoint()?
The official docs are not helpful at all:
Processes requests to execute migrations operations. The middleware will listen for requests made to DefaultPath.
What's the default path? What to POST to it? What will it actually execute? Does it have any optional parameters? Is it protected somehow?