Confused about how to use Microsoft.AspNetCore.SystemWebAdapters while trying to port from old asp.net website to new asp.net core webapp I followed following things,