mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
初始化webSite
This commit is contained in:
12
Examples/website/FreeSql.Site.UI/ScaffoldingReadMe.txt
Normal file
12
Examples/website/FreeSql.Site.UI/ScaffoldingReadMe.txt
Normal file
@ -0,0 +1,12 @@
|
||||
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?}"
|
||||
);
|
||||
});
|
Reference in New Issue
Block a user