Visual Basic Blog

A group blog from members of the VB team

Visual Basic in .NET Core 3.0

Visual Basic in .NET Core 3   Update: March 12, 2020 This strategy described in this 2018 post has been replaced with the one in this post. Update: Oct 8, 2019 .NET Core 3.0 contains portions of the Visual Basic.NET Runtime (microsoft.visualbasic.dll) that do not depend on WinForms. Visual Basic.NET support for WinForms, WPF, and ...

Roslyn Primer – Part I: Anatomy of a Compiler

So, youโ€™ve heard that VB (and C#) are open source now and you want to dive in and contribute. If you havenโ€™t spent your life building compilers, you probably donโ€™t know where to start. No worries, Iโ€™ll walk you through it. This post is the first of a series of blog posts focused on the Roslyn codebase. Theyโ€™re intended as a primer ...

Dependency Injection with Visual Basic .NET โ€“ Part 2 โ€“ IoC Containers

This post was authored by guest blogger Andrรฉ Obelink, a Visual Basic MVP, and published by the VBTeam on his behalf. In my previous post, I wrote about the basics of dependency injection. I explained the technique to define an interface and injecting the dependencies to a client object. These dependencies contain the real implementation of ...

Dependency Injection with Visual Basic .NET – Part 1

This post was authored by guest blogger Andrรฉ Obelink, a Visual Basic MVP, and published by the VBTeam on his behalf. In this first blog post of a series of two, I explain what dependency injection (DI) is and why you might want to use this design principle in your software. The target audience of this post is the junior / medium experienced ...

Easy Async and Await for VBs Part 1, or…

...letting your code do absolutely nothing! Weโ€™ve all been there, one way or the other. Either as users of an app or as the developer to whom users complained to: When a typical Win32 app is waiting for an operation to complete, we often get to see something like this: (image) In discussions about how to get a handle on such scenarios there...