visual studio 2019 web api tutorial code example Example: aspnet new api dotnet new webapi -o TodoApi