Mô tả

Overview

Learn how to build a RESTful API using ASP.NET Core API, Entity Framework, and enterprise-grade practices for a scalable and future-proofed Web API solution. We will implement various support tools for logging, documentation, security, and error handling.

ASP.NET Core, based on the new .NET 6 / .NET 7 runtime, is Microsoft's modern, cross-platform framework for building enterprise-ready web applications. In this course, you will learn everything you need to know about building a RESTful API using .NET Core 6 / 7, from understanding the folder structure and files to building and deploying a complete web REST API.

Everything in this course is .NET 6 / .NET 7 compatible.

Why Learn ASP.NET Core / .NET 6

Microsoft .NET is the platform that drives the business technology of many of the top corporations in the United States and many other countries. It is the predominant technology used to drive enterprise-scale business technology. Companies have chosen .NET for its proven scalability, reliability, and support. Only a few technologies have achieved this level of stability, maturity, and speed. Creating a flexible yet stable technology is quite a feat, and that’s exactly what ASP.NET Core developers have achieved.

The .NET language of choice to learn is C#, as it is among the most widely used languages today. It’s a general-purpose programming language that can handle almost any problem, from desktop to mobile to dynamic web applications. As such, there is a high demand across the world for .NET developers in various industries, which means that more jobs are available for candidates with a foundation built upon .NET technologies.

Why Learn to Build An API

The acronym API means Application Programming Interface. The ability to design and maintain an API is an important toolset for the modern web developer. It allows you to extend the accessibility of your software to external applications and other developers, leading to a more global software solution.

REST APIs have become a standard in the industry because of their ability to serve essential functionality from any backend to any kind of frontend while catering to thousands of clients simultaneously. There is no time like now to skill up and start adding ASP.NET Core Web API to your skillset.

Build A Strong Foundation in .NET Programming:

  • Build a fully data-driven REST Web API using cutting-edge technology

  • Test and Troubleshoot using Postman

  • Create a database using Entity Framework Core

  • Author efficient queries using Entity Framework Core

  • Generic Repository Pattern

  • Dependency Injection

  • Setup Logging using SeriLog

  • Setup API documentation using SwaggerUI

  • Understand the REST design principles

  • Understand C# 10 and .Net Core Web Syntax

  • Setup Identity Core for User Authentication and Authorization

  • Understand user Authentication using JWT (JSON Web Tokens)

  • Implement Refresh Tokens Endpoint

  • Understand how to use Data Transfer Objects (DTOs) and AutoMapper

  • Manage Packages with NuGet Manager

  • API Caching, Versioning and Request Rate Throttling

  • Implement API Health Checks

  • Understand .NET 6 / .NET 7 workflows, tools, and application development

  • Setup GitHub for Source Control

  • Deploy Applications and Database to Microsoft Azure

PREREQUISITES

In order to take this course, you should have at least 3 months experience programming in C#. If you need to strengthen your C# fundamentals, you can take my C# beginner course C# Console and Windows Forms Development with LINQ & ADO .NET

Content and Overview

To take this course, you will need to have some knowledge of Object Oriented Programming, if not C#. Even if you do not have much exposure to the .NET development stack, this course is very beginner friendly and chock full of development tips.

Practical guidance is provided so you can achieve a tangible and valuable outcome, and you also are given a dose of theory on REST (Representational State Transfer), JSON (JavaScript Object Notation), DTOs (Data Transfer Objects), and the MVC (Model View Controller) architectural pattern.

This is a huge course. Over 10 hours of premium content, but smartly broken up to highlight a set of related activities based on each module in the application that is being built. We will also look at troubleshooting and debugging errors as we go along; implementing best practices; writing efficient logic and understanding why developers do things the way they do. Your knowledge will grow, step by step, throughout the course and you will be challenged to be the best you can be.

We don't do things the perfect way the first time; that is not the reality of writing code. We make mistakes and point them out and fix them around them. By doing this, we develop proficiency in using debugging tools and techniques. By the time you have finished the course you will have moved around in Visual Studio and examined logic and syntax errors so much, that it will be second nature for you when working in the .NET environment. This will put your new learned skills into practical use and impress your boss and coworkers.

The course is complete with working files hosted on GitHub, with the inclusion of some files to make it easier for you to replicate the code being demonstrated. You will be able to work alongside the author as you work through each lecture and will receive a verifiable certificate of completion upon finishing the course.

Clicking the Take This Course button could be the best step you could take towards quickly increasing your income and marketability! Also, remember that if you don't think the course is worth what you spent, you have a full 30 days to get a no questions asked refund!


