Implementing Decoupled Component Communication with WithEvents in VB.NET
Learn how to use the WithEvents keyword in VB.NET to implement the Observer pattern, reducing boilerplate while managing memory and data boundaries.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use the WithEvents keyword in VB.NET to implement the Observer pattern, reducing boilerplate while managing memory and data boundaries.
Learn how to implement async-await in VB.NET to prevent UI freezes and deadlocks. This guide covers Task management, ConfigureAwait(False), and non-blocking I/O patterns.
VB.NET XML literals let you write static XML directly in code, avoiding string concatenation errors. Learn how to use them, compare with LINQ to XML, and verify the output in a simple console example.
Resource leaks in VB.NET arise when Dispose calls are missed on database connections and file streams. The Using statement guarantees deterministic cleanup, even on exceptions. This post shows a clear example, discusses trade‑offs, and offers actionable steps to adopt Using in your projects.
Learn how to build a secure, decoupled Data Access Layer in VB.NET using ADO.NET, focusing on the Repository pattern, parameterized queries, and connection management.
Upgrading a Visual Basic .NET project to a newer target framework involves modifications to the XML-based .vbproj file and potentially the source code via the Visual Studio Upgrade Wizard. While reverting the project file to a previous state can restore the target framework version, this process does not automatically undo syntax transformations or metadata
VB.NET DateTime.Parse Default Culture Ambiguity in Integration Tests Goal: Ensure that integration tests run deterministically on CI pipelines and in production when parsing date strings without exposing production credentials. Constraint: VB.NET’s DateTime.Parse and TryParse use the current thread’s CultureInfo , which varies across development, staging, an