Forem

C#

Official tag for the C# programming language.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Producer/consumer pipelines with System.Threading.Channels

Producer/consumer pipelines with System.Threading.Channels

2
Comments
10 min read
Design Pattern: Factory Method

Design Pattern: Factory Method

11
Comments 1
2 min read
What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022)

What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022)

2
Comments
7 min read
How to Validate a Textbox in the Blazor In-Place Editor component

How to Validate a Textbox in the Blazor In-Place Editor component

5
Comments
1 min read
.NET Celebrates 20 years and brings us a GIFT🎁: New .NET 7 Features Revealed

.NET Celebrates 20 years and brings us a GIFT🎁: New .NET 7 Features Revealed

38
Comments
5 min read
Use multiple .NET SDK CLI Commands on Mac M1

Use multiple .NET SDK CLI Commands on Mac M1

9
Comments
2 min read
Creating and Using HTTP Client SDKs in .NET 6

Creating and Using HTTP Client SDKs in .NET 6

15
Comments
18 min read
How to Send SMS without a Phone Number using C# .NET and an Alphanumeric Sender ID

How to Send SMS without a Phone Number using C# .NET and an Alphanumeric Sender ID

5
Comments
6 min read
Begin your C# Game Development Journey Using This Challenge

Begin your C# Game Development Journey Using This Challenge

15
Comments
5 min read
How to Access Query Strings in Minimal APIs

How to Access Query Strings in Minimal APIs

2
Comments 1
3 min read
Desarrollando una API en ASP.NET con CQRS y MediatR: Parte 1

Desarrollando una API en ASP.NET con CQRS y MediatR: Parte 1

97
Comments 14
11 min read
How to prevent email HTML injection in C# and .NET

How to prevent email HTML injection in C# and .NET

12
Comments
9 min read
Hosting a REST API using Impart

Hosting a REST API using Impart

11
Comments
2 min read
Hashids en ASP.NET Core: Protegiendo tus URLs (Parte 4)

Hashids en ASP.NET Core: Protegiendo tus URLs (Parte 4)

14
Comments 1
5 min read
Documenting Code in C#

Documenting Code in C#

10
Comments
2 min read
Async gotcha: returning Task.FromResult or Task.CompletedTask

Async gotcha: returning Task.FromResult or Task.CompletedTask

16
Comments
2 min read
How To Differentiate If, Else if, Else (but with my mother as example)

How To Differentiate If, Else if, Else (but with my mother as example)

28
Comments 4
5 min read
Touch001 Solving Tray Icon and minimalize UI problem on Arch Linux with C# in Avalonia

Touch001 Solving Tray Icon and minimalize UI problem on Arch Linux with C# in Avalonia

9
Comments 4
4 min read
Measuring maintainability metrics with NDepend

Measuring maintainability metrics with NDepend

6
Comments
8 min read
DBContext, System.InvalidOperationException, and mouse clicking speed demons.

DBContext, System.InvalidOperationException, and mouse clicking speed demons.

4
Comments
6 min read
Game Dev Digest — Issue #135 - Breaking The Rules

Game Dev Digest — Issue #135 - Breaking The Rules

5
Comments
7 min read
CQRS y Validaciones: Construyendo APIs Robustas con MediatR y FluentValidation (Parte 2)

CQRS y Validaciones: Construyendo APIs Robustas con MediatR y FluentValidation (Parte 2)

14
Comments 2
8 min read
Getting Started with the Blazor Range Slider Component

Getting Started with the Blazor Range Slider Component

5
Comments
1 min read
Generate a JSON list for a request body payload in C# using Collection Initializers

Generate a JSON list for a request body payload in C# using Collection Initializers

10
Comments
2 min read
Open-source .NET MAUI Workshop - Multi-platform apps with C#

Open-source .NET MAUI Workshop - Multi-platform apps with C#

32
Comments 6
2 min read
Explaining 5+1 SOLID Principles in C# (Learn How To Program Clean Code)

Explaining 5+1 SOLID Principles in C# (Learn How To Program Clean Code)

34
Comments 1
7 min read
101 touches of coding Linux tool with C# for fun

101 touches of coding Linux tool with C# for fun

4
Comments
3 min read
Seriously, stop using List<T> in APIs

Seriously, stop using List<T> in APIs

13
Comments
2 min read
out & ref | C#

out & ref | C#

