The code you implemented in startup class is to upgrade to version 3.0 of .Net Core, maybe there's something else missing, but I'll give it a try again with 3.0 asap.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
in Startup.cs add "app.UseRouting();" instead of "app.UseMvc();" and "app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute(
name: "default",
pattern: "{controller}/{action=Index}/{id?}");
});"
That worked for me.
Hi,
Thanks for your comment,
The code you implemented in startup class is to upgrade to version 3.0 of .Net Core, maybe there's something else missing, but I'll give it a try again with 3.0 asap.