Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

change dot net core web api routing

app.UseEndpoints(endpoints =>
{
    endpoints.MapControllerRoute(
        name: "default",
        pattern: "{controller=Home}/{action=Index}/{id?}");
});
 
PREVIOUS NEXT
Tagged: #change #dot #net #core #web #api #routing
ADD COMMENT
Topic
Name
1+4 =