Tips and Tricks


Welcome, 2015 – may you be an improvement on your predecessor. Today’s article focuses on the deceptively non-trivial task of reading from the Windows Event Logs using the Microsoft .NET Framework.  For those who haven’t looked there in a while, here’s a quick look at the Event Viewer: The Windows […]

Programmatically Reading Event Logs


Introduction We have a requirement at the moment to modify AD FS 3.0 (which is a role in Windows Server 2012 R2) to allow users to authenticate without having to specify the domain name.  This is for two reasons – the current external system doesn’t have a requirement to prefix […]

Using alterative AD attributes to authenticate to AD FS 3.0





4
Do you prefer offline help and documentation? Sometimes I prefer offline help, particularly when I’m travelling or when a stable Internet connection is not available.  It is particularly useful if you work in an environment where external access is difficult, for example in a secure datacentre. I find offline documentation […]

Installing SQL Server 2014 Books Online locally





7
If you’ve spent any amount of time in the IT industry – and particularly in software development – you’ve probably been asked to forecast the effort associated with some kind of work, outcome or deliverable. Software development is tricky as it involves some degree of guess work – requirements can […]

A simple project effort estimation utility


Introduction Hi all.  I’ve been working with the old ASP.NET Dynamic Data website templates, as I wanted a quick and easy to use web UI for managing the data at http://rs-photography.org. As the site is (obviously) image-centric, I wanted to make some modifications to the out-of-the-box Dynamic Data project to […]

Using the Dynamic Data Database Embedded Image Field Template







Introduction When we left off in Part 1, we had edited the T4 template which generates Entity Framework POCO entities and had it add appropriate attributes to assist in data validation checks. The next step is to show you how we can make use of these annotations. Note: the data […]

Entity Validation and the Entity Framework – Part 2


5
Introduction The next logical step in my journey across the Entity Framework v6 RC1 after having established a fairly robust data access approach was to imbue my solution with some more “smarts” when it came to entity validation. Out-of-the-box Entity Framework POCO entities are exactly as advertised – plain old […]

Entity Validation and the Entity Framework – Part 1