I created a .Net 5 Web Api project. The Startup.Configure method looks like
Startup.Configure
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {