JXMovies/CMS/JXCMS.CMS.Movie/ScaffoldingReadMe.txt

13 lines
485 B
Plaintext
Raw Permalink Normal View History

2020-02-09 19:10:05 +08:00
Scaffolding has generated all the files and added the required dependencies.
However the Application's Startup code may required additional changes for things to work end to end.
Add the following code to the Configure method in your Application's Startup class if not already done:
app.UseMvc(routes =>
{
routes.MapRoute(
name : "areas",
template : "{area:exists}/{controller=Home}/{action=Index}/{id?}"
);
});