CSharp

Exploring C# 10: Global Using Declarations

Exploring C# 10: Global Using Declarations

Let's explore global using directives in C# 10, a nice way to make your namespaces available throughout your project.

Dave Brock
Dave Brock
CSharp
Exploring C# 10: Save Space with File-Scoped Namespaces

Exploring C# 10: Save Space with File-Scoped Namespaces

In this post, let's explore file-scoped namespaces in the new version of C#, C# 10.

Dave Brock
Dave Brock
CSharp
Instant Feedback Is Here: Introducing Hot Reload in .NET 6

Instant Feedback Is Here: Introducing Hot Reload in .NET 6

With .NET 6 Preview 3, you can use hot reloading with your ASP.NET Core apps.

Dave Brock
Dave Brock
Blazor
Use C# to upload files to a GitHub repository

Use C# to upload files to a GitHub repository

In this post, let's use the Octokit library to use C# to upload files to a GitHub repository.

Dave Brock
Dave Brock
CSharp
How to use configuration with C# 9 top-level programs

How to use configuration with C# 9 top-level programs

In a C# 9 deep dive, we talk about how top-level programs work with status codes, async, arguments, and local functions.

Dave Brock
Dave Brock
CSharp
Use local function attributes with C# 9

Use local function attributes with C# 9

In this quick post, I introduce how to use attributes on local functions in C# 9.

Dave Brock
Dave Brock
CSharp
Automate a Markdown links page with Pinboard and C#

Automate a Markdown links page with Pinboard and C#

In this post, we generate a Markdown links page using Pinboard and C#.

Dave Brock
Dave Brock
CSharp
Simplify your ASP.NET Core API models with C# 9 records

Simplify your ASP.NET Core API models with C# 9 records

In this post, a quick tip about how to use records to simplify your API models.

Dave Brock
Dave Brock
CSharp