More on UIExtensionSites (Introduction to CAB/SCSF Part 14)

Introduction Part 13 of this series of articles discussed UIExtensionSites, and gave a basic example of how they work. This article discusses UIExtensionSites in more detail, including a discussion of their use of the Adapter design pattern. Whilst most of this article is fairly straightforward, I should say now that I am very sceptical of … Continue reading More on UIExtensionSites (Introduction to CAB/SCSF Part 14)

Introduction to UIExtensionSites (Introduction to the CAB/SCSF Part 13)

Introduction Part 12 of this series of articles went into some detail on events in the Composite Application Block, and concluded our discussions of commands and events. As we’ve already discussed in this series of articles, the Composite Application Block (CAB) is intended as a means of creating smart client applications that are composed of … Continue reading Introduction to UIExtensionSites (Introduction to the CAB/SCSF Part 13)

Table of Contents for ‘Introduction to CAB/SCSF’ Articles (2)

I've revised the table of contents to give some detail on what each of the articles is about: Part 1 Modules and Shells A guide to these two core concepts without the need to understand dependency injection or WorkItems. Explains what a composite application is and why we might want one, and shows a naive … Continue reading Table of Contents for ‘Introduction to CAB/SCSF’ Articles (2)

Events in the CAB (Introduction to CAB/SCSF Part 12)

Introduction Part 11 of this series of articles gave a general introduction to events in the CAB. This article investigates what we can do with these events in a little more detail. Parameters of the Fire Method As shown in part 11, the Fire method has four parameters: workItem.EventTopics["MyEvent"].Fire(this, EventArgs.Empty, null, PublicationScope.Global); The first two … Continue reading Events in the CAB (Introduction to CAB/SCSF Part 12)

Introduction to Events in the CAB (Introduction to CAB/SCSF Part 11)

Introduction Part 10 of this series of articles described how the CAB implements commands. The CAB also provides a new way of raising and sinking events. This article will describe how this works. Overview of events in .NET Events in .NET are a publish-subscribe mechanism. We declare an event in a publisher class, instantiate the … Continue reading Introduction to Events in the CAB (Introduction to CAB/SCSF Part 11)

Commands in the CAB (Introduction to CAB/SCSF Part 10)

Introduction Part 9 of this series of articles discussed the Command design pattern. Commands in the CAB are a neat way of implementing this pattern. This article will examine them in some detail. Commands and Events As already discussed in part 9, commands in the CAB are closely related to events. In fact one of … Continue reading Commands in the CAB (Introduction to CAB/SCSF Part 10)

The Command Design Pattern (Introduction To The CAB/SCSF Part 9)

Introduction Part 8 of this series of articles concluded our discussion of services in the CAB. This article and part 10 of this series will talk about commands in the CAB. Commands are a neat way of implementing the Command design pattern. This article will briefly recap what the Command pattern is and why it … Continue reading The Command Design Pattern (Introduction To The CAB/SCSF Part 9)

Creating and Using Services in the CAB (Introduction to the CAB/SCSF Part 8)

Introduction Part 7 of this series of articles gave us a general introduction to services in the CAB. This article will go into more detail on the various ways we can create and use such services. Ways of Creating a Service We start with the various ways services can be created. This can be done … Continue reading Creating and Using Services in the CAB (Introduction to the CAB/SCSF Part 8)

Introduction to Services in the CAB (Introduction to the CAB/SCSF Part 7)

Introduction Part 6 of this series of articles concluded our discussion of dependency injection in the CAB. This article and part 8 of the series will discuss services in the CAB in some more detail. This article discusses services in general terms, whilst part 8 will show in detail the various ways of creating and … Continue reading Introduction to Services in the CAB (Introduction to the CAB/SCSF Part 7)

Constructor Injection in the CAB (Introduction to the CAB/SCSF Part 6)

Introduction Part 3 of this series of articles described the different types of dependency injection that we can use in general. These are setter injection, constructor injection and interface injection. Part 5 showed how dependency injection works in the CAB. The examples given there exclusively used setter injection. In general we don’t use interface injection … Continue reading Constructor Injection in the CAB (Introduction to the CAB/SCSF Part 6)