4. Web Application Demo - Gluzberg/cart-client GitHub Wiki

Content


  • Please follow the Clone and Build instructions in 1. Getting-Started.

  • To run the Web Application Demo, please enter:

    cd CartClient.Demo.Web
    dotnet run
    
  • The following then shall be prompted:

    Now listening on: http://localhost:49683
    
  • Open the application in your web browser: http://localhost:49683

  • The following should be then displayed:

    start

Add Product to Cart

  • Click on the Add button on one of the products in the catalog:

    add

  • As a result the product now appears in the cart:

    added

Modify Product Amount in Cart

  • Click on the + or the - button on one of the products in the cart:

    inc

  • As a result the amount of the product is now updated in the cart:

    inc-result

Remove Product from Cart

  • Click on the bin button on one of the products in the cart:

    remove

  • As a result the product is now removed from the cart:

    remove-result

Start Over

  • In case of a full cart that shall be cleared out:

    remove

  • Click on the Start Over link in the header of the cart:

    remove

  • As a result all the cart is deleted and a new one empty cart is created:

    empty

  • The cart expires after 1 hour of initial page load or after a start over.
  • After expiration a new blank cart is created.
⚠️ **GitHub.com Fallback** ⚠️