Category Archives: Architecture

Design Patterns are Everywhere

If you’ve been programming for some time, you have likely worked with many design patterns without realizing it. Design Patterns are simply patterns of writing code that developers have noticed over time. Very often Design Patterns are best-suited or commonly … Continue reading

Posted in Architecture | Tagged , | Leave a comment

API Usability

I recently read an interesting chapter from Making Software: What Really Works, and Why We Believe It by Adam Oram & Greg Wilson. It discusses the topic of API usability, which is not something I have encountered in the past. Microsoft … Continue reading

Posted in Architecture | Tagged | Leave a comment

WCF Data Service Tribulations

WCF Data Services is an implementation of the OData Protocol. OData makes it easy to access and modify data from any data source. WCF Data Services makes it easy to expose a rich SQL Server data source by leveraging the … Continue reading

Posted in Architecture | Leave a comment

Service Architecture: DRY vs SRP Principles

When building n-tiered services, the Single Responsibility Principle (SRP) appears to violate the Don’t-Repeat-Yourself (DRY) Principle. This can best be seen when comparing an OData/Entity-Framework service and a more traditional service. Traditional Service In a traditional service, to expose a … Continue reading

Posted in Architecture | Tagged , , , | Leave a comment

Looser Coupling & Increased Testability : Adapters, Autofac and Xunit.net

Loose coupling in computer systems is desirable to make components more reusable, testable and robust to changes. With tightly coupled systems, a change in one class can cause a ripple effect through other classes. Test-ability and specifically test-ability via unit tests is a great … Continue reading

Posted in Architecture | Leave a comment

Service Stack vs WCF Data Services

In this post I’m going to kick the tires on WCF Data Services and Service Stack. Service Stack offers claims of a much cleaner programming model than traditional WCF services in addition to impressive performance numbers compared to the Entity … Continue reading

Posted in Architecture | 3 Comments