aspdotnet_mvc_advanced_task.md - brainchildservices/curriculum GitHub Wiki

Slide 1

  • Add an Acion method 'Create' in Home controller. Build a Create page view. Acess your new Create page by https://localhost:5001/home/create.

  • Add a StudentsController controller and Create its Respectine view pages.

    • add Create,Edit, Details, Delete action methods in StudentsController.
    • add Respective View for each action methods.
    • check every Page working.

Slide 2

Migration Task Refer

  • Find out Connection string and setup the connection string in your Project.
  • Create a StudentDbContext.
  • Create a Migration named InitialMigration.
  • then Update database and check whether Database and tables are created successfully using SSDM(SQL Server Management Studio) or Visual Studion, or VS code SQL server plugin.

image