Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building Web APIs with ASP.NET Core

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to build robust web APIs with ASP.NET Core, the open-source framework for Windows, macOS, and Linux.

Syllabus

Introduction
  • APIs today
  • Why an API?
  • What you should know
1. Getting Started
  • Prerequisites and setup
  • "Hello World," API style
  • "Hello World" with Visual Studio Code
  • HTTP in a nutshell
  • REST basics
  • API design basics
  • Tools for API testing
2. Retrieving Data
  • Controllers and actions
  • Routing basics
  • Creating a data model
  • Using Entity Framework Core
  • Returning a list of items
  • Using IActionResult
  • Returning an item
  • Handling errors
  • Making the API asynchronous
3. Advanced Data Retrieval
  • Introduction
  • Paginating items
  • Filtering items
  • Searching items
  • Sorting items
  • Challenge: Advanced search
  • Solution: Advanced search
4. Writing Data
  • HTTP verbs
  • ASP.NET model binding
  • Model validation
  • Adding an item with POST
  • Updating an item with PUT
  • Deleting an item with DELETE
  • Challenge: Deleting several items
  • Solution: Deleting several items
5. API Versioning
  • Versioning options
  • The Microsoft versioning library
  • Implement URL versioning
  • Implementing header versioning
  • Implementer query string versioning
  • Documenting the API
6. Securing APIs
  • Enforcing HTTPS
  • Consuming the API with JavaScript
  • Cross-Origin Resource Sharing (CORS)
  • Enabling CORS
  • OAuth and OpenID Connect
  • Setting up IdentityServer
  • Securing the API with IdentityServer
  • Consuming the protected API
Conclusion
  • Next steps

Taught by

Christian Wenz

Reviews

4.6 rating at LinkedIn Learning based on 257 ratings

Start your review of Building Web APIs with ASP.NET Core

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.