Web API Development with ASP.NET Core 8


Course Number: ASPNC-126
Duration: 4 days (26 hours)
Format: Live, hands-on

ASP.NET Core 8 Training Overview

This ASP.NET Core 8 training course teaches attendees how to design and build high-performance, secure, well-architected REST APIs that various clients can consume. This course focuses specifically on APIs and does not include coverage of web UI topics such as Views and Razor Pages. An introduction to Blazor is included, but it is not covered in-depth.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand the goals and benefits of ASP.NET Core 8.0
  • Learn to make good decisions about application architecture and data access technology
  • Use ASP.NET’s routing system to achieve a REST-style architecture
  • Gain experience building a service that makes data available via a modern web API
  • Learn best practices for employing unit testing, logging, and error handling
  • Understand different authentication choices for securing a web API
  • Get an introduction to Blazor and gRPC
  • Understand the different cross-platform deployment options available including via Docker containers

Prerequisites

  • Previous experience developing web-based applications with C#
  • Some familiarity with HTML, CSS, and JavaScript

Outline

Expand All | Collapse All

Introduction
  • Evolution of .NET and .NET Core
  • .NET SKDs and Runtimes
  • Visual Studio and Visual Studio Code
.NET 6.0 SDK
  • Installation
  • Version Management
  • Command-Line Interface (CLI)
Modern C# and What's New in C# 12.0
  • Multi-paradigm C#
  • Features from Functional Programming
  • Evolution of Nullability in .NET
Immutability
  • Designing for Concurrency
  • Deferred Execution
ASP.NET Core Application Architecture
  • NuGet Packages
  • Application Startup
  • Hosting Environments
  • Middleware and the Request Pipeline
  • Services and Dependency Injection
Application Configuration
  • Configuration Providers and Sources
  • Configuration API
  • Options Pattern
  • HTTPS and HTTP/2
Request Routing
  • RESTful Services
  • Endpoint Routing
  • Route Templates
  • Route Constraints
  • Route Template Precedence
  • Attribute-Based Routing
Models
  • Persistence Ignorance
  • Dependency Inversion
  • Asynchronous Data Access
  • Object-Relational Mapping
  • Entity Framework Core
  • Dapper ORM
Controllers
  • Responsibilities
  • Requirements and Conventions
  • Dependencies
  • Action Results
  • ApiController Attribute
Web APIs
  • API Controllers
  • OpenAPI / Swagger
  • Testing APIs
  • Content Negotiation
  • CRUD Operations
  • Patch Requests
  • Cross-Origin Resource Sharing (CORS)
Data Validation
  • Introduction
  • Data Annotations
  • Model Binding
Error Handling
  • Best Practices
  • HTTP Error Status Codes
  • Developer Exception Page
Logging
  • Configuration
  • ILogger
  • Serilog and Seq
Testing
  • Unit Testing
  • xUnit
  • Testing Controllers
  • Integration Testing
Security
  • Authentication
  • ASP.NET Identity
  • Bearer Tokens
  • Authorization
Web API Authentication
  • OAuth 2.0 and OpenID Connect
  • Secrets Management
Remote Procedure Calls (gRPC)
  • Introduction
  • Protobuf
  • Server
  • Client
  • Limitations
Deployment
  • dotnet publish
  • Kestrel
  • IIS
  • Docker
Conclusion

Training Materials

All ASP.NET Core training students receive comprehensive courseware.

Software Requirements

  • .NET 8.0 SDK
  • Visual Studio 2022 (17.8 or later), VS Code, or Rider
  • Lab file bundle provided with the course


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan