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.
The S3 OOP model is still widely used, so let's use write S3-style OOP code via the R language.
- By James McCaffrey
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).
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.
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
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.
Hashwords can use a pinch of salt for added security. There's a .NET class for that.
Saving and retrieving data is a fundamental part of all but the simplest of applications. In this article, Nick walks through getting started using Entity Framework with SQLite to persist application data.
- By Nick Randolph
It's relatively simple to make use of the multi-window mode now that Xamarin supports it. Here's how.
- By Wallace McClure