.net core api with entity framework code example Example: aspnet new api dotnet new webapi -o TodoApi