The implementation of all four requirement keys is now complete. After adding products to the shopping cart in the product browser form, we can click on the Shopping Cart link at the top of the page, which links to Cart.aspx. There, the items are read from the session object and displayed as shown in Figure 11.12.
Figure 11.12. Shopping Cart Form
In this chapter programming of unit tests has been exercised to a great extent. In doing so, we have achieved a significant improvement:
After fixing a few bugs and implementing a workaround for the problem found in the .NET Framework, our code has passed all unit tests, and the go/no-go criteria for this iteration have been fulfilled. Early testing is a major factor in product robustness. Furthermore, we have shown that even for Web-based applications, fully automated unit tests are feasible.
In the next iteration, the construction phase of this project will be completed with the implementation of a secure checkout procedure for Online Photo Shop.
Introducing Software Engineering
A .NET Prototype
The Photo Editor Application
GDI+ Graphics Extensions
Advanced GDI+ Operations
Dynamic Loading of Components
Accessing System Resources
Performance Optimization, Multithreading, and Profiling
Building the Web Application with ASP.NET
Security and Database Access