Packt

Securing, Testing, and Extending ASP.NET Core Web APIs

Packt

Securing, Testing, and Extending ASP.NET Core Web APIs

Included with Coursera PlusLearn more

Ask Coursera

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

Recommended experience

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

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Implement authentication, authorization, user management, and security best practices in ASP.NET Core web APIs.

  • Create and execute unit and integration tests to validate API functionality, reliability, and behavior.

  • Build and extend APIs using gRPC, GraphQL, and SignalR for modern communication scenarios.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

July 2026

Assessments

6 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 Web API Development with ASP.NET Core 8 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 6 modules in this course

This module guides learners through essential security practices in ASP.NET Core, including implementing authentication, role-based and claim-based authorization, and securing APIs with HTTPS. Learners will also explore JWT token structure, policy-based authorization, user and role management with ASP.NET Core Identity, and advanced topics like OpenID Connect and two-factor authentication. By the end, you'll be equipped to secure web applications and APIs effectively.

What's included

1 video11 readings1 assignment

This module introduces the fundamentals of unit testing in ASP.NET Core, including writing tests for services and database access layers using tools like Moq and FluentAssertions. Learners will explore best practices for isolating dependencies, managing test data, and ensuring robust coverage for both expected and edge-case scenarios. The module also covers test parallelism and the repository pattern to enhance test reliability and maintainability.

What's included

1 video10 readings1 assignment

This module guides learners through the process of integration testing in ASP.NET Core APIs, including how to test interactions between components, handle authentication and authorization in tests, and measure code coverage. Learners will gain practical skills in setting up realistic test environments and ensuring robust API functionality.

What's included

1 video6 readings1 assignment

This module introduces the fundamentals of gRPC, including how to define Protobuf messages and services, implement various streaming patterns, and integrate gRPC with ASP.NET Core applications. Learners will gain hands-on experience in creating, consuming, and updating gRPC services using contract-first development. Key concepts such as field numbers, GUIDs, and handling nullable values in Protobuf are also covered.

What's included

1 video12 readings1 assignment

This module guides learners through building robust GraphQL APIs in ASP.NET Core using HotChocolate. You will explore schema design, implement queries and mutations, utilize resolvers and data loaders, and enhance APIs with filtering, sorting, and pagination. Advanced topics such as interface and union types are also covered to help you create flexible and efficient data models.

What's included

1 video12 readings1 assignment

This module introduces the fundamentals of building real-time web applications using SignalR, including setup, client integration across platforms, and secure communication. Learners will explore authentication, user and group management, and strategies for handling connection reliability. Practical examples demonstrate how to implement chat functionality and send messages from various services.

What's included

1 video9 readings1 assignment

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,044 Courses613,223 learners

Offered by

Packt

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