Building Web APIs with ASP.NET Core
Offered By: LinkedIn Learning
Course Description
Overview
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
- 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
- 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
- Introduction
- Paginating items
- Filtering items
- Searching items
- Sorting items
- Challenge: Advanced search
- Solution: Advanced search
- 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
- Versioning options
- The Microsoft versioning library
- Implement URL versioning
- Implementing header versioning
- Implementer query string versioning
- Documenting the API
- 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
- Next steps
Taught by
Christian Wenz
Related Courses
Program a Server-Side Application using ASP.NET CoreMicrosoft via edX ASP NET Core,MVC,C#,Angular, ChatGPT & EF Crash Course
Udemy Build a Real-world App with ASP.NET Core and Angular 2 (4+)
Udemy .NET Core MVC - The Complete Guide 2024 [E-commerce] [.NET8]
Udemy Building Your First API with ASP.NET Core
Pluralsight