CastleProject

IoC/DI using Windsor Container

This is a modified version of the presentation that I gave at Tulsa TechFest. It is being prepared for the Topeka .NET User Group Meeting where I will most likely be giving a presentation in January or February. There are a lot of things that bear the name Windsor, as I highlight in the beginning of my presentation. Download Solution - IOC_Example.zip To run the solution you need both AdventureWorks and Northwind installed. You can run Northwind on SQL Server 2005 with 2000 compatibility mode set ......

Tulsa TechFest 2007

Last month I had the pleasure of going to Tulsa TechFest for the second time and I have to say that I am more impressed with it this time versus the last time I visited. The last time I went I was on military leave and I was at Ft. Sill during the time so I came over because my buddy Tim was talking and I hadn't yet seen him give any presentations. I went back this year to give a presentation on Interface based development, Inversion of Control, and Dependency Injection. My examples of this were ......

DevConnections - MVC Framework for ASP.NET

This was my first chance to see the MVC (model view controller) Framework as when I was at Tulsa TechFest, I was presenting at the same time and didn't get to see Palermo's version of it. I was blown away by Scott Hanselman's great presentation skills. He is definitely a great speaker. Phil Haack was also in the audience (the new PM for the MVC Framework). I am really excited about seeing this come out. Like Monorail, you can also plug in Brail or NVelocity as well as the default. Being able to have ......

The Future of .NET Open Source Software Delivery

Imagine we are awhile into the future. How do you get open source releases down to your project so that you can use them? How do you get the products down to your computer so that you can use them? Is it easier or harder than the way we’ve always done it before? The Past and Present Before we can go there, let’s look at what we do now (the past is really the same for us here). Let’s say I want to use NHibernate. What do I do? There are basically three paths we all follow in this process. 1. Never ......

Gems - Package Management For .NET

The Ruby community has enjoyed a great user experience with a package management system they use called Gems. A gem is a package (or a library), compressed with some additional metadata, and can be either source files or binaries. Let’s focus on binary gems. We have the same concept in .NET (DLLs/EXEs). You may have references to other DLLs. When you want to update a reference you are using on a project, you may also need to update its dependencies as well. And so on and so forth. A package management ......

The Real Reason to Use IoC/DI (Inversion of Control/Dependency Injection) and a Container Like Windsor

Can you imagine maintenance where you would only have to change a configuration? How about not having to touch existing production code but be able to completely change the behavior of an existing application?! The real reason to use a dependency injection container is Maintenance. When considering that after you write your first line of code, everything from that point on is maintenance, maintenance is a pretty big deal. Containers make changes seamless. Actually, interface-based development makes ......

Windsor is Like Dad Helping with a 6th Grade Science Project...

You remember when you were in sixth grade and you did your science project all on your own, but Sally and Billy had their fathers help them? Your project looked like a sixth grader put it together, and Sally's project, well it looked more like a professional did it. Sally's project looked much more professional than yours...and why was that? Was it because Sally was just very creative and good at that kind of stuff and you weren't? Was it because she had better access to resources to complete hers? ......