430 B
430 B
Add a database connection string
Add a connection string to the appsettings.json file.
Register the database context
Register the database context with the dependency injection container in the Startup.cs file.