StateValue
The Composite Web Application Block ( CWAB ) in the Web Client Software Factory can be used in the ASP.NET MVC Framework for business module discovery and initialization as well as dependency injection of Controllers. In this quick tutorial I will show you code snippets for doing this from my presentation at the South Florida Code Camp. We will also use the StateValue<T> Class to abstract out the fact that we store our Shopping Cart for our green tea store in Session State. Evolution of the WCSF to use the Unity Dependency Injection Container in Enterprise Library 4.0 would be a natural progression when Enterprise Library 4.0 is released.
Read More