The image shows app.Run function in the web application you created. You have to replace this function with the one in startup.cs file