Building Your First API with ASP.NET Core

Building Your First API with ASP.NET Core
Building Your First API with ASP.NET Core
English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 4h 21m | 887 MB

Microsoft is moving towards a new direction with its developer frameworks, signified by the cross-platform, modular, and faster ASP.NET Core 1.x/2.0 and Entity Framework Core 1.x/2.0. In this course, you'll learn how to build an API with these.

Both ASP.NET Core and Entity Framework Core have been built from the ground up, and a lot has changed. ASP.NET Core isn't an upgrade to ASP.NET, it's a new framework altogether. In this course, Building Your First API with ASP.NET Core, you'll learn about the important concepts of ASP.NET Core related to building an API, like working with middleware, MVC, services, and Dependency Injection. First, you'll start out with the basics to ASP.NET Core including how such a project is structured. Next, you'll explore how to implement all the functionality you'd expect from an API. Finally, you'll discover how to create a database using a code-first approach and how to work with migrations. After this course, you'll have a good understanding of what ASP.NET Core is and how to build an API with it.

Table of Contents

Course Overview
1 Course Overview

Getting Acquainted with ASP.NET Core
2 Introduction
3 Tooling
4 ASP.NET Core - The Big Picture
5 Demo - Downloading and Installing .NET Core
6 Demo - Starting a New ASP.NET Core Project
7 The ASP.NET Core Request Pipeline and Middleware
8 Demo - Configuring the ASP.NET Request Pipeline
9 Summary

Creating the API and Returning Resources
10 Coming Up
11 Middleware for Building an API
12 Clarifying the MVC Pattern
13 Demo - Adding the ASP.NET Core MVC Middleware
14 ASP.NET Core 2 Metapackage and Runtime Store
15 Demo - Returning Resources (Part 1)
16 Learning About Routing
17 Demo - Returning Resources (Part 2)
18 Demo - Improving the Architecture with Model Classes
19 The Importance of Status Codes
20 Demo - Returning Correct Status Codes
21 Demo - Returning Child Resources
22 Demo - Working with Serializer Settings
23 Formatters and Content Negotiation
24 Demo - Formatters and Content Negotiation
25 Summary

Manipulating Resources
26 Coming Up
27 Demo - Creating a Resource
28 Demo - Validating Input
29 Demo - Updating a Resource
30 Partially Updating a Resource
31 Demo - Partially Updating a Resource
32 Demo - Deleting a Resource
33 Summary

Working with Services and Dependency Injection
34 Coming Up
35 Inversion of Control and Dependency Injection
36 Demo - Injecting and Using a Logger
37 Demo - Logging to a File
38 Demo - Implementing and Using a Custom Service
39 Demo - Working with Configuration Files
40 Demo - Scoping Configuration to Environments
41 Summary

Getting Acquainted with Entity Framework Core
42 Coming Up
43 Introducing Entity Framework Core
44 Demo - Creating Entity Classes
45 Demo - Creating a DbContext
46 Demo - Working with Migrations
47 Demo - Safely Storing Sensitive Configuration Data
48 Demo - Seeding the Database with Data
49 Summary

Using Entity Framework Core in Our Controllers
50 Coming Up
51 Introducing the Repository Pattern
52 Demo - Introducing the Repository Pattern
53 Demo - Returning Data from the Repository When Requesting Resources
54 Demo - Using AutoMapper to Map Between Entities and DTOs
55 Demo - Creating a Resource
56 Demo - Updating a Resource
57 Demo - Partially Updating a Resource
58 Demo - Deleting a Resource
59 Summary