Course Overview
A Web API is an application programming interface for the Web. With Web API, you get access to entire features of HTTP like URIs, request/response headers, content formatting, etc.
This course will teach you all you need to know to build personal or commercial applications using Asp.Net Core Web API as your development framework. You will start from just Visual Studio and build your app from the ground up.
As data storage, you will use an SQL database and Entity Framework will be used to interact with your data. You will also learn how to update database schema using Entity Framework migrations, how to add data to the database, get data from the database, update data in the database and also delete data from the database.
You will not only learn about the default features or capabilities that Asp.Net Core Web API has to offer, but you will also create your custom implementations like for example a custom Web API return type.
You will learn all these, step by step with hands-on practice. You will also have a lot of quizzes that will help to improve your knowledge of Web API.
Some of the topics that this course covers are:
Introduction to Web API
Building your first Asp.Net Core API
Working with relational data
Controller Action return types
Sorting, Filtering, and Paging
Asp.Net Core Web API Versioning
Unit Testing
and much more...
You can find the source code of this course on my Github account: @etrupja/complete-guide-to-aspnetcore-web-api
FAQ
FAQ area empty
Course curriculum
-
Getting Started
224 Xem trước -
Installing Asp.Net Core SDK and Runtime
273 Xem trước -
New Web API project with Visual Studio
311 Xem trước -
Default Asp.Net Core Project Files
396 -
Testing the Web API Project with Postman and Swagger
341 Xem trước -
Summary
44 Xem trước -
Quiz: Basics of ASP.NET Core Web API
Xem trước
-
Getting Started
89 -
Adding the Book Model
314 -
Adding Your EF Core DB Context
470 -
Adding Your First EF Core Migration
343 -
Seeding Your Database With Data
535 -
Adding Your First Web API Controller
170 -
Adding a New Book [HttpPost]
679 -
Listing All Books [HttpGet]
513 -
Updating an Existing Book [HttpPut]
385 -
Deleting an Existing Book [HttpDelete]
222 -
Summary
80 -
Quiz: Build Your First Asp.Net Core Web API
-
Getting Started with Relational Data Management
119 -
One-to-Many Relationships in Entity Framework Core
405 -
Many-to-Many Relationships in Entity Framework Core
720 -
Adding Author and Publisher Services to Web API
818 -
Adding Relational Data With [HttpPost]
574 -
Getting Authors of a Book with [HttpGet]
308 -
Getting Books of an Author with [HttpGet]
368 -
Getting Books of a Publisher including Authors
531 -
Deleting Relational Data With Entity Framework Core
713 -
Summary
101 -
Quiz: Managing Relational Data in ASP.NET Core with Entity Framework
-
Responses and status codes
65 -
HTTP Response Status Codes
552 -
Try-Catch-Finally block
663 -
Throwing custom exceptions
475 -
Global error handling
623 -
Custom global error handling
421 -
Summary of Error and Exception Handling
41 -
Quiz: Error and Exception Handling in ASP.NET Core
-
Introduction to Logging
44 -
The What, Why and How of Logging
254 -
Setting up Serilog in Web API
244 -
Logging to a File using Serilog
831 -
Adding a new Log table using EFCore migrations
309 -
Logging to an SQL Table using Serilog
421 -
Retreiving all logs from the database
413 -
Summary of Logging
57 -
Quiz: Logging in ASP.NET Core with Serilog
-
Introduction to Unit Testing
204 -
Choosing a Unit Testing Framework
97 -
Setting up Unit Testing Environment
307 -
Setting Up Unit Testing In-Memory DB
456 -
Unit Testing GetAllPublishers in PublishersService
740 -
Challenge: Unit Testing GetPublisherById in PublishersService
29 -
Solution: Unit Testing GetPublisherById in PublishersService
221 -
Unit Testing AddPublisher in PublishersService
360 -
Unit Testing GetPublisherData method in PublishersService
322 -
Unit Testing DeletePublisherById method in PublishersService
58 -
Challenge: Set Up Unit Testing in a Controller
58 -
Solution: Set Up Unit Testing in a Controller
332 -
Unit Testing HttpGet("get-all-publishers")] in PublishersController
603 -
Challenge: Unit Testing [HttpGet("get-publisher-by-id/{id}")]
32 -
Solution: Unit Testing [HttpGet("get-publisher-by-id/{id}")]
425 -
Unit Testing [HttpPost("add-publisher")] in PublishersController
251 -
Unit Testing [HttpDelete("delete-publisher-by-id/{id}")] in PublishersController
254 -
Summary of Unit Testing
68 -
Quiz - Unit Testing Web APIs using NUnit
-
Introduction of Token Based Authentication
71 -
Authentication vs Authorization
148 -
Traditional vs Token Based Authentication
579 -
Adding Identity Tables using Entity Framework
466 -
Configuring JWT in Startup.cs
675 -
Setting up Authentication Controller
290 -
Registering a New User
587 -
Generating an Access & Refresh Token
903 -
Logging In and Authorizing Users
692 -
Refreshing Tokens
1655 -
Adding Role-based Authentication
1275 -
Summary of Token Based Authentication
78
Requirment
-
Basic understanding of C# is preferred, but not required
Outcomes
-
Build a complete .NET Core back-end with Web API, Entity Framework Core & SQL Database
-
Utilize all three types of relationships in your database: one-to-one, one-to-many, many-to-many
-
Seed data with code-first migrations programmatically
-
Implement [HttpGet], [HttpPost], [HttpPut] and [HttpDelete] methods to work with simple or relational data
-
Test your Web API with Swagger and Postman
-
Different Web API versioning methods
-
The default action return types & create your custom return type
-
Server side Sorting, Filtering and Paging
-
AspNet Core Web API Logging with Serilog
-
Unit Testing API Endpoints and Services
-
Token-based authentication and authorization
0 Student
2 Courses
0 review