Cademy logoCademy Marketplace

Course Images

Ultimate ASP.NET Core Web API Development Guide

Ultimate ASP.NET Core Web API Development Guide

🔥 Limited Time Offer 🔥

Get a 10% discount on your first order when you use this promo code at checkout: MAY24BAN3X

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 10 hours 13 minutes

  • All levels

Description

Learn to build and deploy a RESTful API using ASP.Net Core, Entity framework, and enterprise-grade practices for a scalable as well as future-proofed web API solution along with understanding the folder structure and files. You will also implement various support tools for logging, documentation, security, and error handling.

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. There is a high demand across the world for .NET developers in a variety of industries. This course also features web API development; the ability to design and maintain an API is an important toolset for the modern web developer. This course will help you build a fully data-driven REST web API using cutting-edge technology. You will test and troubleshoot using Postman, create a database using Entity Framework Core, set up logging using SeriLog, learn about dependency injection, and API documentation using SwaggerUI. You will understand the REST design principles and authentication using JWT, understand how to use data transfer objects and AutoMapper, manage packages with NuGet manager, and set up GitHub for source control. Learn about API caching, versioning and request rate throttling, and understand .NET 6 workflows, tools and application development. Finally, you will deploy applications and databases on-premises with Internet Information Systems, Microsoft SQL Server, and Microsoft Azure. By the end, you will switch around to Visual Studio for your coding exercise because of your hands-on expertise in examining logic and syntax errors throughout. This will put your newly learned skills to practical use and impress your boss and coworkers. The code files and resource files are updated on the GitHub repository at: https://github.com/PacktPublishing/Ultimate-ASP.NET-5-Web-API-Development-Guide-

What You Will Learn

Build a data-driven API using Entity Framework and .NET 6
Test and troubleshoot using Postman
Create a database using Entity Framework Core
Set up API documentation using SwaggerUI
Understand .NET 6 workflows, tools, and application development
Deploy applications and database to Microsoft Azure

Audience

This course is designed for anyone who wants to learn REST API development. It is also beneficial for software engineers with a background in .NET development and programming.

This course benefits anyone who wants to learn application and hosting and database hosting on Azure.

To extract the best information from 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.

Approach

This is a comprehensive course that follows the approach of providing you with practical guidance so that you can achieve a tangible and valuable outcome. This course is smartly broken down into bits that highlight a set of related activities. The code files are updated and pushed to the GitHub repository module-by-module while learning alongside the author.

Key Features

Build a fully data-driven REST Web API using cutting-edge technology * Troubleshooting and debugging errors along with implementing best practices and writing efficient logic * Learn enterprise-level design patterns and troubleshoot and fix practical errors

Github Repo

https://github.com/PacktPublishing/Ultimate-ASP.NET-5-Web-API-Development-Guide-

About the Author

Trevoir Williams

Trevoir Williams is a software engineer and part-time lecturer. With a master's degree in computer science, he has spent over a decade teaching web, software, and database development courses. He also has extensive industry experience in web application development, Azure Cloud system, and server administration. He enjoys teaching IT and development courses and hopes to impart knowledge of the latest developments in industry standards and techniques to his students.

Course Outline

1. Introduction to the Course

1. Introduction

This video shows what you will learn in this course, an overview of the entire course, and the basics of API.

2. Fundamental REST API Development Principles

This video talks about the fundamental REST API development principles.


2. Environmental Configuration

1. Install Visual Studio 2022 Community Edition

This video demonstrates the installation of Visual Studio 2022 Community Edition.

2. Set Up GitHub Account

This video explains how to set up the GitHub account where you would push your resource files.

3. Install and Explore Postman

This video shows how to install and explore Postman.


3. Project Setup and Configuration

1. Create ASP.NET Core API Project with Visual Studio

This video helps you with Creating ASP.NET Core API Project with Visual Studio.

2. Create ASP.NET Core API Project with Visual Studio Code

This video demonstrates how to Create ASP.NET Core API Project with Visual Studio Code.

3. Explore ASP.NET Core API Project and Explore Swagger UI

This video helps you Explore ASP.NET Core API Project and Explore Swagger UI.

4. .NET 6 Versus Previous Versions

This video skims through the distinguishing points of .NET 6 and its previous versions.

5. CORS Configuration

This video shows configuring CORS (Cross-Origin Resource Sharing).

6. Configure SeriLog and Seq

This video demonstrates configuring SeriLog and Seq.

7. Review and Add Changes to GitHub

This video reviews and adds a few tweaks/changes to our GitHub repository.


