Columns


Shortcuts for Defining Anonymous Objects in C# and VB

Here are two ways to save some typing when defining anonymous objects. One only works in Visual Basic, though.

Pattern Matching in C# 7.0 Case Blocks

Welcome to the 21st century, C#, now that case blocks support a variety of pattern-matching formats.

Data Clustering Using R

Find the patterns in your data sets using these Clustering.R script tricks.

More Cool Stuff in TypeScript 2.0 and 2.1

A roundup of a few more features: deprecated any type, literal datatypes, read-only properties, more!

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.

4 Ways To Transform a File on Windows with C++

On the Windows platform, the C++ language offers several ways to process a file. We'll look at four approaches for serial IO access.

26 Tools and Frameworks for HTML-based Desktop and Web App Interfaces

Whether you're building a Web or desktop application, here's a round-up of tools for building the interface with plain old HTML.

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.

Convert .NET Framework Lists into Dictionaries

You probably use ToList to convert your LINQ results into Lists. It's almost as easy to convert any collection into a Dictionary whose items you can retrieve by key.

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.

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).

Get Rid of the Old ASPX View Engine

Peter didn't bother doing any performance testing but he believes that this change has just got to speed up your ASP.NET MVC application.

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.

Subscribe on YouTube