Lynda.com is now LinkedIn Learning!

To access Lynda.com courses again, please join LinkedIn Learning

All the same Lynda.com content you know and love

Plus, personalized course recommendations tailored just for you

Get LinkedIn Premium features to contact recruiters or stand out for jobs

Try LinkedIn Learning for free
Questions? Visit our help center.
Skip navigation

Create the controller

Create the controller: Learning Entity Framework Core
Create the controller: Learning Entity Framework Core

Learn how to add an MVC controller that uses EF to query and save data. Find out that the controller takes a context as a constructor parameter. ASP.NET dependency injection will take care of passing an instance of context into the controller. The controller contains an Index action, which displays all actors in the database, and a create action, which inserts a new actor into the database.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 35m
Duration
72,761
Views
Show More Show Less

Q: This course was updated on 06/23/2017. What changed?

A: The following topics were updated: using the exercise files; Mac install prerequisites; Entity Framework on Mac, part 1; and Entity Framework on Mac, part 2.

Skills covered in this course
Developer Web Web Development Entity Framework

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to access your learning content.