AspNetCore.Docs/aspnetcore/includes/RP/model2a.md

10 lines
240 B
Markdown
Raw Normal View History

<a name="cs"></a>
### Add a database connection string
Add a connection string to the *appsettings.json* file.
[!code-json[](../../tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie/appsettings_SQLite.json?highlight=8-10)]