Coding Standards Survey (2016): Coding Standards Importance

I would hope that all developers feel coding standards are important, but so far only 80% feel this way. Until this reaches 100%, I will keep releasing new editions of my book and giving my Rock Your .NET Coding Standards conference session. It's also very important for teams to foster coding standards education to its … Continue reading Coding Standards Survey (2016): Coding Standards Importance

Coding Standards Survey (2016): Visual Studio Analyze Rule Set

For those teams using Visual Studio Analyze/ FXCop as you can see below the majority use their own rules set, since you can configure them in the project properties. Hopefully these teams are storing these rule sets in a common area to be used by all of the team members. I recommend to start off … Continue reading Coding Standards Survey (2016): Visual Studio Analyze Rule Set

Coding Standards Survey (2016): Productivity Tools

To boost developer productivity, it’s very important for any team to provide good quality applications to help make following coding standards easier. This will also lead to better code quality and happier users. The refactoring tool ReSharper from JetBrains is leading the pack. While ReSharper is the number one .NET code refactoring tool, it’s not … Continue reading Coding Standards Survey (2016): Productivity Tools

Ask dotNetDave – Properly Throwing & Rethrowing Exceptions

Recently at a contract I was working on, I received an email from one of the developers why I marked the code below that needs to be fixed because there are multiple throwing exception violations. Let’s see if you can spot them? There are other issues with this code, just stick to the issues dealing … Continue reading Ask dotNetDave – Properly Throwing & Rethrowing Exceptions

Rock Your Code and Applications with dotNetDave @ St. Louis Days of .NET

Improving Code Quality… One Developer At A Time! On November 12th, I will be doing my full-day workshop titled Rock Your Code and Applications with dotNetDave (click on this link to register) at the St. Louis Days of .NET. This workshop will guide any level of programmer to greater productivity by providing the information needed … Continue reading Rock Your Code and Applications with dotNetDave @ St. Louis Days of .NET

TGIF Episode 3 – CodeIt.Right

In this episode I talk about my favorite Microsoft .NET code analysis tool called CodeIt.Right from Submain.com. It combines static code analysis and automatic refactoring to best practices in one application. CodeIt.Right will automatically correct code errors and violations (e.g. naming conventions, incorrectly implemented coding patterns, etc)! You can purchase the DVD mentioned in this … Continue reading TGIF Episode 3 – CodeIt.Right

TGIF Episode 2 – Visual Studio Analyze

In this episode I demonstrate the code analyzer in Visual Studio that all .NET developers must use to made sure they are writing bullet proof code. The Common Language Specification and Cyclomatic Complexity are also discussed. You can purchase the DVD mentioned in this episode at: http://mkt.com/nicheware/rock-your-code-dvd-v-1 You can purchase the book mentioned in this … Continue reading TGIF Episode 2 – Visual Studio Analyze

Don’t Show Exception Message To Users

Today, I went to a web site to enter time for a contract I'm working on and I got this:         Never, ever, ever display messages like this to your users. Number one it makes no sense to them. Number two it could reveal some information that could be used to hack … Continue reading Don’t Show Exception Message To Users

dotNetDave Rocks Visual Studio Live! Orlando 2014

For the first time the  dotNetDave "Rock The Nation Tour" is coming to Visual Studio Live! in Orlando on November 17-24th! I hope you will attend my sessions below. Röck Yoür Cöde Using Code Contracts This session will introduce developers to the new powerful new feature that is part of the .NET 4.5 framework called … Continue reading dotNetDave Rocks Visual Studio Live! Orlando 2014

Formatting LINQ Statements

Language-Integrated Query (LINQ) was introduced in Visual Studio 2008/ .NET 3.5 and was actually one of my favorite features. It makes writing queries so much easier, especially for XML and object collections. Even though Visual Studio 2013 auto-formats the queries better, there is even an even better way to make them more readable. Here is … Continue reading Formatting LINQ Statements