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

Coursera

Optimizing and Deploying ASP.NET Core Web APIs

Packt via Coursera

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This course empowers developers to build high-performance, scalable, and maintainable ASP.NET Core Web APIs. You’ll gain practical skills in implementing search, filtering, paging, caching, rate limiting, and structured logging, enabling you to optimize API performance while following industry best practices. The journey begins with mastering search, filter, and paging operations to handle large datasets efficiently. You will then explore implementing PATCH endpoints, tweaking EF Core performance, and leveraging caching strategies. Each module includes hands-on exercises and testing to ensure your API is both robust and responsive. Next, the course guides you through advanced practices like rate limiting, structured logging with Serilog, global exception handling, and health checks to monitor API stability. Finally, you’ll learn versioning, documentation using Swagger, and deploying your API to Microsoft Azure, providing full-stack deployment experience from code to cloud. Ideal for backend developers, software engineers, and IT professionals, this course requires basic familiarity with C# and ASP.NET Core. Difficulty is intermediate, with practical exercises designed to enhance performance, security, and maintainability of APIs in real-world scenarios. By the end of the course, you will be able to implement efficient search, filtering, and paging in your APIs, optimize EF Core queries, leverage caching and rate limiting, set up structured logging and health monitoring, manage API versioning and documentation, and successfully deploy APIs to Microsoft Azure.

Syllabus

  • Searching, Filtering, and Paging
    • In this module, we will explore how to make your ASP.NET Core APIs more dynamic by adding search, filtering, and paging capabilities. You will learn to structure models, implement extensions, and test functionality for real-world applications. Best practices will be highlighted to ensure optimal performance and scalability.
  • Implementing the PATCH HTTP Verb
    • In this module, we will dive into the PATCH HTTP verb to update specific fields of resources efficiently. You will implement PATCH endpoints and learn strategies for partial updates. The module also covers best practices to maintain API consistency and performance.
  • EF Core Performance Tweaks
    • In this module, we will focus on improving the performance of your APIs by tuning EF Core operations. You will learn practical tweaks and optimizations for efficient data retrieval. Additional considerations will help you scale your API for high-demand scenarios.
  • Caching for Performance
    • In this module, we will explore caching strategies to significantly enhance your API’s performance. You will implement different caching options, handle cache invalidation, and test cache efficiency. Additional considerations will ensure your cache implementation is robust and maintainable.
  • Rate Limiting for Performance and Security
    • In this module, we will learn how rate limiting protects your API from overuse and improves performance. You will implement controls to regulate requests and explore best practices for different scenarios. This ensures both fair usage and security for your services.
  • Structured Logging and Global Exception Handling
    • In this module, we will cover structured logging and global exception handling for ASP.NET Core APIs. You will implement Serilog, configure log levels, and integrate structured error responses. The module ensures your API is maintainable, debuggable, and production-ready.
  • Health Checks
    • In this module, we will implement health checks to monitor the status of your API and its dependencies. You will learn to add internal and external health checks and visualize results with a UI dashboard. This ensures reliable monitoring and early detection of issues.
  • Versioning and Documenting the API
    • In this module, we will explore API versioning and documentation techniques. You will learn to manage multiple API versions and deprecate endpoints without disruption. Additionally, Swagger integration ensures clear, interactive documentation for developers.
  • Publish to Microsoft Azure
    • In this module, we will guide you through publishing your ASP.NET Core Web API to Microsoft Azure. You will learn to set up resources, deploy databases, and validate deployments. The module provides a complete end-to-end workflow for cloud hosting.
  • Conclusion
    • In this module, we will review all the concepts covered in the course and summarize key takeaways. You will consolidate your learning and explore suggestions for further development. This final module prepares you to confidently apply your skills in real-world scenarios.

Taught by

Packt - Course Instructors

Reviews

Start your review of Optimizing and Deploying ASP.NET Core Web APIs

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.