create .net core web api 2019 Cli step by step code example Example: aspnet new api dotnet new webapi -o TodoApi