The 8th edition of the book, Rock Your Code: Coding Standards for Microsoft .NET, is available on Amazon. It consolidates Microsoft .NET coding standards and provides supplementary directives. Drawing insights from Microsoft’s code inspection tools, the book covers topics such as project setup, naming standards, class design, coding style, and more. The book's purpose is to facilitate superior code quality and swift integration of new team members. It's designed for use with Visual Studio 2022, C#, and .NET 8.
Category: VS.NET
Microsoft .NET Code Analysis: Properly Formatting Class Files
The article discusses the importance of consistent formatting in Microsoft .NET class files for improved code readability and collaboration among developers. It provides tips on how to set up formatting rules using Visual Studio's features and the EditorConfig file, covering various formatting options such as new lines, indentation, spacing, and wrap preferences. The article also highlights the use of CodeRush, a code refactoring tool, to enhance code formatting and organization.
Real World Coding Issues: Part 3 – Design, Diagnostics, and Other Common Code Issues
The article discusses real-world coding issues encountered in a contract project. Part 3 covers common coding issues related to design, diagnostics, and other areas, such as globalization, code duplication, and Linux-based development challenges. It emphasizes the importance of code quality, performance, and prioritizing code reviews to ensure a maintainable and efficient solution.
Real World Coding Issues: Part 2 – Style and Performance Issues
The author is nearing the end of a contract and wants to discuss coding issues they encountered during the development of a particular solution and other projects. Their goal is to provide valuable insights to improve the codebase of the current project. They reflect on the initial state of the codebase when they joined the team and how it has evolved during their tenure. The author's objective is to leave the code, project, and team in a better state than when they started. They were hired to enhance performance and code quality. The author also mentions that they have noticed common coding issues in multiple projects and this article aims to provide statistics and highlight these prevalent issues.
256 Seconds with dotNetDave: Be careful using ContainsKey() with Dictionary Types
In this episode, I will demonstrate the issues associated with using `ContainsKey()` with Dictionary types in Microsoft .NET, which can potentially lead to performance problems. Updated September 2023.
Code Quality: Formatting Classes in Microsoft .NET to Make Them Easy to Read and Modify
This article emphasizes the importance of formatting classes in Microsoft .NET to improve readability, maintainability, and consistency. It provides guidelines for structuring class files, including headers, imported namespaces, class namespaces, constructors, events, properties, methods, and the use of blank lines for code organization. The article also recommends using documentation tools like GhostDoc and adhering to coding standards for better code quality.
Spargine Dev Tool: For Microsoft .NET Developers
In 2016, the Spargine Dev Tool was launched to aid Microsoft .NET developers. Key features include automatic cleanup of residual files to resolve build issues and a secure source code backup system. The latest version enhances accessibility and performance, and future updates aim to expand functionality and improve user experience.
Rock Your Code: Code & App Performance for Microsoft.NET – 3rd Edition
I am announcing the 3rd edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. I worked on this book for a big chunk of 2022 so I hope that you and your team will find it useful.
Rock Your Code: Code & App Performance for Microsoft.NET
Today I am announcing the brand new edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. How fast your code executes is very important for your users and back-end server processes. This is even more important for the future as more and more users, use … Continue reading Rock Your Code: Code & App Performance for Microsoft.NET
Rock Your Code: XML Documentation of Code for Microsoft .NET
This article emphasizes the importance of documenting Microsoft .NET code with XML documentation and code comments. It covers the purpose and benefits of XML documentation, setting up the project for documentation, usage of section tags, file headers, types and members documentation, examples, code comments, and the use of GhostDoc for automated documentation.

You must be logged in to post a comment.