I am bilding a Web server but i have to typ in update-database how can i automate this in Blazor in the Program.cs file. Im srry i cant be more specific because im new in this kind of stuff. The tutorial i watch is just outdated the code changed a bit. Tanks for your time and helping. In the tutorial https://www.youtube.com/watch?v=JeLnR_ObHd8&t=4624s on 1:16:57 - 1:17:17 and i have the most recent Version of Microsoft Visual Studio if u also have it and it looks like that:
var app = builder.Build();
// Configure the HTTP request pipeline. if (app.Environment.IsDevelopment()) { app.UseMigrationsEndPoint(); } else { app.UseExceptionHandler("/Error"); app.UseHsts(); }