Subject

Microsoft / .NET

Abuse of Abstract Factories

From Dependency Injection in .NET, Second Edition by Steven van Deursen

This article discusses why Abstract Factories shouldn’t be used to create stateful Dependencies with a short lifestyle and why it’s generally better not to use Abstract Factories to select Dependencies based on runtime data.

Pestering your Script

From Learn PowerShell Scripting in a Month of Lunches by Don Jones and Jeffery Hicks

As we move into a DevOps-y world, one of the things you’ll need to start thinking about is how you’ll test your scripts. Here’s the deal: nobody likes a broken script in production. And although you might run a few tests on your script, you – or someone else – might also modify your script at some point, necessitating a re-test. Or, you might find some odd condition under which your script fails – well, you certainly don’t want to forget to test that condition again in the future, do you? In this article, we’ll talk about automated unit testing for PowerShell scripts.

How Can you Get True Redundancy with an Azure Web Application?

From Learn Azure in a Month of Lunches by Iain Foulds.
mentalmodel-true-redundancy-for-web-apps-in-azure

Understanding the Composition Root

From Dependency Injection in .NET, Second Edition by Steven van Deursen and Mark Seemann

This article describes where and how programmers should compose an application’s object graphs and the concept of the Composition Root.

Concise Code with Local Methods in C#

From C# in Depth, Fourth Edition by Jon Skeet

This article, taken from chapter 14 of C# in Depth, Fourth Edition, delves into using local methods in C#.

Introducing SQL


slideshare-introducing-sql

From SQL in Motion
By Ben Brumm

Achieving True Redundancy with an Azure Web Application.

From Learn Azure in a Month of Lunches

azure-mentalmodel

Azure Web Apps: the first steps

From Learn Azure in a Month of Lunches by Iain Foulds

This article, adapted from chapter three of Learn Azure in a Month of Lunches, takes a look at an Azure Web App in action. This requires a couple of parts. First, we create the basic Web App and see the default site in our browser. Then we use a sample web page from GitHub and push that to Azure.

The Many Forms of Scripting: which to use

From Learn PowerShell Scripting in a Month of Lunches by Don Jones and Jeffery Hicks

This article is about learning to draw the line between two equally important kinds of script – tools and controllers. Specific techniques are suitable for tools, and different ones are suitable for controllers. Each set of techniques is designed to reduce your workload, debugging, maintenance, and increase readability and reusability. Knowing which kind of script that you’re writing helps direct you to the right set of techniques, and this is the key to being a successful scripter and toolmaker!

Writing Maintainable, Loosely-Coupled Code

From Dependency Injection in .NET, Second Edition by Steven van Deursen and Mark Seemann

What purpose does DI serve? DI isn’t a goal in and of itself, rather a means to an end. Ultimately, the purpose of most programming techniques is to deliver working software as efficiently as possible. One aspect of that is to write maintainable code. This article, adapted from chapter 1 of Dependency Injection in .NET, Second Edition, discusses what DI is (and is not).

© 2018 Manning — Design Credits