Technical requirements
For the recipes in this chapter, you’ll need the following:
- Git: Make sure you have
Git
installed. - .NET 9 SDK: The .NET 9 SDK is available here: https://dotnet.microsoft.com/en-us/download/dotnet/9.0.
- DB Browser for SQLite: Unlike Chapter 1, where we used the in-memory SQLite provider for EF Core, this chapter will use a real SQLite database that persists to disk. SQLite works with a single file rather than connecting to a server with a connection string. SQLite, due to its simplicity, allows you to concentrate on understanding validation best practices without the extra layers of checks and guardrails seen in databases such as Microsoft SQL Server. It can be helpful to view the database we will be creating with DB Browser for SQLite, which is available here: https://sqlitebrowser.org/.
- A note on mappers: The projects in this chapter use both EF Core and Dapper. Please check the GitHub end projects folder to see the full Dapper versions...