One of the most impressive features of Cosmos DB is its support for many different APIs including the Gremlin API. When using the Gremlin API, Cosmos DB effectively becomes a graph database. Graph databases are particularly suitable for use cases with...
Blazor is a web framework that lets you create single page web applications using C# instead of JavaScript or TypeScript. Blazor is rapidly gaining momentum among C# and .NET developers since it lets them leverage their existing skills to build rich...
C# 8.0 introduced a lot of great new features and many of us wondered how C# 9.0 would follow such a tough act. Fortunately, C# 9.0 has continued to move the language forward by providing us with some great new tools....
There are many ways to create an Azure Virtual Machine. We’ll go over three easy ways to programmatically create an Azure VM. Azure CLI Azure PowerShell .NET SDK Create Service Principal Develop Application 1. Azure CLI The Azure CLI is a...
Introduction LINQ Where Select Private Members Packages and Namespaces 1. Introduction Learning Python can be challenging for C# developers due to the significant differences between the two languages’ syntax and philosophy. Let’s review a few practical cases which C# developers will...
Introduction Create the App Build Data Layer Implement Game Logic SignalR Server Setup SignalR Client Setup Verify SignalR Connection Starting the Game (Server) Starting the Game (Client) Verify Game Creation Completing the Game (Server) Completing the Game (Client) Test the Game...
Part 2 Using Declarations Nullable Reference Types Asynchronous Enumerables 1. Using Declarations C# 8.0 introduces an alternative way to leverage using statements. This new way is called a using declaration. It reduces unnecessary code nesting and improves readability. Here is a...
1. Switch Syntax C# 8.0 introduces some syntactic sugar for switch statements to make them shorter and more readable. The best way to demonstrate this is to refactor a C# 7 method into C# 8.0. Consider 3 different order statuses: Pending,...
Part 2 Negative Indexing Sequence Slicing Null-Coalescing Assignment 1. Negative Indexing C# 8.0 allows us to easily retrieve an element from a sequence by specifying how far it is from the end. This feature has been around for years in other...