Welcome to EMC Consulting Blogs Sign in | Join | Help

Browse by Tags

All Tags » c# » technical
  • Architecture with layers, active records, and onions

    In the 1990s I coded on a few systems where the architecture was that we attached database functionality to our business objects, so you could do something like     someObject.Value = 4;   someObject.Save();   While this looks appealing, this pattern (I later learned that it is called active record) has fallen out of ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on August 16, 2008
  • Resharper and Source Analysis, not playing together

    I've had Microsoft Source Analysis (AKA StyleCop) installed for a couple of weeks. Yesterday I have very belatedly taken the plunge into Resharper.   I have gotten used to the style promoted by Source Analysis. I've gotten into the zone of feeling that warm fuzzy glow from code having no warnings. Howard van Rooijen calls ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on June 18, 2008
  • REST from WCF 3.5

    WFC is well known to be brilliant at SOAP, and fans of WCF may be aware that in version 3.5 may be aware of the cool new features. But the rest of us (the REST of us, haha, I'm so funny)  may not know that it addresses in a simple and flexible way other scenarios- that is, serving XML or JSON data off simple Urls in a REST ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on March 15, 2008
  • Don't Repeat Yourself, part 2

    I have written a small utility that I call DuplicateFinder, since it finds duplicate lines of code in files.  I spent a year in the late 1990s working in small company. We asked prospective hires to submit code samples, and I was one of the people looking at the code. There are problems with this method, in that it's too easy to ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on June 12, 2007
  • Don't repeat yourself

    Don't repeat yourself. I'll say it again – don't repeat yourself. When writing code, consolidate duplication. (But when explaining, say it several different ways). Code duplication hinders code readability and maintainence. On Friday I downloaded an interesting tool called Simian It is so named because it's a SIMIlarity ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on February 26, 2007
Powered by Community Server (Personal Edition), by Telligent Systems