Management of a MyGolfGear.NET Order

At the center of the MyGolfGear.NET Web application is the order. This, of course, is the place where we keep information pertaining to what the consumers want, where to ship the products, how much the order will cost them, and how they will pay for the merchandise.Because this logic is so important, rather than have this code spread throughout our .aspx pages, we created a component named OrderManager to manage a MyGolfGear.NET order.

All manipulation of an order is done through the OrderManager component. For example, instead of having several .aspx pages contain the code and logic to create an order, we created the CreateNewOrder method within the OrderManager component. This method helps us in many ways. ...

Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.