OrchardCore.Samples icon indicating copy to clipboard operation
OrchardCore.Samples copied to clipboard

fix: added home page to dashboard sample

Open brunoAltinet opened this issue 2 years ago • 3 comments

I've added a nicer homepage that showcases module and admin functionalities after setup is complete

brunoAltinet avatar Dec 04 '23 15:12 brunoAltinet

@agriffard @MikeAlhayek

brunoAltinet avatar Dec 06 '23 17:12 brunoAltinet

Shouldn't you then remove line 40-51 from here then? https://github.com/OrchardCMS/OrchardCore.Samples/blob/main/DashboardApplication/Program.cs

If Page/Index is handled by default that's all you would need. I still need to investigate why can't we define routes in the web project in addition to the area routes.

MikeAlhayek avatar Dec 07 '23 06:12 MikeAlhayek

Shouldn't you then remove line 40-51 from here then? https://github.com/OrchardCMS/OrchardCore.Samples/blob/main/DashboardApplication/Program.cs

If Page/Index is handled by default that's all you would need. I still need to investigate why can't we define routes in the web project in addition to the area routes.

Correct, removed it!

brunoAltinet avatar Dec 07 '23 17:12 brunoAltinet