The final part in our multi-post tutorial on using WebApi with Entity Framework Core. This week we're doing a little refactoring to add our Join table, Shadow Properties and the ability to Seed the database from a series of json files.
The penultimate part in our multi-post tutorial on using WebApi with Entity Framework Core. This week we'll be adding our Character class and service, a Character controller, a little refactoring, and creating POCOs for our Book and Character models
The second part in our multi-post tutorial on using WebApi with Entity Framework Core. This week we'll be adding an initial database migration, adding some seed data, building a Book service, and returning book JSON data in our Book controller
The first part in our multi-post tutorial on using WebApi with Entity Framework Core. This week we'll go through the data model design, the directory structure we'll be using for out code, and what we actually hope to achieve with this project.
Sometimes you just want to build a website with strong separation of concerns - that's where the MVC model can help. This week we build an MVC application, go through what an MVC application is (covering separation of concerns, too), where you might use one, and what some of the most important configuration options are and where to find them.
In this post, I take you through how to add Entity Framework Core to a .NET Core application, how the built in .NET Core Dependency Injection system works, and how to run queries against a DbSet.