Search⌘ K
AI Features

Creating a Console App for Working with EF Core

Explore how to create a console application focused on working with data using Entity Framework Core. Learn to set up a project, interact with the Northwind sample database, and use SQLite as a cross-platform RDBMS. This lesson equips you with hands-on experience managing relational data and understanding key database relationships inside your .NET apps.

Creating a console app

First, we will create a console app project:

Step 1: Use the preferred code editor to create a new project, as defined in the following list:

  • Project template: Console App or console

  • Project file and folder: ...