Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

.NET

Microsoft Fakes (formerly Moles)

Problem: You are writing unit tests that involve a dependency on a 3rd party concrete class. Unfortunately there are no interfaces, nor are the methods/properties defined as virtual. Solution: Microsoft Fakes (formerly Moles) Microsoft Fakes help you isolate the code you are testing by replacing other parts of the application with stubs or shims. These are small pieces of code that are under the control of your tests. By isolating your code for testing, you know that if the test fails, the cause is there and not somewhere else. Stubs and shims also let you test your code even if other parts of your application are… Read More »Microsoft Fakes (formerly Moles)

Static vs Dynamic Languages

Greg Young (re)posted this video he recorded with a panel from Microsoft discussing static vs dynamic languages.  Pretty interesting watch that’s only 15 minutes.

Service Bus for Windows Server

Move over MSMQ, Service Bus for Windows Server was recently released.  Apparently it has been for awhile now (Oct 2012 release).  I’m just late to the party I guess. Service Bus 1.0 was designed to allow for enterprise messaging capabilities in a Windows Server-based environment.  It enables you to build, test, and run loosely-coupled, message-driven applications in self-managed environments and on developer computers.  The two primary features are Service Bus Queues and Service Bus Topics and Subscriptions. Service Bus Queues offer reliable message storage and retrieval with a choice of protocols and APIs. Use Service Bus queue in your application to provide load leveling by having the… Read More »Service Bus for Windows Server