Packt

Building and Securing Web APIs with ASP.NET Core

Labor Day starts with $70+ in savings on Coursera Plus. Save 40% for 3 months.

Packt

Building and Securing Web APIs with ASP.NET Core

Included with Coursera PlusLearn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Scaffold database-driven API endpoints efficiently and apply best practices in controller design.

  • Implement DTOs to manage data shaping, validation, and secure responses in APIs.

  • Apply advanced authentication, JWT, API keys, and role-based authorization in ASP.NET Core.

  • Design scalable and maintainable service layers with dependency injection and AutoMapper.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

August 2026

Assessments

9 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the The Definitive ASP.NET Core Web API Guide Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 7 modules in this course

In this module, we will introduce scaffolding in ASP.NET Core and demonstrate how it accelerates API development. You will scaffold controllers for countries data, review the generated code, and refine it for efficiency. The module concludes with hands-on testing to ensure your endpoints work flawlessly.

What's included

7 videos2 readings1 assignment

In this module, we will scaffold API endpoints for hotel data and explore how related database data affects API design. You will implement, test, and refine endpoints to handle complex relationships efficiently. By the end, your hotel APIs will be both functional and optimized for real-world use.

What's included

7 videos1 assignment

In this module, we will explore DTOs and their importance in shaping, validating, and securing API data. You will implement DTOs across country and hotel endpoints and refactor controllers for clean, maintainable responses. The focus is on improving data integrity and controlling what your API exposes.

What's included

9 videos1 assignment

In this module, we will introduce the service layer and its benefits for organizing API business logic. You will learn Dependency Injection, implement AutoMapper, and apply the Results Pattern to standardize responses. The module concludes with testing and optimization to ensure a robust, scalable API architecture.

What's included

14 videos1 assignment

In this module, we will focus on securing your ASP.NET Core API using various authentication and authorization techniques. You will implement Identity, JWT, API keys, and role-based controls. Comprehensive testing ensures your endpoints are protected and compliant with best security practices.

What's included

25 videos1 assignment

In this module, we will develop a full-featured hotel booking system within your API. You will build endpoints, implement business logic, secure access, and validate data. Thorough testing ensures a reliable booking experience for both users and administrators.

What's included

16 videos1 assignment

In this module, we will explore advanced architectural patterns for ASP.NET Core APIs. You will learn to structure core, data, and application layers, manage configurations, and enhance maintainability. The module concludes with testing to verify that your architecture supports robust, scalable applications.

What's included

8 videos1 reading3 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
2,145 Courses655,267 learners

Offered by

Packt

Explore more from Mobile and Web Development

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions