256 Seconds with dotNetDave: Documenting Code with Visual Studio and Copilot

In this episode of 256 Seconds with dotNetDave, learn to use Visual Studio and GitHub Copilot to swiftly create detailed XML comments for Microsoft .NET projects. Detailed commands for documenting classes are shared, along with a call to vote for displaying code examples in IntelliSense. Watch the demonstration here: https://player.vimeo.com/video/961522552?badge=0&autopause=0&player_id=0&app_id=58479

256 Seconds with dotNetDave: Handling Exceptions Part 1 – Reusable Assemblies

This content discusses exception handling in Microsoft .NET, focusing on application layer and reusable assemblies. It offers insights on preventing exceptions and notifying calling code, and references a related book. The principles are noted to be applicable to other programming languages.

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.

Speeding Up the StringBuilder Using an ObjectPool

Microsoft .NET's ObjectPool type enhances performance by pooling objects, demonstrated in "256 Seconds with dotNetDave." Utilize StringBuilder with ObjectPool by creating the pool as a field, obtaining and returning StringBuilder, and encapsulating calls with try/finally block. Benchmark results show improved efficiency, except for the Insert() method, with different allocation behaviors.

256 Seconds with dotNetDave (E9) – Fixing NuGet Hell Issues in Visual Studio

In this episode, I address NuGet package errors in Visual Studio that hinder project builds. I provide a PowerShell script to resolve these issues and fix DLL conflicts. Don't let dependency problems disrupt your workflow—watch the episode to quickly get back to coding!

256 Seconds With dotNetDave (E2) – AppDomain Exceptions

In this episode dotNetDave talks about how to trap ALL exceptions in your application, no matter what assembly might be causing them (even if you don't have source).