Tag Archives: .Net

Building a site – Part 2

Implementing towards Alpha Now that I have the initial idea for waidmonitor.com, the next thing to do was to figure out the big technical unknowns of the project: How to get the current users window & detect if the user is … Continue reading

Posted in .Net, Architecture, C# | Tagged , , , , , | Leave a comment

Thrift API Versioning with .Net

SOA Versioning Service Oriented Architectures (SOA) expose a set of services using a platform independent method. With hosting any service you inevitably require changes, which are not backwards compatible. When deploying a new version with changes which are not backwards … Continue reading

Posted in .Net, Thrift | Tagged , , , | Leave a comment

Thrift MSBuild Task

Thrift has an interface definition language (IDL), which is used to define a thrift service and structures. This interface is saved in a .thrift file and ran through the Thrift compiler to generate C#, Java, Perl or a code for dozen other … Continue reading

Posted in Thrift | Tagged , , | 1 Comment

Create a MSBuild Task

MSBuild comes with a lot of excellent built-in build tasks and there are also well-supported open source Build tasks such as MSBuild Community Tasks. I have found myself wanting something not available in any of those tasks. In this post … Continue reading

Posted in C# | Tagged , , | Leave a comment

Reading an Excel .xlsx file from C#

*Updated 06/28/2017* – Fixed the code sample. It was simply wrong before. I have often written code to parse CSV files. Excel supports editing CSV files so this seemed to be a good method of managing moderate-sized data sets. I … Continue reading

Posted in C# | Tagged , , , , | 15 Comments

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