Introduction As APIs and web services become more and more prevalent, particularly in the Enterprise, there is an increasing need to look at ways to secure the more important interfaces, particularly if they enable access to sensitive data. Recently, I’ve been investigating ways to secure ASP.NET Web APIs using Active […]
Design Concepts and Code
54 posts
So this article isn’t going to be for everyone, however I suspect it will be somewhat appealing for anyone who is looking at Windows Server 2012 R2’s Failover Clustering capability. Introduction I’m going to write this in a series of posts, as I think there’s also some merit in looking […]
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 […]
Hello there. I’ve been spending a lot of time of late trying to develop a solution to a very obscure problem scenario. The entire problem itself is outside the scope of this article – and to be honest, probably wouldn’t be terribly relevant to many – however, I felt there […]
Introduction In Part 1, we had a brief look at OWIN/OAuth concepts, and then prepared a clean ASP.NET web forms project for integration with NuGet packages essential to supporting a lightweight integration for OAuth handling. In Part 2 we established the information required to authenticate users against the Live Connect […]
Introduction Where we left off in Part 1, we’d established the prerequisites to prepare either a new or existing web forms project for the implementation of a lightweight OWIN/OAuth provider. This article, Part 2, will focus on how to prepare your development environment and also how to configure for Windows […]
Introduction Disclaimer: this article assumes the reader is already familiar with OWIN and OAuth standards. It is published in three parts. Late last year I wanted to implement Open Web Interface for .Net (OWIN) OAuth functionality for an administrative subdomain. As it happened, I wanted to specifically integrate OWIN/OAuth authentication/authorization […]
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 […]
Introduction Recently I began writing a series of articles demonstrating how you could take a blank Database schema and bring it all together with a fully integrated object relational mapping access model (Entity Framework) and then exposing the entire object graph via WCF web services in a completely detached mode. […]
Introduction This article is part of the ongoing series I’ve been writing recently, but can be read as a standalone article. I’m going to do a better job of integrating the changes documented here into the ongoing solution I’ve been building. However, considering how much time and effort I put […]
Introduction Following on from the previous article, Data Access with the Entity Framework V6 RC1, this time I’m going to go deeper and look at how we manipulate entities through a structured and often times generic approach. We’ll take a particularly close look at an approach to adding, updating and […]
Introduction Today I’m following on from my previous series of articles from last week, particularly (and logically) from the article More with the Entity Framework V6 RC1. This time around, I’m going to go under the covers and document a new approach I’m trying out around the Entity Framework Data […]
Introduction Following on from the earlier article which established a data schema, the next step is to wrap the database design in an ORM.. for fun. I’m going to take a look at the latest pre-release of the Entity Framework, version 6 (RC1). If you’re interested in the licensing aspects, […]
Introduction This is going to be a multi-part series of articles with the end goal of producing a solution which handles security/identity claims across domain boundaries using WCF services and Active Directory Federation Services 2.0 (with a federation trust) and Active Directory. In order to demonstrate an approach to handling […]
Intro Long before Microsoft .NET 4.5 was a reality, in the days when asynch programming was not a given, I developed a bit of a concurrency wrapper implementation which has been used on a variety of projects. At the threat of being redundant (in light of the across-the-board support for […]