This is introductory tutorial that will get you up to speed with using Windsor in a simple web application. The application is called To be seen and helps user collect information about upcoming movies, CDs, books, events etc, and set up reminders for when they come up.
The tutorial assumes no prior familiarity with Windsor, any other container or related concepts. However a sound knowledge of C# and some experience with ASP.NET (hopefully in its MVC incarnation) is required.
You can find the entire code for finished application on github.
So far the following parts were published:
- Part One - Getting Windsor discusses downloading Windsor assemblies and adding them to your project
- Part Two - Plugging Windsor In discusses creation of custom controller factory
- Part Three - Writing Your First Installer discusses writing Windsor installer
- Part Three (a) - Testing Your First Installer discusses testing Windsor installers (validating conventions)
- Part Four - Putting It All Together discusses using all elements from previous parts to get a working application
- Part Five - Adding Logging Support discusses using logging facility to add logging support to the application
- Part Six - Persistence Layer discusses creating custom facility and registering externally created objects, as well as setting up NHibernate
- Part Seven - Lifestyles discusses using different lifestyles, per-web-request in particular
- Part Eight - Satisfying Dependencies discusses how dependencies are resolved and what approaches there is to specify dependencies
- Part Nine - Diagnosing missing dependency issues discusses how to approach exceptions throw from the container