Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.03 KB

File metadata and controls

27 lines (15 loc) · 1.03 KB

Polly ShoppingCart Example

This is the Polly-enhanced variant of the ShoppingCart Example within a single solution. It uses the Polly library to demonstrate resilience patterns in a .NET shopping cart application.

Prerequisites

  • .NET SDK
  • Visual Studio or another IDE that supports .NET development
  • Polly library (included in the project dependencies)

Running the Polly Variant

  1. Open the Solution:

    Launch Visual Studio and open the main solution file that includes the Polly ShoppingCart Example.

  2. Set Polly Project as Startup Project:

    Right-click on the ShoppingCartExample.Polly project in the Solution Explorer and select 'Set as Startup Project'.

  3. Run the Application:

    Start the application by pressing F5 or by selecting "Start Debugging" from the "Debug" menu.

Conclusion

The Polly variant provides insight into advanced resilience patterns and their implementation in .NET applications. It's a practical example for developers looking to enhance their applications' fault tolerance.