Building Your First API with ASP.NET Core 2
In this course you'll learn how to build an API with ASP.NET Core that connects to a database via Entity Framework Core from scratch.
What you'll learn
Hello! My name is Kevin Dockx, and welcome to Building Your First API with ASP.NET Core 2. In this course, you will learn how to build an API with ASP.NET Core that connects to a database via Entity Framework Core. You will get there by covering major topics like getting resources from services and manipulating them, the built-in dependency injection system & logger, working with different environments, configuration files and middleware, and Entity Framework Core related features like working with migrations and seeding the database. By the end of this course, you will be able to build an API from scratch with ASP.NET Core. Before you begin, make sure you are already familiar with C#. I hope you’ll join me, and I look forward to helping you on your learning journey here at Pluralsight.
Table of contents
- Coming Up 1m
- Middleware for Building an API 1m
- Clarifying the MVC Pattern 3m
- Demo: Adding the ASP.NET Core MVC Middleware 3m
- Demo: Returning Resources (Part 1) 3m
- Demo: Returning Resources (Part 2) 3m
- Learning About Routing 4m
- Demo: Returning Resources (Part 3) 3m
- Demo: Improving the Architecture with Model Classes 7m
- The Importance of Status Codes 3m
- Demo: Returning Correct Status Codes 5m
- Demo: Returning Child Resources 7m
- Demo: Working with Serializer Settings 2m
- Formatters and Content Negotiation 2m
- Demo: Formatters and Content Negotiation 3m
- Summary 2m
- Coming Up 1m
- Introducing the Repository Pattern 2m
- Demo: Introducing the Repository Pattern 7m
- Demo: Returning Data from the Repository When Requesting Resources 10m
- Demo: Using AutoMapper to Map Between Entities and DTOs 9m
- Demo: Creating a Resource 6m
- Demo: Updating a Resource 4m
- Demo: Partially Updating a Resource 3m
- Demo: Deleting a Resource 3m
- Summary 3m
ASP.NET Core is a web development framework by Microsoft that is used to build .NET web apps.
This course is great for beginners who are interested in learning how to build an API, using ASP.NET Core, or connecting to databases via Entity Framework Core.
You will learn what ASP.NET Core, .NET Core, and the .NET Standard are and how they are related before quickly diving into the code.
This is a beginner course, so no previous knowledge of ASP.NET Core or Entity Framework Core is required.
For most .NET developers, the obvious choice is to use Visual Studio 2017 or 2019. If you haven't got an MSDN license, you can download the free Community edition or you can use any IDE that supports ASP.NET Core 2.