Answers for "change dot net core web api routing"

C#
2

change dot net core web api routing

app.UseEndpoints(endpoints =>
{
    endpoints.MapControllerRoute(
        name: "default",
        pattern: "{controller=Home}/{action=Index}/{id?}");
});
Posted by: Guest on November-03-2020

C# Answers by Framework

Browse Popular Code Answers by Language