В моем решении для веб-API после перехода с Asp net core 2.2 на 3.0 я изменил код при запуске, как показано ниже:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseRouting();
return app.UseEndpoints(routes =>
{
routes.MapControllerRoute("test", "storage/I{controller}/{action}", null, null);
});
}```
When I hit my endpoints via the tests, I am seeing a 404 Not found.