Table of Contents: A Comparison of Some Dependency Injection Frameworks

Part 1 Introduction and Motivation A discussion of the motivation behind looking at a number of dependency injection frameworks, and which ones we will look at. Part 2 Scenarios To Be Tested A description of the various tests to be run on the dependency injection frameworks. Part 3 Spring with XML Configuration (Java) A detailed look at running the tests … Continue reading Table of Contents: A Comparison of Some Dependency Injection Frameworks

A Comparison of Some Dependency Injection Frameworks: Part 4 Spring.Net with XML Configuration (.Net)

Introduction Parts 1 to 3 of this series of articles outlined a series of tests we will be running on various dependency injection frameworks.  Part 3 looked at how we would run these tests in Spring for Java using XML configuration. This article will very briefly look at the same tests being run in Spring.Net. … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 4 Spring.Net with XML Configuration (.Net)

A Comparison of Some Dependency Injection Frameworks: Part 2 Scenarios To Be Tested

Introduction Part one of this series of articles discussed a set of dependency injection frameworks that we will be examining, and also the motivation behind this. This article describes the tests we will be performing and how they will be constructed in code. The Scenarios Tested The following dependency injection scenarios will be tested: Configuration … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 2 Scenarios To Be Tested

A Comparison of Some Dependency Injection Frameworks: Part 1 Introduction and Motivation

Introduction This article is the first in a series of articles that will look briefly at a number of dependency injection (‘DI’) frameworks, and will try to compare them by implementing some fairly standard DI constructs.  The articles will consider both Java and .Net frameworks.  The selection of frameworks will not be particularly scientific or comprehensive: they are simply the … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 1 Introduction and Motivation

Extending Classes: Extension Methods or Inheritance?

Introduction Extension methods were introduced in C# 3.0 as a way of extending a class without necessarily having access to the original source code of the class. As discussed in the C# Programming Guide on MSDN, extension methods were primarily introduced to the language to allow LINQ to add standard query operators such as GroupBy … Continue reading Extending Classes: Extension Methods or Inheritance?

Running Visual Studio as an Administrator under Windows Vista

Introduction This article discusses why we should run Visual Studio as an administrator, and examines the easiest way to do that under Windows Vista. Visual Studio and Administrator Rights As .Net developers we need to be able to run Visual Studio as a Windows administrator. Visual Studio 2005 actually warns you at start up if … Continue reading Running Visual Studio as an Administrator under Windows Vista

Table of Contents: Introduction to using Financial Products Markup Language (FpML) with Microsoft .NET Tools

Part 1 Introduction An overview of how we can use Visual Studio to examine the FpML XSDs. Shows how to create a Visual Studio project containing the FpML schemas, and how to use that to navigate through them. Also shows how to validate the XML examples that are provided in the FpML download, both using … Continue reading Table of Contents: Introduction to using Financial Products Markup Language (FpML) with Microsoft .NET Tools

Problems with Using xsd.exe to Generate .NET Classes from the FpML XSD Schema (Introduction to using FpML with .NET Tools Part 4)

Introduction Part 3 of this series of articles showed how we can generate .NET classes from the FpML XSD schema using xsd.exe. It showed how we can then use standard .NET serialization syntax to populate the classes from FpML documents, and vice versa. However, as mentioned in part 3, xsd.exe generates buggy code when used … Continue reading Problems with Using xsd.exe to Generate .NET Classes from the FpML XSD Schema (Introduction to using FpML with .NET Tools Part 4)