how to create a new api by using .net core code example
Example 1: aspnet new api
dotnet new webapi -o TodoApi
Example 2: .net api tutorial
"launchUrl": "api/TodoItems",
dotnet new webapi -o TodoApi
"launchUrl": "api/TodoItems",