asp.net core web api entity framework visual studio 2019 code example Example: aspnet new api dotnet new webapi -o TodoApi