19
Comments
1 min read
Dictionary implementation in C#

Dictionary implementation in C#

12
Comments
5 min read
How to Add a Blazor In-Place Editor to a Blazor WebAssembly App

How to Add a Blazor In-Place Editor to a Blazor WebAssembly App

6
Comments
1 min read
Game Dev Digest — Issue #136 - The Creator's Journey

Game Dev Digest — Issue #136 - The Creator's Journey

4
Comments 1
7 min read
[ASP.NET Core][Entity Framework Core] Try JWT 2

[ASP.NET Core][Entity Framework Core] Try JWT 2

9
Comments
4 min read
Building c-lightning plugin with .NET

Building c-lightning plugin with .NET

12
Comments
6 min read
C# Tip: Exception handling with WHEN clause

C# Tip: Exception handling with WHEN clause

12
Comments
2 min read
Game Dev Digest — Issue #134 - Unity's Latest Changes

Game Dev Digest — Issue #134 - Unity's Latest Changes

3
Comments
8 min read
A few words about the implementation of List<T> in C#

A few words about the implementation of List<T> in C#

13
Comments
3 min read
Accessing environment variables in your custom workflow activity or plugin

Accessing environment variables in your custom workflow activity or plugin

4
Comments
2 min read
Getting Started with the Blazor Barcode and QR Code Generator

Getting Started with the Blazor Barcode and QR Code Generator

4
Comments
1 min read
Using Managed Identities to authenticate with Azure Cosmos DB

Using Managed Identities to authenticate with Azure Cosmos DB

26
Comments 1
7 min read
Introducing the Journal Prompt Randomizer

Introducing the Journal Prompt Randomizer

4
Comments
2 min read
C# for dummies: Classes / Objects, Fields, Access Modifiers, Properties, Constructors

C# for dummies: Classes / Objects, Fields, Access Modifiers, Properties, Constructors

15
Comments
2 min read
Deploying C# Azure Functions via GitHub Actions

Deploying C# Azure Functions via GitHub Actions

8
Comments 1
7 min read
Boxing Vs. Unboxing in C#

Boxing Vs. Unboxing in C#

3
Comments
1 min read
Getting Started with the Blazor Range Selector Component

Getting Started with the Blazor Range Selector Component

6
Comments
1 min read
Beginner with a VS2022 Question

Beginner with a VS2022 Question

4
Comments 4
1 min read
C# Authorization attribute and how to override it

C# Authorization attribute and how to override it

28
Comments
2 min read
Suspicious sortings in Unity, ASP.NET Core, and more

Suspicious sortings in Unity, ASP.NET Core, and more

6
Comments
5 min read
Extension Methods in C#

Extension Methods in C#

9
Comments 1
6 min read
Export DataGridView to Excel C# (Code Example Tutorial)

Export DataGridView to Excel C# (Code Example Tutorial)

15
Comments 1
4 min read
CRUD operations on PostgreSQL using C# and Npgsql

CRUD operations on PostgreSQL using C# and Npgsql

4
Comments
7 min read
In response to "Yes, PHP Is Faster Than C#"

In response to "Yes, PHP Is Faster Than C#"

33
Comments 9
4 min read
[ASP.NET Core][ClosedXML] Get addresses from cell values and rewrite them

[ASP.NET Core][ClosedXML] Get addresses from cell values and rewrite them

6
Comments
5 min read
5 Good Practices for Error Handling in C#

5 Good Practices for Error Handling in C#

139
Comments 6
3 min read
Testes de unidade com NUnit para aplicaçÔes C# .Net -- Parte 1

Testes de unidade com NUnit para aplicaçÔes C# .Net -- Parte 1

7
Comments
6 min read
Game Dev Digest — Issue #133 - State Of Games In 2022

Game Dev Digest — Issue #133 - State Of Games In 2022

4
Comments
9 min read
The 5 Guidelines to Write Cleaner Code in C#

The 5 Guidelines to Write Cleaner Code in C#

111
Comments 4
3 min read
Don't use String.ToLower() in C# when comparing strings

Don't use String.ToLower() in C# when comparing strings

47
Comments 11
4 min read
C# Application Security - Password Hash using BCript

C# Application Security - Password Hash using BCript

2
Comments
7 min read
Getting Started with the Blazor Spinner Component

Getting Started with the Blazor Spinner Component

5
Comments
1 min read
loading...