Learning ASP.NET Core: Scaffolding

After I made sure my migrations worked, I decided to make the database content editable straight away. I used Scaffolding to generate the basic layout for my edit / list and details pages. I’ll definitely make lots of changes to these, but they’ll work fine for now. So now I have a bunch of controllers and views to work with. I decided that tinyMce would do for now and added that through bower.

Since i made a class to hold standard page content, I changed the route in my home controller to load that content. It’s currently loaded through a GetPage() method in my home controller that takes the page slug as parameter.

The scaffolding feature is very powerful, and really speeds things up. I’m still not used to Razor however, so this will take time to get used to.


This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *