557 B
557 B
Use SQLite for development, SQL Server for production
When SQLite is selected, the template generated code is ready for development. The following code shows how to select the SQLite connection string in development and SQL Server in production.
The preceding code doesn't call UseDeveloperExceptionPage
in development because WebApplication
calls UseDeveloperExceptionPage
in development mode.