C#


Build Your Own ASP.NET Cache with WeakReferences

You want to keep an object around only as long as you have memory available, do ya? Then you need the WeakReference class.

Enforce Referential Integrity Between Documents in Marten

Marten is PostgreSQL-based, so take advantage of relational features where it makes sense. Here's an example.

Dealing with Complexity with DTOs and Command Objects

Peter starts off with a perfectly good solution to a problem but then complicates the problem . . . and ends up moving to a different design pattern. While on that journey he has some best practices around designing Data Transfer Objects.

Windows 10 Devs Can Check Out Windows 10 Creators Update SDK

A not-ready-for-production preview, which contains updates and additions to the Windows namespace, is available for testing to Windows Insiders members.

What's So Great About Tuples?

String functions, integer functions ... booorrring! Tuples in C# 7.0 -- let's explore what makes them infinitely more exciting.

Create a UWP-Based ChatBot Using the Microsoft Bot Framework Direct Line API

Chatbots are the new mobile application. In this article, Nick demonstrates how you can integrate a bot right into your Universal Windows Platform app via the Microsoft Bot Framework Direct Line API.

Chain of Responsibility and Adapting to Change in Complex Apps

As a company's problems continue to become more complicated, your code will become more complicated. Peter shows how refactoring code can lead you to better designs.

Getting to the File You Want in Visual Studio's Editor Window

Peter gets an improved tip from one reader and some more tips from another, all designed to navigate Visual Studio faster.

You, Too, Can Build Xamarin Apps with F#

Let's break away from C# somewhat and learn how F# is a great fit for crafting mobile applications.

Making Sense of Class Modifiers in C# and Visual Basic

Both are .NET Framework-based, but they don't seem to be speaking the same language.

Visual Studio Code November Build

Last VS Code update of 2016 has hot exit and a number of other code-focused enhancements and improvements.

R Language OOP Using S3

The S3 OOP model is still widely used, so let's use write S3-style OOP code via the R language.

Providing Multiple Solutions to a Problem

Sometimes life is like playing Whack-a-Mole: You write some code that solves a problem, and then someone comes along and makes the problem harder. Here's how to continuously integrate new solutions without having to rewrite your old solutions (much).

TypeScript 2.0: More Power for Defining Classes

The latest version of TypeScript provides developers with tools to create base classes and class hierarchies just like the other object-oriented languages.

Tools for Data Access in Visual Studio

Whether you're building an application database or generating data access code, we've got a round-up of tools to make the job easier.

Getting to Know Your Assembly by Name and Number

Let's take a quick side trip and see what information we can glean from the .NET assembly.

Find Out What Your Entity Framework Query Is Really Doing

You can turn on logging for your Entity Framework code with a single line. Configuring it to write to a file takes only a little bit more effort.

Coding Without a Plan

I don't believe in coding design tools. I've been programming for more than 30 years now (40 years if you go back to my first class in programming). I think in code. Code is my design language and procrastination is my friend.

Let Other Processes Run When Debugging One Process

When you hit a breakpoint in Visual Studio, everything stops. If you'd rather other processes keep running, you can enable that.

Looking at Entity Framework Core 1.0

There's more (and some less) in Entity Framework Core compared to Entity Framework 6, at least in version 1.0. While you can move to Entity Framework Core now, it might be too early for you.

Subscribe on YouTube