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

Coursera

Minimal APIs in ASP.NET 9

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
In today’s fast-paced software ecosystem, building efficient and scalable APIs is vital for delivering modern web applications. Minimal APIs in ASP.NET 9 equips developers with the skills to design and implement high-performance API solutions using the latest .NET 9 framework. This course provides hands-on guidance to help learners understand API fundamentals, optimize code efficiency, and integrate essential backend components. By mastering these skills, you’ll be able to create reliable, scalable APIs that meet enterprise-grade performance standards. What sets this course apart is its exclusive focus on Minimal APIs in .NET 9. Combining theoretical insights with practical demonstrations, it bridges the gap between academic understanding and real-world implementation. The course is ideal for intermediate-level developers with prior experience in C# and .NET who want to expand their expertise in modern API development. A foundational grasp of web technologies and object-oriented programming is recommended.

Syllabus

  • Getting Up and Running with Minimal API Development
    • In this section, we explore minimal APIs using .NET 9.0 SDK, focusing on efficient setup, reduced overhead, and practical benefits over traditional approaches.
  • Creating Your First Minimal API
    • In this section, we explore building minimal APIs in .NET, focusing on project structure, defining HTTP endpoints, and handling requests and responses effectively.
  • The Anatomy of a Minimal API
    • In this section, we explore the structure of minimal APIs in ASP.NET, focusing on components like routing, middleware, and the request lifecycle to enhance application design and performance.
  • Handling HTTP Methods and Routing
    • In this section, we explore configuring HTTP endpoints, managing route parameters, and implementing request validation and error handling in minimal APIs for reliable API interactions.
  • The Middleware Pipeline
    • In this section, we explore ASP.NET middleware pipelines, focusing on configuring order, implementing custom middleware, and optimizing performance for scalable API development.
  • Parameter Binding
    • In this section, we explore parameter binding in API requests, focusing on sources like route values, query strings, and headers, and how to map client data to server-side objects for effective API interactions.
  • Dependency Injection in Minimal APIs
    • In this section, we will learn DI in ASP.NET, including container configuration, service lifetimes, and best practices for scalable development.
  • Integrating Minimal APIs with Data Sources
    • In this section, we will learn integrating minimal APIs with SQL and NoSQL databases for persistent data storage and management.
  • Object Relational Mapping with Entity Framework Core and Dapper
    • In this section, we explore how to use Object Relational Mapping (ORM) frameworks—specifically Entity Framework Core and Dapper—to configure minimal API projects and perform CRUD operations while promoting scalable and maintainable database interactions.
  • Profiling and Identifying Bottlenecks
    • In this section, we explore profiling techniques, resource monitoring, and common bottlenecks to optimize API performance and improve system efficiency.
  • Utilizing Asynchronous Programming for Scalability
    • In this section, we explore asynchronous programming in minimal APIs, focusing on non-blocking task execution, scalability, and common challenges like deadlocks and race conditions.
  • Caching Strategies for Enhanced Performance
    • In this section, we explore caching strategies to reduce system strain, including in-memory, distributed, and response caching techniques for improved API performance and resource efficiency.
  • Best Practices for Minimal API Resiliency
    • In this section, we explore code organization, error handling, and security practices to enhance API readability, scalability, and resilience using structured design patterns and best security protocols.
  • Unit Testing, Compatibility, and Deployment of Minimal APIs
    • In this section, we explore unit and integration testing, compatibility checks, and deployment methods for minimal APIs, focusing on reliable and sustainable application delivery.

Taught by

Packt - Course Instructors

Reviews

Start your review of Minimal APIs in ASP.NET 9

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.