October 2010
Intermediate to advanced
1920 pages
73h 55m
English
To this point, we used the Profile properties to represent simple types such as strings and integers. You can use Profile properties to represent more complex types such as a custom ShoppingCart class.
For example, the class in Listing 28.28 represents a simple shopping cart.
Listing 28.28. App_Code\ShoppingCart.cs


The file in Listing 28.28 actually contains two classes: ShoppingCart and CartItem. The ShoppingCart class exposes a collection of CartItem objects.
The web configuration file in Listing 28.29 defines ...
Read now
Unlock full access