ASP.NET CORE WEB API | The Complete Guide
Learn to build fast and secure web applications with .NET Core Web API - The highest rated course with 30,000+ students!
Learn to build fast and secure web applications with .NET Core Web API - The highest rated course with 30,000+ students!
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 area empty
Getting Started
224 Xem trướcInstalling Asp.Net Core SDK and Runtime
273 Xem trướcNew Web API project with Visual Studio
311 Xem trướcDefault Asp.Net Core Project Files
396Testing the Web API Project with Postman and Swagger
341 Xem trướcSummary
44 Xem trướcQuiz: Basics of ASP.NET Core Web API
Xem trướcGetting Started
89Adding the Book Model
314Adding Your EF Core DB Context
470Adding Your First EF Core Migration
343Seeding Your Database With Data
535Adding Your First Web API Controller
170Adding a New Book [HttpPost]
679Listing All Books [HttpGet]
513Updating an Existing Book [HttpPut]
385Deleting an Existing Book [HttpDelete]
222Summary
80Quiz: Build Your First Asp.Net Core Web API
Getting Started with Relational Data Management
119One-to-Many Relationships in Entity Framework Core
405Many-to-Many Relationships in Entity Framework Core
720Adding Author and Publisher Services to Web API
818Adding Relational Data With [HttpPost]
574Getting Authors of a Book with [HttpGet]
308Getting Books of an Author with [HttpGet]
368Getting Books of a Publisher including Authors
531Deleting Relational Data With Entity Framework Core
713Summary
101Quiz: Managing Relational Data in ASP.NET Core with Entity Framework
Responses and status codes
65HTTP Response Status Codes
552Try-Catch-Finally block
663Throwing custom exceptions
475Global error handling
623Custom global error handling
421Summary of Error and Exception Handling
41Quiz: Error and Exception Handling in ASP.NET Core
Introduction to Logging
44The What, Why and How of Logging
254Setting up Serilog in Web API
244Logging to a File using Serilog
831Adding a new Log table using EFCore migrations
309Logging to an SQL Table using Serilog
421Retreiving all logs from the database
413Summary of Logging
57Quiz: Logging in ASP.NET Core with Serilog
Introduction to Unit Testing
204Choosing a Unit Testing Framework
97Setting up Unit Testing Environment
307Setting Up Unit Testing In-Memory DB
456Unit Testing GetAllPublishers in PublishersService
740Challenge: Unit Testing GetPublisherById in PublishersService
29Solution: Unit Testing GetPublisherById in PublishersService
221Unit Testing AddPublisher in PublishersService
360Unit Testing GetPublisherData method in PublishersService
322Unit Testing DeletePublisherById method in PublishersService
58Challenge: Set Up Unit Testing in a Controller
58Solution: Set Up Unit Testing in a Controller
332Unit Testing HttpGet("get-all-publishers")] in PublishersController
603Challenge: Unit Testing [HttpGet("get-publisher-by-id/{id}")]
32Solution: Unit Testing [HttpGet("get-publisher-by-id/{id}")]
425Unit Testing [HttpPost("add-publisher")] in PublishersController
251Unit Testing [HttpDelete("delete-publisher-by-id/{id}")] in PublishersController
254Summary of Unit Testing
68Quiz - Unit Testing Web APIs using NUnit
Introduction of Token Based Authentication
71Authentication vs Authorization
148Traditional vs Token Based Authentication
579Adding Identity Tables using Entity Framework
466Configuring JWT in Startup.cs
675Setting up Authentication Controller
290Registering a New User
587Generating an Access & Refresh Token
903Logging In and Authorizing Users
692Refreshing Tokens
1655Adding Role-based Authentication
1275Summary of Token Based Authentication
78Basic understanding of C# is preferred, but not required
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