It's time to take action!

See you in the course!

Bạn sẽ học được gì

Build A Data Driven API using Entity Framework .NET 6 / 7 / 8

How to Build RESTful APIs with proper practices

Configure Cross-Origin Resource Sharing (CORS)

Learn C# and Visual Studio Techniques

Enterprise Level Design Patterns

Using Production Grade Third-Party Tools

Troubleshoot and Fix Practical Errors

Use AutoMapper and Data Transfer Objects (DTOs)

Use NuGet Package Manager

Manage and Track Changes using GitHub

Asynchronous Programming

Custom Logging using SeriLog

Use Swagger UI Documentation

Deploy API to Microsoft Azure

API Versioning

API Caching

Yêu cầu

  • A computer
  • The Internet

Nội dung khoá học

12 sections

Introduction

2 lectures
Introduction
01:29
Fundamental REST API Development Principles
10:25

Environment Configuration

4 lectures
Install Visual Studio 2022 Community Edition
02:16
IMPORTANT - .NET 8 Update
00:28
Setup GitHub Account
01:17
Install and Explore PostMan
05:23

Project Setup and Configurations

9 lectures
Create ASP.NET Core API Project with Visual Studio
03:12
Create ASP.NET Core API Project with Visual Studio Code
03:58
Explore ASP.NET Core API Project and Explore Swagger UI
13:14
Controllers vs Minimal APIs
07:31
CORS Configuration
04:45
Configure Serilog and Seq
15:46
Add Serilog Request Logging
01:28
Review and Add Changes to GitHub
04:19
Section Source Code
00:01

Database Modelling and Entity Framework

7 lectures
Section Overview
00:52
Setup Entity Framework In API Project
11:03
Implement Data Classes and Perform Migrations
16:57
Handling Migrations Using Terminal (Non-Windows machines)
00:19
Seed Data In Tables
06:55
Review and Add Changes to GitHub
02:44
Section Source Code
00:01

Scaffolding API Functionality

9 lectures
Section Overview
01:06
Scaffolding Controllers and Actions
06:46
Key Terms and Definitions
00:29
Test and Understand POST Endpoint
14:19
Test and Understand GET Endpoints
12:58
Test and Understand PUT Endpoint
09:33
Test and Understand DELETE Endpoint
04:05
Review and Add to GitHub
02:11
Section Source Code
00:01

REST API Development Best Practices

10 lectures
Section Review
01:40
Refactor POST Method with Data Transfer Object
09:32
Introducing AutoMapper
07:54
Refactor GET Methods
17:00
Refactor PUT Method
11:01
Implement Repository Pattern - Part 1
20:59
Implement Repository Pattern - Part 2
05:00
Refactor Controller to Use Repository
13:46
Review and Add to GitHub
05:42
Section Source Code
00:01

Creating Additional API Behaviours

7 lectures
Section Review
00:50
Scaffolding Controller and Actions
04:16
Setup Repository
06:23
Setup Data Transfer Objects and Refactor Controller
12:09
Testing Changes
05:49
Review and Add to GitHub
02:32
Section Source Code
00:01

Securing Your API

14 lectures
Section Overview
06:21
Setup User Identity Core
12:48
Add Default User Roles
10:20
Setup Auth Manager For Registration
15:48
Setup Registration Endpoint
13:07
Setup Login Endpoint
11:39
*FIX* - Login Logic
00:11
Implement JWT Authentication - Part 1
11:52
Implement JWT Authentication - Part 2
22:53
Protecting Endpoints
15:06
Implement Refresh Tokens
17:19
*FIX* - Refresh Token With Login
00:07
Review and Add Changes to GitHub
01:23
Section Source Code
00:01

Value Added Features

14 lectures
Add Logging
16:58
Global Error Handling
24:22
Implementing API Versioning
13:54
Implement Caching
08:07
Implement Paging
21:12
Exploring OData
07:33
Project Architectural Changes
20:54
Fix Scaffolding and Migrations
06:45
Repository Refactor
17:27
Controller Refactor
06:14
Add JWT Authentication to Swagger Doc
10:41
Add API Service Health Checks
23:04
Review and Add Changes to GitHub
00:58
Section Source Code
00:01

API Hosting and Deployment (IIS and Azure)

2 lectures
Create Microsoft Azure Account
06:20
Deploy Application and Database to Microsoft Azure
18:58

Conclusion

1 lectures
Conclusion
03:47

BONUS Section

1 lectures
Bonus Lecture
00:08

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.