Create ASP.Net Core Web API (step by step for beginners)
4.5 (290 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.
2,809 students enrolled

Create ASP.Net Core Web API (step by step for beginners)

Build database driven CRUD API with C#, ASP .NET Core 2.2 MVC and Entity Framework Core. Project based learning
4.5 (290 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.
2,809 students enrolled
Created by Pavol Almasi
Last updated 8/2020
English
English
Current price: $12.99 Original price: $19.99 Discount: 35% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 9.5 hours on-demand video
  • 1 article
  • 20 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
  • Creation of CRUD API in Asp .Net Core 2.2
  • .Net Core Services
  • Data Transfer Objects (DTO)
  • Use of DbContext for 1-to-many and many-to-many relationship
  • Understanding of Dependency Injection
  • Understanding of the use of Interfaces in C# and .Net Core
Course content
Expand all 126 lectures 09:41:47
+ Preparing the .Net Core Services, Models, and Database
21 lectures 01:25:45
Data Annotation
05:23
HOMEWORK: Data Annotation
01:27
More Data Annotation
05:03
Adding NuGet Packages
05:09
Adding Connection String
05:58
Adding DbContext
04:42
Adding OnModelCreating Method
05:40
HOMEWORK: Adding BookAuthor Intermediary Class to ModelBuilder
01:01
Adding BookAuthor Intermediary Class to ModelBuilder
02:05
Creating Database Migration
07:45
Seeding The Database
09:18
Seeding The Database and Reviewing Inserted Data
07:17
+ Creating Countries HttpGet API
10 lectures 52:49
Creating GetCountries API
07:32
Testing GetCountries API
03:27
Registering ICountryRepository Interface Service
02:49
Creating Country DTO (Data Transfer Objects)
01:27
Finishing GetCountries API
06:25
Creating GetCountryOfAnAuthor API
06:53
+ Creating Categories HttpGet API
7 lectures 36:11
Creating ICategoryRepository Interface
02:46
Implementing GetCategories and GetCategory Methods
03:35
Finishing Implementation of ICategoryRepository
06:30
Creating GetCategories API
07:57
Creating GetCategory API
03:21
Creating GetAllCategoriesForBook API
08:06
+ Finishing DTO and Interfaces for Reviews, Reviewers, Authors, and Books
7 lectures 19:40
HOMEWORK: Create Remaining DTO Classes
01:05
Creating Remaining DTO Classes
05:02
Creating IBookRepository Interface
03:19
Creating IAuthorRepository Interface
01:53
Creating IReviewerRepository Interface
01:38
Creating IReviewRepository Interface
02:17
+ Finishing Country and Category Interface Implementation
2 lectures 11:26
Implementing GetAuthorsFromACountry Method
05:41
Implementing GetAllBooksForCategory Method
05:45
+ Creating Reviewer HttpGet API
6 lectures 36:22
HOMEWORK: Implement IReviewerRepository Interface and API
03:02
Implementing IReviewerRepository Interface
08:40
Creating GetReviewers API
05:40
Creating GetReviewer API
04:08
Creating GetReviewsByReviewer API
05:07
Creating GetReviewerOfAReview API
09:45
+ Creating Review HttpGet API
6 lectures 27:39
HOMEWORK: Implement IReviewRepository Interface and API
02:03
Implementing IReviewRepository Interface
07:15
Creating GetReviews API
05:04
Creating GetReview API
02:50
Creating GetReviewsOfABook API
04:52
Creating GetBookOfAReview API
05:35
+ Creating Author HttpGet API
6 lectures 27:25
HOMEWORK: Implement IAuthorRepository Interface and API
02:08
Implementing IAuthorRepository Interface
07:37
Creating GetAuthors API
03:43
Creating GetAuthor API
02:34
Creating GetBooksOfAuthor API
04:39
Creating GetAuthorsOfABook API
06:44
Requirements
  • Course uses .Net Core 2.2 (it is recommended you use the same version)
  • 4-6 months of programming in C# is recommended
  • Basics of C# OOP programming, understanding Collections and Interfaces
  • Have time to dedicate to following along and doing practice homework assignments
  • The course uses Visual Studio 2017
Description

UDATE:  The auto generated captions were removed and replaced with real manually written captions for ALL lessons so following the course is now even easier than before!

Welcome to Creating CRUD API in Asp .Net Core and Entity Framework Core.

As the title of the course suggests, we will be creating an API that will handle Creating, Reading, Updating and Deleting records from a database with the help of .Net Core and Entity Framework.

This course is all about CRUD operations. Step by step, we will set up a complete API to handle each of the operations in a multi-table database. For the next several hours, we will dedicate our time to interfaces, dependency injection, 1 to many and many to many database relationships, .Net Core Services, Models, Data Transfer Objects, Controllers and Actions, and of course, C# language. But don’t let any of that scare you. Quite the opposite.

Get excited to learn a ton of new material and dive into the new world of .Net core. The course makes the learning easy with the mix of slow introduction of new material, repetition, and lot of practice! Every line of code is coded on camera, there are no mysteriously appearing blocks of code. Every step is explained every time, not just the first time you are introduced to it. And you will have a chance to practice what you learned in homework assignments.

Let’s go over few details. First, let’s discus what this course IS


  1. Introduction to creating CRUD API using Asp .net Core and Entity Framework.

  2. We go over complete creation of CRUD API

  3. I introduce new concepts as they are needed in regards to progression of the project

  4. This is a “follow along” and “practice what you learned” course

  5. No code is skipped over.


What this course is NOT:

  1. Complete or Deep Dive course

  2. Learn C# or .net core course

  3. Theory with explanation and code snippets

  4. Ready to Deploy Real World project


1. API are a huge subject, and so is net core and so is Entity Framework. In this course we will create a CRUD Web API in .Net Core 2.2. Nothing more, nothing less. Do not expect a dive into security, database optimization, asynchronous processing or anything else. Just CRUD. Pure and simple. We will work only with C# language inside .net core. So do not expect any javascript or fancy javascript framework or library. There is none in this course. But don’t expect to use this course as a “Learn C# course”. It is not that. I’m sure you will pick up some new syntax and C# tricks, but you do need some C# skills prior to taking this course. The project we use is a great starting point as it introduces several of the essential techniques and concepts, including often neglected CRUD operations on database tables with many-to-many relationships, this certainly isn’t a deploy-ready project.

2. Remember, this is a course, and a practical tutorial. There are lot of courses that will show you the way into one topic and then quickly move on to another topic. This is not one of those courses! My goal is to lead you step by step, all the way, through the new territory inside .Net core and introduce you to new concepts and topics and help you learn them. And equally important is to then help you understand and retain what you learned through practice and repetition. If you prefer to be shown something once and then jump to another topic, then this course is NOT for you. If, on the other hand, you learn by combining explanation, coding along, and practicing the concepts while still having the option to see the instructor coding the whole solution, then this course is definitely for you!

3. Did this ever happen to you? You took a course, and you just loved it! Everything was clearly explained, and you had lots of aha moments. Then the course ended…and suddenly, you felt lost. You felt like you learned so much while taking the course, yet could barely remember anything once it ended. Even when you revisited the source code supplied by the instructor, it just didn’t even seem familiar. Suddenly you felt like you didn’t learn anything. All the concepts that seemed so clear during the course felt totally foreign when you were on your own. In my experience, this is often the case when you simply take a course that starts exactly where your current skills are, but moves past the threshold of skills you are ready for. Like trying to go from crawling straight to sprinting. In this course, we go step by step, introducing new concepts slowly and only after you had a chance to practice what you learned.

4. is this course for you? What skills should you have before taking it? If you are a programmer with decent understanding of OOP principles and C#, than you have the all the skills needed to benefit from this course. There are no prerequisites for .net core, or entity framework or how to create an API. Since you are interested in this course, I assume you heard of these things and perhaps played around a little too. That’s all that is needed to take this course.

Well, let's code!

Who this course is for:
  • Students new to .Net Core (but not new to C#)
  • Students who want to build CRUD API in .Net Core
  • Students who learn best by hands-on programming
  • Students who can dedicate time to doing homework assignments