Relative Content

Tag Archive for c#asp.net-core-mvc.net-core-3.0

Update .NET Core from 2.2 to 3.0 – Endpoint Routing not working

Application is an ASP.NET Core 3.0 MVC web app with razor pages and some controller functions. After updating to 3.0, the razor pages work fine, but I’m not able to access my MVC endpoints. When I attempt to access an endpoint, I’m seeing the html of the login screen sent back instead of the desired data structure. This was working in ASP.NET Core 2.2.

Update .NET Core from 2.2 to 3.0 – Endpoint Routing not working

Application is an ASP.NET Core 3.0 MVC web app with razor pages and some controller functions. After updating to 3.0, the razor pages work fine, but I’m not able to access my MVC endpoints. When I attempt to access an endpoint, I’m seeing the html of the login screen sent back instead of the desired data structure. This was working in ASP.NET Core 2.2.