Consider the following code in the configure method of the startup class :
app.UseMvc(routes => { routes.MapRoute(name: "default", template: "{controller=Product}/{action=List}/{id?}"); } );
this code work, but if i separated controller and the equal sign with a space i get error ,for example like so:
app.UseMvc( routes => { routes.MapRoute(name: "default", template: "{controller = Product}/{action=List}/{id?}"); } );
>> Status Code: 404; Not Found
should i submit a bug report ?