I recently wrote a post about how to set up CW’s IOC container for applications. This post covered the most basic implementation to get an IOC container up and running. It is now time to cover a proper architecture for using IOC specifically for web applications / sites. The main problem with the previous implementation [...]
Archive for September, 2010
Setting up Castle Windsor IOC for web applications
Posted in Architecture, Castle Windsor, Design Patterns, IOC, NHibernate, ORM, TDD, tagged c#, Castle Windsor, Design Patterns, domain, IOC, loosely coupled, Mapping files, NHibernate, ORM, separation of concerns, test driven design, web architecture on September 27, 2010 | 2 Comments »
Setting up a Windows Service
Posted in Back to basics - C#, tagged installers, windows service on September 19, 2010 | Leave a Comment »
This is just a quick post to cover some of the schoolboy tasks when creating a Windows Service in C#. To create a windows service: Choose the project Windows Service Write code in OnStart and OnStop methods as appropriate In the InitializeComponent method, add the name of the service as it will appear in the [...]