What app.UseMigrationsEndPoint does in .NET Core Web Application Startup class

This app.UseMigrationsEndPoint() is actually a very handy tool in development. As we develop, we add entities to the db context, or modify ones we have. We run dotnet ef migrations add <NameOfMigration> as usual, and that would generate migration files. I personally would typically run dotnet ef database update when the migrations add command succeeds. … Read more

HTTP Error 500.30 – ASP.NET Core 5 app failed to start

There may be a few reasons behind the error which you can only identify by debugging. You can try to debug this error using the steps below: Navigate to the root directory of the application using CMD Run the application using the command dotnet run (yourApplicationName).dll If there are any errors, they should appear in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)