
Dave Callan | dotnet
@Dave_DotNet
Followers
16K
Following
18K
Media
1K
Statuses
8K
Microsoft MVP | .NET Developer & tech lead from Ireland! Talks about Azure, #csharp, #dotnet, Entity Framework and Visual Studio.
Dublin, Ireland
Joined September 2021
How are you testing Date/Time based logic in your #dotnet methods? 🤔. Passing in DateTime?.Injecting custom interface?.Injecting TimeProvider from .NET 8?.Other?
18
16
94
Which #dotnet mocking library syntax do you prefer from the below test examples?. Moq?.NSubstitute?.FakeItEasy? . and which library do you use and why?
37
14
132
Open source once ≠ open source forever.#dotnet . Specific versions of open-source projects remain licensed under the terms they were released with forever. But that doesn’t mean future versions must also remain open source. If a NuGet package was OSS at one point, the author is
25
6
69
Amend default debugging view for a class ⬇ . FYI, we can change the standard debugging view for a C# class by using the DebuggerDisplay attribute. #dotnet
4
28
223
SOLID principles - Advantages and Disadvantages. I got this table from ChatGPT previously. How balanced and fair is this?. #dotnet
4
20
121
Using nameof rather than ToString() in #dotnet when referencing an enum member name is a perfectly valid performance optimization technique. Absolutely nothing bogus about this, ReSharper even has an inspector for it. It moves the outputting of a constant to compile time so
11
8
115
What are some C# features that most people don't know about?. This was a awesome Reddit thread from about a year ago. #dotnet.
11
16
136
Copilot in Visual Studio now uses GPT-4.1 as the default model. Are you sticking with the default or changing?. #dotnet
15
2
43