RESTful API with ASP.NET Core Web API - Create and Consume
4.5 (1,564 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
17,808 students enrolled

RESTful API with ASP.NET Core Web API - Create and Consume

Build RESTful API with Authentication and learn how to consume them in ASP.NET Core in a real world application.
4.5 (1,564 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
17,808 students enrolled
Created by Bhrugen Patel
Last updated 6/2020
English
English [Auto]
Current price: $107.99 Original price: $154.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6.5 hours on-demand video
  • 7 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn basic fundamentals of ASP NET Core Web API
  • Build RESTful API's in ASP NET Core 3.1
  • Learn how to document an API
  • Versioning in an API
  • Implement Repository Pattern in API to database using EF
  • Implement Authentication and Authorization in API and Consume API
  • Integrate Entity Framework along with code first migrations
  • Learn how to consume API using HTTPClient in the Repository Pattern
Course content
Expand all 100 lectures 06:26:12
+ Project Setup
3 lectures 12:05
Create National Park Model
01:48
Setup Database Connection
04:29
Push National Park to Database
05:48
+ Repository
5 lectures 20:04
National Park Repository Interface
03:35
National Park Repository
05:46
Why do we need DTO's?
03:39
NationalPark DTO
02:35
+ National Park API
8 lectures 33:58
Create National Park Controller
03:42
Get all National Parks
05:53
HTTP Get Individual National Park
05:11
HTTP Post Part 1
04:39
HTTP Post Part 2
02:05
HTTP Post Part 3
05:12
HTTP Patch
04:04
HTTP Delete
03:12
+ API Documentation
9 lectures 30:32
NuGet Installation
02:07
Adding Swashbuckle to API
03:02
Open API Document
03:34
Swagger UI
04:03
XML Comments
04:36
Ignoring XML Comments Warnings
03:59
API Information
01:54
Response Types
06:26
Importance of AutoMapper
00:51
+ Trails
7 lectures 27:21
Trail Model and Trail DTO
04:20
Trail Repository and Interface
05:04
Trail API Controller
05:00
Seperating out DTO
03:37
Seperating Upsert Dto
03:23
Testing Trail API
04:08
Reviews
01:49
+ Versioning in API
7 lectures 24:31
Multiple Open API Documentation
02:48
API Versioning Part 1
04:16
API Versioning Part 2
05:57
API Versioning Part 3
04:00
Versioning Fix for POST Methods
01:44
Attribute Routing
04:25
Add Image to National Park
01:21
+ Parky Web
9 lectures 26:38
Create MVC Project
02:35
API Static Details
02:18
Run-time Compilation and HttpClient
02:07
Repository Interface
02:52
CreateAsync in Repository
04:40
Repository Other Methods
03:38
Models for Website
01:38
National Park and Trail Repository
04:45
Links and JS
02:05
+ National Park Web
9 lectures 43:04
Index Action Method
04:10
Javascript to Load Data Table
07:56
Complete Flow of Calls
03:25
Upsert Get Action Method
03:16
Upsert View Part 1
02:28
Upsert View Part 2
06:11
Upsert View Part 3
04:14
Upsert Post Action
06:11
Delete National Park
05:13
+ Trail Web
7 lectures 23:29
Trails View Model
01:26
Trail Controller
05:00
Trail Index Page
04:13
Trail js
03:04
Trail Upsert View
05:56
Common NET Core Error
03:01
Delete Trail
00:49
Requirements
  • 3-6 months knowledge of NET Core
  • Visual Studio 2019
  • SQL Server 2018
  • .NET Core 3.1
Description

This is a Beginner to Intermediate level course on ASP.NET Core Web API that will take you from the basics of building API to consuming them. This course is for anyone who is new to RESTful Web API's in ASP.NET Core or who is familiar with ASP.NET and wants to learn how to consume them effectively in an ASP.NET Core Web application.

By the end of this course, you will be able to build a RESTful web service with Web API by yourself, make GET, POST, PUT and DELETE HTTP Requests with a well-built repository pattern in ASP.NET Core Project. You will also get a sneak peek at Entity Framework Code First migrations and learn how to save your data persistently in a database.

We will cover authentication and authorization in Web API as well as consume them in a real-world project.

What are the requirements?

  • 3-6 months knowledge of ASP.NET Core.

  • Visual Studio 2019

  • SQL Server Management Studio

  • .NET Core 3.1

What am I going to get from this course?

  • Learn basic fundamentals of ASP NET Core web API

  • Build RESTful API's in ASP.NET Core 3.1

  • Learn how to document an API using swagger and swashbuckle.

  • Versioning in an API.

  • Implement Repository Pattern in API to the database using EF.

  • Authentication and Authorization in ASP.NET Core API's.

  • Integrate Entity Framework along with code first migrations

  • Learn how to consume API using HTTPClient in the Repository Pattern.

All source codes and exercise solutions of this course are also available on Github and you can find details in the lecture "PROJECT RESOURCES", of course.

Who this course is for:
  • Anyone who wants to learn Web API in NET Core 3.1
  • Anyone who wants to learn how to consume Web API's
  • Anyone who wants to Learn Creating and Consuming API with Authentication