Ultimate ASP.NET 5 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

About This Video

  • Build a fully data-driven REST Web API using cutting-edge technology
  • Deploy application and database on-premises with Internet Information Systems and SQL Server
  • Learn enterprise-level design patterns and troubleshoot and fix practical errors

In Detail

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. Finally, you will deploy applications and databases on-premises with Internet Information Systems, Microsoft SQL Server, and Microsoft Azure.

By the end, you’ll switch around to Visual Studio for your coding exercise because of 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.

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.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction to the Course
    1. Introduction
  2. Chapter 2 : Environmental Configuration
    1. Install Visual Studio 2019 Community Edition and .NET 5 SDK
    2. Set Up GitHub Account
    3. Install and Explore Postman
  3. Chapter 3 : Project Setup and Configuration
    1. Create and Tour Web API Project
    2. Configure Logging Using SeriLog
    3. Explore Swagger UI
    4. CORS Configuration
    5. Review and Add Changes to GitHub
  4. Chapter 4 : Database Modelling and Repository Pattern
    1. Implement Data Classes and Entity Framework
    2. Seed Data in Tables
    3. Set Up Service Repositories and Dependency Injection
    4. Set Up AutoMapper and DTOs
    5. Review and Add Changes to GitHub
  5. Chapter 5 : Working with GET Requests
    1. Overview
    2. Construct GET Endpoint
    3. Construct GET By ID Endpoint
    4. Set Up GET Endpoints for Hotels
    5. Final Touches and Add Changes to GitHub
  6. Chapter 6 : Securing Your App
    1. Section Overview
    2. Set Up User Identity Core
    3. User Registration Endpoint
    4. IMPORTANT - User Registration Endpoint Fix
    5. Add User Roles
    6. Explore JSON Web Tokens (JWT)
    7. Implement JWT Authentication
    8. Protecting Endpoints
    9. Review and Add Changes to GitHub
  7. Chapter 7 : Working POST, PUT, and DELETE Requests
    1. Construct POST Endpoint
    2. Construct PUT Endpoint
    3. Construct DELETE Endpoint
    4. Review and Add Changes to GitHub
  8. Chapter 8 : Value-Added Features
    1. Section Overview
    2. Implement Paging
    3. Global Error Handling
    4. Implementing API Versioning
    5. Implementing Caching
    6. Rate Limiting and Throttling
    7. Strongly Type Includes for Unit of Work
    8. Review and Add Changes to GitHub
  9. Chapter 9 : Project Architectural Changes
    1. Section Overview
    2. Set Up Data Models Project
    3. Set Up Application Core Project
    4. Clean Up and Test
    5. Review Modifications and Benefits
    6. Refresh Tokens
  10. Chapter 10 : API Hosting and Deployment (IIS and Azure)
    1. Configure Hosting Environment
    2. Publish Application to IIS and SQL Server
    3. Create Microsoft Azure Account
    4. Deploy Application and Database to Microsoft Azure

Product information

  • Title: Ultimate ASP.NET 5 Web API Development Guide
  • Author(s): Trevoir Williams
  • Release date: May 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801071956