You want to keep an object around only as long as you have memory available, do ya? Then you need the WeakReference class.
Marten is PostgreSQL-based, so take advantage of relational features where it makes sense. Here's an example.
- By Jason Roberts
- 01/24/2017
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.
A not-ready-for-production preview, which contains updates and additions to the Windows namespace, is available for testing to Windows Insiders members.
- By Michael Domingo
- 01/19/2017
String functions, integer functions ... booorrring! Tuples in C# 7.0 -- let's explore what makes them infinitely more exciting.
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.
- By Nick Randolph
- 01/17/2017
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.
Peter gets an improved tip from one reader and some more tips from another, all designed to navigate Visual Studio faster.
Let's break away from C# somewhat and learn how F# is a great fit for crafting mobile applications.
- By Greg Shackles
- 01/12/2017
Both are .NET Framework-based, but they don't seem to be speaking the same language.
Last VS Code update of 2016 has hot exit and a number of other code-focused enhancements and improvements.
- By Michael Domingo
- 01/10/2017
The S3 OOP model is still widely used, so let's use write S3-style OOP code via the R language.
- By James McCaffrey
- 01/10/2017
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).
The latest version of TypeScript provides developers with tools to create base classes and class hierarchies just like the other object-oriented languages.
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.
- By Terrence Dorsey
- 01/04/2017
Let's take a quick side trip and see what information we can glean from the .NET assembly.
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.
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.
When you hit a breakpoint in Visual Studio, everything stops. If you'd rather other processes keep running, you can enable that.
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.