4. Database Modelling and Entity Framework

1. Section Overview

This video provides an overview of the section.

2. Set Up Entity Framework in API Project

This video explains setting up the Entity framework in the API project.

3. Implement Data Classes and Perform Migrations

This video explains how to implement data classes and perform migrations.

4. Seed Data in Tables

This video demonstrates how to seed data in tables.

5. Review and Add Changes to GitHub

This video is about reviewing and adding changes to your GitHub repository.


5. Scaffolding API Functionality

1. Section Overview

This video provides an overview of the section.

2. Scaffolding Controllers and Actions

This video explains about Scaffolding controllers and actions.

3. Test and Understand POST Endpoint

This video takes you through the test and helps you understand the POST endpoint.

4. Test and Understand GET Endpoint

This video takes you through the test and helps you understand the GET endpoint.

5. Test and Understand PUT Endpoint

This video takes you through the test and helps you understand the PUT endpoint.

6. Test and Understand DELETE Endpoint

This video takes you through the test and helps you understand the DELETE endpoint.

7. Review and Add to GitHub

This video helps you give the final touches and reflect the changes to the GitHub repository.


6. REST API Development Best Practices

1. Section Overview

This video provides an overview of the section.

2. Refactor POST Method with Data Transfer Object

This video explains refactoring the POST method with data transfer object.

3. Introducing AutoMapper

This video introduces you to AutoMapper.

4. Refactor GET Methods

This video talks about refactoring GET Methods.

5. Refactor PUT Method

This video explains refactoring the PUT Method.

6. Implement Repository Pattern - Part 1

This is the first of the two-part video to implement the repository pattern.

7. Implement Repository Pattern - Part 2

This is the second of the two-part video to implement the repository pattern.

8. Refactor Controller to Use Repository

This video helps you with refactoring Controller to use the repository.

9. Review and Add Changes to GitHub

This video is about reviewing and adding changes to your GitHub repository.


7. Creating Additional API Behaviors

1. Section Review

This video provides the section review.

2. Scaffolding Controller and Actions

This video explains Scaffolding controller and actions.

3. Set Up Repository

This video demonstrates the setup of the repository.

4. Set Up Data Transfer Objects and Refactor Controller

This video helps in setting up of data transfer objects and refactoring Controller.

5. Testing Changes

This video is about testing changes.

6. Review and Add Changes to GitHub

This video is about reviewing and adding changes to your GitHub repository.


8. Securing Your Application

1. Section Overview

This video provides an overview of the section.

2. Set Up User Identity Core

This video shows setting up user identity core.

3. Add Default User Roles

This video talks about adding default user roles.

4. Set Up Auth Manager for Registration

This video helps in setting up Auth Manager for registration.

5. Set Up Registration Endpoint

This video explains setting up the registration endpoint.

6. Set Up Login Endpoint

This video talks about setting up the login endpoint.

7. Implement JWT Authentication - Part 1

This is the first of the two-part video that helps implement JWT authentication.

8. Implement JWT Authentication - Part 2

This is the second of the two-part video that helps implement JWT authentication.

9. Protecting Endpoints

This video helps in protecting endpoints.

10. Implement Refresh Tokens

This video helps implement refresh tokens.

11. Review and Add Changes to GitHub

This video is about reviewing and adding changes to your GitHub repository.


9. Value-Added Features

1. Add Logging

This video explains about adding logging.

2. Global Error Handling

This video explains about global error handling.

3. Implementing API Versioning

This video shows how to implement API versioning.

4. Implementing Caching

This video explains how to implement caching.

5. Implement Paging

This video shows how to implement paging.

6. Exploring OData

This video helps you with exploring OData.

7. Project Architectural Changes

This video is about project architectural changes.

8. Fix Scaffolding and Migrations

This video explains about fixing scaffolding and migrations.

9. Repository Refactor

This video talks about repository refactor.

10. Controller Refactor

This video talks about the controller refactor.

11. Add JWT Authentication to Swagger Doc

This video is about adding JWT authentication to Swagger Doc.

12. Review and Add Changes to GitHub

This video is about reviewing and adding changes to your GitHub repository.


10. API Hosting and Deployment (IIS and Azure)

1. Create Microsoft Azure Account

This video is about creating a Microsoft Azure account.

2. Deploy Application and Database to Microsoft Azure

This video explains how to deploy your application and database to Microsoft Azure.


11. Conclusion

1. Conclusion

This video helps you with the conclusion of the course.

Course Content

  1. Ultimate ASP.NET Core Web API Development Guide

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews