Digging deeper into the code, let's start at the Startup.cs file. It should have been created by default as in the following code listings, but for the sake of completeness, I have included it here too.
The following using statements should be included in the Startup.cs file:
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection;
The code contained in the Startup file will be the same for you and is generated by default when creating ...