C#


Returning Raw JSON Data in Web API with Marten

Here's a trick to have Marten automatically deserialize JSON data only when you want it to.

Visual Studio Code January Build Gets Interactive

Version 1.9 of the online code editor sports a new look and some new tools to get developers up to speed quickly, including an Interactive Playground to test-drive some of the news features.

Getting All the Results When Joining with LINQ

When you want to find all the objects that are missing a corresponding object, then you need the LINQ equivalent of an outer join. Here, step by painful step, is how to build that query.

Q&A: What's New in Visual Studio 2017

Visual Studio 2017 is coming March 7. Microsoft Dev Evangelist Robert Green talks about the top new features, best improvements for mobile/Xamarin developers and more in this Q&A preview of his Visual Studio Live! session on the same topic.

Visual Studio 2017 To Be Released March 7

With a pack of updates that amount to minor fixes following the release of Visual Studio 2017 RC3 a week ago, the Visual Studio team is now set to launch a feature-complete version within a month's time.

Window 10 Creators Update Gets Its Day with Developers

Microsoft offers a laundry list of developer-oriented features to get devs up to speed with the newest, feature-complete Windows 10 Creators Update slated for early 2017 release.

Getting Device-Specific When Customizing a Xamarin Forms App

Your Xamarin Forms App needs one more little tweak, and that's to make it device-specific, so users don't freak out. Unlike the Apple tweak, the Android tweak takes a bit of work.

Working with Enumerated Values in Entity Framework

If you decide on using an Enum with enumerated values in your Entity Framework class, here are the tools you'll need to make it work. But an enumerated value shouldn't be your first choice.

Visual Studio Tools for Tizen on Preview 2

Tizen is an open source app platform targeting mainly Samsung devices, from televisions, to phones, to wearables. Yep, there's a Visual Studio Tool for that, and it's on its second preview.

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!

Update: Visual Studio 2017 RC 3 Is Re-Released

The third release candidate of the venerable, all-encompassing and integrated Microsoft developer platform has been re-released after being pulled for a short time due to reports of developer machines crashing due to an odd installation issue.

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.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.