News

Imagine that you want to write some code to test whether a library or an API is ... Note that C# 9.0 is available in Visual Studio 2019 version 16.9 Preview 1 or later, and in the .NET 5.0 SDK.
Minimal example on how to use WinGet COM APIs from C#.NET. The code on the project named WindowsPackageManager Interop was extracted and modified from Dev Home. However, under certain scenarios (for ...
Let’s examine how we can make use of extension methods in C#. Create a console application project in Visual Studio First off, let’s create a .NET Core console application project in Visual ...
Today I've shown only the Scripting API, which can be used to host C# or VB.NET in a .NET application. Stay tuned for the next installment, covering how to use the Compiler APIs to analyze C# syntax ...
We will create and query Cosmos DB resources from a .NET Core API using C# and the Microsoft.Azure.Cosmos library running on .NET 5.0. We also use Postman to test the API. In our example, we create a ...