Here's a trick to have Marten automatically deserialize JSON data only when you want it to.
- By James D. Roberts
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.
You don't need to take your hands off the keyboard to move to another tab in the Toolbox.
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.
- By Wallace McClure
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.
Here are two ways to save some typing when defining anonymous objects. One only works in Visual Basic, though.
Welcome to the 21st century, C#, now that case blocks support a variety of pattern-matching formats.
Find the patterns in your data sets using these Clustering.R script tricks.
- By James McCaffrey
A roundup of a few more features: deprecated any type, literal datatypes, read-only properties, more!
You want to keep an object around only as long as you have memory available, do ya? Then you need the WeakReference class.
On the Windows platform, the C++ language offers several ways to process a file. We'll look at four approaches for serial IO access.
- By Bartlomiej Filipek
Whether you're building a Web or desktop application, here's a round-up of tools for building the interface with plain old HTML.
- By Terrence Dorsey
Marten is PostgreSQL-based, so take advantage of relational features where it makes sense. Here's an example.
- By Jason Roberts
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.
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.
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
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
Both are .NET Framework-based, but they don't seem to be speaking the same language.