dotNetTips

Newsletter Image

Messages

8/2/2023
8 : 4

[New post] Microsoft .NET Code Analysis: Validate Arguments of Public Methods

dotNetDave posted: " One issue I frequently encounter while reviewing code is the lack of argument validation in public methods. As a software engineer with over 20 years of experience, I find it
8/1/2023
8 : 4

[New post] Coding Faster with dotNetTips.com Spargine 6: Aug 2023 Release

dotNetDave posted: " I am pleased to announce the release (v2023.6.8.1) of Spargine on August 1st, 2022. Spargine is my open-source project and NuGet packages for .NET 6 & 7, which has been
7/26/2023
8 : 14

[New post] Microsoft .NET Code Analysis: Do Not Expose Generic Lists

dotNetDave posted: " I would say that a significant majority, approximately 90%, of the code I come across during reviews utilizes the generic List<T> to return data from a method. However,
7/19/2023
19 : 54

[New post] Rockin’ the Code World: Special Guest Arthur Doler

dotNetDave posted: " Join me on Saturday, August 5th, 2023, at 10:00 PST on C# Corner TV for show #85 where, for the second time, my special guest will be Arthur Doler, President, Community &
7/19/2023
8 : 4

[New post] Microsoft .NET Code Analysis:Types That Own Disposable Fields Should Be Disposable

dotNetDave posted: " One persistent issue I have noticed throughout my experience working on projects for the past 12 years is the improper handling of disposable objects and the lack of
7/10/2023
15 : 4

[New post] New Book Release! Rock Your Career: Surviving The Technical Interview – 6th Edition

dotNetDave posted: " Today I have released the 6th edition of my book on surviving the technical interview. It's a must-read if you are looking for your dream job, a big raise, or just need
7/9/2023
16 : 14

[New post] Rock Your Career: Surviving The Technical Interview (6th Edition)

dotNetDave posted: " Today I am announcing the 6th edition of my book titled Rock Your Career: Surviving The Technical Interview, now available on Amazon. Are you eager to land your dream job as a
7/5/2023
17 : 14

[New post] Microsoft .NET Code Analysis: UTF-7 Encoding Is Insecure

dotNetDave posted: " In the codebase I reviewed for this article, I found several instances where UTF-7 encoding was used, which is no longer recommended and is prohibited by many specifications.
7/3/2023
21 : 14

[New post] Rockin’ the Code World: Special Guest Robert Bogue

dotNetDave posted: " Join me on Saturday, August 12th, 2023, at 10:00 PST on C# Corner TV for show #86 where, for the second time, my special guest will be Robert Bouge, President, Thor Projects
6/28/2023
8 : 7

[New post] Dealing with Recruiters Tip #4: Preventing Unauthorized Resume Submissions

dotNetDave posted: " One issue to watch out for is a recruiter submitting your resume to a position without your knowledge or approval. I have heard from many developers that this has been done to
6/27/2023
21 : 45

[New post] Using Explicit Operators in Microsoft .NET to Perform Type Conversions

dotNetDave posted: " In Microsoft .NET, there are various approaches to converting one type to another. One such method involves using operators. By implementing an "explicit" operator,
6/27/2023
16 : 4

[New post] Microsoft .NET Code Analysis: Always Add Braces in C#

dotNetDave posted: " Not adding braces {} to if statements can lead to issues and affect code readability. The following code demonstrates a violation of this practice: if (somelist[i] != other.
6/20/2023
5 : 25

[New post] Rockin’ the Code World: Special Guest Safia Abdalla

dotNetDave posted: " Join me on Saturday, July 8th, 2023, at 10:00 PST on C# Corner TV for show #83 where, for the first time, my special guest will be Safia Abdalla, Senior Software Engineer on
6/20/2023
5 : 16

[New post] Spargine Dev Tool: Never Lose Source Code Ever Again!

dotNetDave posted: " In 2023, I launched a brand-new version of my free tool for developers known as the Spargine Dev Tool. One of its key features, which I personally rely on daily, is the '
6/12/2023
17 : 54

[New post] Rockin’ The Code World: Special Guest Vahid Farahmandian

dotNetDave posted: " Join me on Saturday, July 15th, 2023, at 10:00 PST on C# Corner TV for show #84 where, for the first time, my special guest will be Vahid Farahmandian, CEO of Spoota. Don'
6/12/2023
17 : 15

[New post] Rockin’ the Code World: Special Guest Rocky Lhotka

dotNetDave posted: " Join me on Saturday, June 17th, 2023, at 10:00 PST on C# Corner TV for show #82 where, for the second time, my special guest will be my good, long-time friend Rocky Lhotka, VP
6/12/2023
8 : 4

[New post] Real World Coding Issues: Part 1 – An Introduction

dotNetDave posted: " As I am nearing the completion of a contract, I wanted to discuss real-world coding issues I encountered during the development of this solution and other projects. My
6/6/2023
8 : 14

[New post] Microsoft .NET Code Analysis: The Rijndael and Rijndaelmanaged Types Are Superseded

dotNetDave posted: " Since September 2021, the Rijndael and RijndaelManaged types have been superseded by the AesManaged type. Although Rijndael is still supported in .NET, it is generally not
6/5/2023
8 : 14

[New post] Microsoft .NET Code Analysis: Enums Should Always Have a Zero Value

dotNetDave posted: " When reviewing code, one common issue I often encounter is the absence of a default or "not set" value for Enums. This is a crucial consideration in most cases as it
6/4/2023
8 : 4

[New post] Microsoft .NET Code Analysis: Use Pattern Matching

dotNetDave posted: " Pattern matching was introduced in the C# programming language with the release of C# 7 and has since become the preferred approach for checking the shape or structure of data