DevStak

A full stack development blog focusing on Microsoft technologies

Saturday, 12 March 2016

Composite Repository Pattern

›
In our current day the usage of Object-Relational Mappers (ORMs) in almost any data access application is highly prevalent.  Whilst popular...
Tuesday, 9 February 2016

Retry Pattern for failed Invocations

›
There are numerous times when invoking a delegate may fail due to an unexpected exception occurring in which we would like to automatically ...
Wednesday, 12 August 2015

Enumerable Timer with Stopwatch using an Extension Method

›
There have been numerous times when I’ve wanted to run a deferred query using either Linq-to-SQL (IQueryable<T>) or Linq-to-Objects (...
Wednesday, 10 June 2015

Return Await vs Returning Task

›
I'm a true believe in trying to keep code as simple as possible by minimising the amount I have to write whilst not compromising functio...
Saturday, 10 January 2015

EF Mapping with Discriminator Column and Concrete Tables for Derived Types

›
A problem I recently ran into with Entity Framework 6 was where I wanted to use two features at the same time, specifically the Table-Per-Hi...
Wednesday, 17 December 2014

SQL Scalar Value Function Inefficiencies

›
Are scalar value functions (SVF) really the best place to centralise the logic in your DB? Although I’m against it many developers place bu...
Monday, 13 October 2014

Thread-Safe Singleton Construction

›
Using the Singleton design pattern it is a common technique to ensure only one instance of a class exists during runtime: class NonThread...
›
Home
View web version
Powered by Blogger.