dotNetDave Rocks The Austin .NET User Group

The dotNetDave No Apologies World Tour will be at the Austin .NET User Group in Texas on October 12th. I hope you will join me at this meeting. This meeting will be virtual, but I wish it was in person... I love visiting Austin! My session will be followed with a Q&A where you can … Continue reading dotNetDave Rocks The Austin .NET User Group

Coding Faster with the dotNetTips Utility: September 2020 Update

After the last quarterly release of my open-source projects and NuGet packages, I’ve added more methods for my projects, and ones for use where I work. I’ve decided to release a min-quarter version (2020.9.20.01) so my team at work can use them and so I can use them in the app that I’ve released for … Continue reading Coding Faster with the dotNetTips Utility: September 2020 Update

OOP: Encapsulating Business Logic in Class Properties

The first “pillar” of Object-Oriented Programming (OOP) is encapsulation. If you have ever come to one of my conference sessions, you might hear me say… If encapsulation isn’t done correctly, I have little hope that the other pillars of OOP are being done properly or at all! For this article, I will be explaining how … Continue reading OOP: Encapsulating Business Logic in Class Properties

dotNetDave Approved: CodeRush for Visual Studio

After over 20 years, I've decided to start recognizing the third-party components and add-ins to Visual Studio that I use just about every day and swear by. The first is the only refactoring tool that I have used for Microsoft .NET called CodeRush for Visual Studio by Developer Express Inc. (DevExpress.com). I have tried others, … Continue reading dotNetDave Approved: CodeRush for Visual Studio

Properly Setting Up .NET Core Projects

Visual Studio by default does not set all the appropriate options to help you write rock-solid .NET Core code. Below are the recommendations that your team should use for C# projects. All the following recommendations are for Visual Studio 2019. If you have an older version, most of this should still apply. To learn the … Continue reading Properly Setting Up .NET Core Projects

Properly Setting Up .NET Framework Projects

Visual Studio by default does not set all the appropriate options to help you write rock-solid code. I will show the recommendations that your team should use for C# projects. All the following recommendations are for Visual Studio 2019. If you have an older version, most of this should still apply. More information, including suggestions … Continue reading Properly Setting Up .NET Framework Projects

Improve Your Model Classes with OOP – Part 2: Constructors, Interfaces & More

In part 1 of this series, I discussed building model classes properly with Object-Oriented Programming (OOP), specifically encapsulation that must include data validation. In this article, I’m going to show you constructors, interfaces and more that you should implement for your model classes. We will build upon the Person.cs type from part 1 and end … Continue reading Improve Your Model Classes with OOP – Part 2: Constructors, Interfaces & More

Improve Your Model Classes with OOP – Part 1: The Basics

  Ever since I have been speaking and writing, I have talked about proper class design using Object-Oriented Programming. OOP has been around since the 1950s and to me is still the best way to properly design classes, for now, and the future. Many of the projects I see fail are due to not using … Continue reading Improve Your Model Classes with OOP – Part 1: The Basics

Code Quality is a Feature, Not an Afterthought

I must admit something… I must admit that I get more and more frustrated with the lack of code quality in projects I work on as a contractor. Some are okay, but most are very far from it. What frustrates me more is that most of this poor-quality code I analyze is written or supervised … Continue reading Code Quality is a Feature, Not an Afterthought