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

Coursera

.NET Core Microservices - The Complete Guide (.NET 6 MVC)

Packt via Coursera

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
In this course, you'll learn the foundational elements of microservices by building a real microservices-based application with .NET 6. We'll incrementally construct multiple microservices, utilizing IdentityServer for authentication and authorization. The course covers basic blocks of IdentityServer, .NET API, Ocelot, Entity Framework Core, and clean architecture with .NET 6. You'll develop e-commerce modules including product, shopping cart, ordering, payment, and email microservices, using SQL Server and Azure Service Bus with Ocelot API Gateway. By the end of the course, you'll have a complete application with seven fully functional .NET-based microservices, understanding every line of code and their interactions. Topics include .NET 6 microservices architecture, role-based authorization with IdentityServer, Azure Blob Storage basics, and Azure Service Bus. This course is designed for intermediate to advanced developers with a basic understanding of .NET Core and MVC frameworks. Familiarity with C# programming and fundamental web development concepts is recommended.

Syllabus

  • Introduction
    • In this module, we will introduce the basics of microservices architecture and explain why it's a critical approach in modern software development. We'll cover the course structure, prerequisites, and the tools you need to get started, setting a solid foundation for the journey ahead.
  • Product API Basic Setup
    • In this module, we will guide you through the basic setup of the Product API using .NET 6. You'll learn about essential changes in .NET 6, set up the project, and configure the database context and tables, laying the groundwork for further development.
  • Products API Advance Setup
    • In this module, we will delve into advanced setup tasks for the Product API. You'll learn how to create DTOs, implement the repository interface and its methods, and configure AutoMapper for seamless data transformations within your API.
  • Product CRUD
    • In this module, we will focus on creating, reading, updating, and deleting products via the Product API. You'll learn how to debug API calls, manage product data, and ensure your CRUD operations are efficient and effective.
  • IdentityServer
    • In this module, we will explore IdentityServer, a robust solution for handling authentication in microservices. You'll learn about OAuth2, OpenID Connect, and how to set up IdentityServer to secure your APIs and manage user authentication effectively.
  • Home and Details
    • In this module, we will guide you through setting up action methods and views for home and detail pages. You'll learn to implement and manage the Index and Details views, integrating front-end components with the back-end services for a seamless user experience.
  • Shopping Cart API Service
    • In this module, we will create and configure the Shopping Cart API. You'll learn to set up entity models, create and push DTOs, and develop repository methods to manage shopping cart data efficiently.
  • Consume Shopping Cart API Service
    • In this module, we will consume the Shopping Cart API by creating necessary models and service interfaces. You'll learn to configure services and integrate API consumption into a demo application, ensuring smooth data flow and functionality.
  • Shopping Cart UI
    • In this module, we will focus on developing the user interface for the Shopping Cart. You'll learn to implement controller methods for UI interactions, debug API calls, and optimize the shopping cart functionality for a better user experience.
  • Coupon API Service
    • In this module, we will create and configure the Coupon API service. You'll learn to implement models and DTOs, develop repository methods, and set up controllers to manage coupon operations effectively within the API.
  • Consume Coupon API
    • In this module, we will consume the Coupon API by configuring shopping cart methods for coupon operations. You'll learn to implement and test the logic for applying and removing coupons, ensuring seamless integration within the application.
  • Checkout Functionality
    • In this module, we will focus on developing the checkout functionality in the cart service. You'll learn to implement synchronous and asynchronous communication methods, optimize the checkout process, and test it for efficient performance.
  • Azure Service Bus
    • In this module, we will explore Azure Service Bus, setting it up and configuring it for message handling. You'll learn to implement the message bus interface and sender, send messages to topics, and process them efficiently using Azure Service Bus.
  • Order API
    • In this module, we will create and configure the Order API. You'll learn to implement models and repository methods, integrate Azure messaging for order processing, and ensure seamless data flow within the order management system.
  • Sync Microservice Communication
    • In this module, we will focus on synchronous communication between microservices. You'll learn to implement repository interfaces and methods, configure real-time data synchronization, and ensure effective communication across microservices.
  • Payments
    • In this module, we will explore payment processing, and setting up a class library for it. You'll learn to implement payment flow and status models, integrate payment messages, and consume them via Azure Service Bus for efficient transaction handling.
  • Queue
    • In this module, we will set up and use queues for message forwarding. You'll learn to implement and manage an email microservice, handle multiple subscribers, and configure the Azure consumer bus for efficient message handling.
  • Ocelot
    • In this module, we will set up and configure the Ocelot API Gateway. You'll learn to implement routing and aggregation for APIs, integrating Ocelot with various endpoints for efficient request handling and response management.
  • RabbitMQ
    • In this module, we will explore RabbitMQ for messaging, setting it up and configuring it for efficient message handling. You'll learn to implement exchanges and queues, integrate RabbitMQ with microservices, and ensure seamless communication across services.

Taught by

Packt - Course Instructors

Reviews

Start your review of .NET Core Microservices - The Complete Guide (.NET 6 MVC)

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.