Learn your way! Get started

ASP.NET CORE 6 Microservices, Part 5 of 9: Cart UI and Coupon Project

with expert Bhrugen Patel


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 10/18/2021
Level Intermediate
Runtime 1h 29m
Closed captioning N/A
Transcript N/A
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Microservices make it easier to develop, test, and deploy isolated parts of your application. Once deployed, each microservice can be independently scaled as needed. In this course Microservices will be used to build a real world application witha focus on creating a Cart Controller, Coupon API Service and Configuring Checkout.

Prerequisites

Basic understanding of .NET Core CRUD Operations Entity Framework Core Basic API Creation and Consumption

Meet the expert

I have a master's of science degree in computer science, and a bachelor of Computer Engineering. I also have many years of experience with .NET, C#, and .NET MVC. I enjoy teaching along with my full-time job.

Course outline



Module 5

Add Cart Controller (19:11)
  • Introduction (00:08)
  • Shopping Cart User Interface (00:22)
  • Add Cart Controller (02:13)
  • Method to Load Shopping Cart (04:55)
  • Debugging API Call to Shopping Cart (03:02)
  • Shopping Cart UI (06:00)
  • Remove items from Cart (02:20)
  • Summary (00:08)
Coupon API Service (15:57)
  • Introduction (00:08)
  • Coupon API Service (00:32)
  • Create Coupon Project and Add NuGet Packages (02:07)
  • Setup Coupon API Project (03:19)
  • Coupon Models and DTO's (02:55)
  • Coupon Repository (03:52)
  • Coupon Controller (02:54)
  • Summary (00:08)
Configure Shopping Cart API with new methods (34:19)
  • Introduction (00:08)
  • Consume Coupon API (00:22)
  • Configure Shopping Cart API with new methods (04:29)
  • Logic for Apply or Remove Coupon in View (02:26)
  • Cart Controller and Service for Applying or Remov (03:38)
  • Demo: Apply or Remove Coupon (02:39)
  • Configure Cart Service In Main Project (03:37)
  • Demo: Calling Coupon Microservice (07:58)
  • CheckOut UI (05:17)
  • DateTimePicker (03:33)
  • Summary (00:08)
Checkout Message (20:04)
  • Introduction (00:08)
  • Checkout (00:34)
  • Checkout Message (03:51)
  • Checkout Method in Cart Service (02:58)
  • Checkout Post Action (02:55)
  • Demo: Checkout Header Dto (02:24)
  • Async Await is not Async Communication in the pro (01:46)
  • Synchronous vs Asynchronous communication (05:17)
  • Summary (00:08)