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.
- .NET SDK
- Visual Studio or another IDE that supports .NET development
- Polly library (included in the project dependencies)
-
Open the Solution:
Launch Visual Studio and open the main solution file that includes the Polly ShoppingCart Example.
-
Set Polly Project as Startup Project:
Right-click on the
ShoppingCartExample.Polly
project in the Solution Explorer and select 'Set as Startup Project'. -
Run the Application:
Start the application by pressing
F5
or by selecting "Start Debugging" from the "Debug" menu.
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.