Ultimate ASP.NET Core Web API Development Guide

Video description

Learn how to build a RESTful API using ASP.NET Core API, Entity Framework, 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 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, from understanding the folder structure and files, to building and deploying a complete web REST API.

Learn ASP.NET Core / .NET 6 - Microsoft .NET is a 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 because of its proven scalability, reliability, and support. Not many 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 a variety of industries, so that means that more jobs are available for candidates with a foundation built upon .NET technologies.

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 kind of backend, to any kind of frontend while catering to thousands of clients simultaneously. Now is a great time to skill up and start adding ASP.NET Core Web API to your skillset.


Distributed by Manning Publications

This course was created independently by Trevoir Williams and is distributed by Manning through our exclusive liveVideo platform.



About the Technology


About the Video


What's Inside
  • Build a data-driven API using Entity Framework .NET 6
  • 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
  • Troubleshooting and fixing 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


About the Reader
  • Experience programming in C#
  • Some working knowledge of Object Oriented Programming


About the Author

Trevoir Williams is a passionate software and system engineer with a strong drive to share the best of his knowledge with students around the globe. His educational achievements include a Master’s degree in Computer Science (major in Software Development) and several Microsoft Azure Certifications.

His impressive work experience includes software consulting, software engineering, database development, cloud system, server administration, lecturing, and he’s also a musician!

Trevoir enjoys teaching IT and development skills and guides students in gaining the latest knowledge with practical application in the modern industry.



Quotes

Table of contents

  1. Introduction
    1. Introduction to the Course
    2. Fundamental REST API Development Principles
  2. Environment Configuration
    1. Install Visual Studio 2022 Community Edition
    2. Setup GitHub Account
    3. Install and Explore Postman
  3. Project Setup and Configurations
    1. Create ASP.NET Core API Project with Visual Studio
    2. Create ASP.NET Core API Project with Visual Studio Code
    3. Explore ASP.NET Core API Project and Explore Swagger UI
    4. .NET 6 vs Previous Versions
    5. CORS Configuration
    6. Configure Serilog and Seq
    7. Review and Add Changes to GitHub
  4. Database Modelling and Entity Framework
    1. Section Overview
    2. Setup Entity Framework In API Project
    3. Implement Data Classes and Perform Migrations
    4. Seed Data in Tables
    5. Review and Add Changes to GitHub
  5. Scaffolding API Functionality
    1. Section Overview
    2. Scaffolding Controllers and Actions
    3. Test and Understand POST Endpoint
    4. Test and Understand GET Endpoints
    5. Test and Understand PUT Endpoint
    6. Test and Understand DELETE Endpoint
    7. Review and Add to GitHub
  6. REST API Development Best Practices
    1. Section Overview
    2. Refactor POST Method with Data Transfer Object
    3. Introducting AutoMapper
    4. Refactor GET Methods
    5. Refactor PUT Method
    6. Implement Repository Pattern - Part 1
    7. Implement Repository Pattern - Part 2
    8. Refactor Controller to Use Repository
    9. Review and Add to GitHub
  7. Creating Additional API Behaviours
    1. Section Overview
    2. Scaffholding Controller and Actions
    3. Setup Repository
    4. Setup Data Transfer Object and Refactor Controller
    5. Testing Changes
    6. Review and Add to GitHub
  8. Securing your API
    1. Section Overview
    2. Setup User Identity Core
    3. Add Default User Roles
    4. Setup Auth Manager for Registration
    5. Setup Registration Endpoint
    6. Setup Login Endpoint
    7. Implement JWT Authentication - Part 1
    8. Implement JWT Authentication - Part 2
    9. Protecting Endpoints
    10. Implement Refresh Tokens
    11. Review and Add Changes to GitHub
  9. Value Added Features
    1. Add Logging
    2. Global Error Handling
    3. Implementing API Versioning
    4. Implement Caching
    5. Implement Paging
    6. Exploring OData
    7. Project Architectural Changes
    8. Repository Factor
    9. Controller Refactor
    10. Add JWT Authentication to Swagger Doc
    11. Review and Changes to GitHub
  10. API Hosting and Deployment (IIS and Azure)
    1. Create Microsoft Azure Account
    2. Deploy Application and Database to Microsoft Azure
  11. Conclusion
    1. Conclusion

Product information

  • Title: Ultimate ASP.NET Core Web API Development Guide
  • Author(s): Trevoir Williams
  • Release date: August 2022
  • Publisher(s): Manning Publications
  • ISBN: 10000DIVC2022122