Forem

Davide Bellone profile picture

Davide Bellone

Fullstack in my past, backend in my future. C# and .NET in my 💘 Content creator, Microsoft MVP, public speaker.

Location Turin, Italy Joined Joined on  Personal website https://www.code4it.dev/ github website twitter website

Work

Software developer

Six Year Club
Five Year Club
Writing Debut
Four Year Club
Trusted Member 2022
1 Week Community Wellness Streak
Three Year Club
Two Year Club
8 Week Writing Streak
One Year Club
4 Week Writing Streak
C# Tip: ObservableCollection - a data type to intercept changes to the collection
Cover image for C# Tip: ObservableCollection - a data type to intercept changes to the collection

C# Tip: ObservableCollection - a data type to intercept changes to the collection

1
Comments
5 min read

Want to connect with Davide Bellone?

Create an account to connect with Davide Bellone. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
C# Tip: IFormattable interface, to define different string formats for the same object
Cover image for C# Tip: IFormattable interface, to define different string formats for the same object

C# Tip: IFormattable interface, to define different string formats for the same object

Comments
3 min read
How to create custom snippets in Visual Studio 2022
Cover image for How to create custom snippets in Visual Studio 2022

How to create custom snippets in Visual Studio 2022

Comments
6 min read
Is Random.GetItems the best way to get random items in C# 12?
Cover image for Is Random.GetItems the best way to get random items in C# 12?

Is Random.GetItems the best way to get random items in C# 12?

Comments
7 min read
Davide's Code and Architecture Notes - Cache Expiration vs Cache Eviction (and Eviction Policies)
Cover image for Davide's Code and Architecture Notes - Cache Expiration vs Cache Eviction (and Eviction Policies)

Davide's Code and Architecture Notes - Cache Expiration vs Cache Eviction (and Eviction Policies)

Comments
9 min read
Davide's Code and Architecture Notes - Tracking decision with Architecture Decision Records (ADRs)
Cover image for Davide's Code and Architecture Notes - Tracking decision with Architecture Decision Records (ADRs)

Davide's Code and Architecture Notes - Tracking decision with Architecture Decision Records (ADRs)

Comments
7 min read
Davide's Code and Architecture Notes - Introducing SLI, SLO, and SLA
Cover image for Davide's Code and Architecture Notes - Introducing SLI, SLO, and SLA

Davide's Code and Architecture Notes - Introducing SLI, SLO, and SLA

Comments
5 min read
4 ways to create Unit Tests without Interfaces in C#
Cover image for 4 ways to create Unit Tests without Interfaces in C#

4 ways to create Unit Tests without Interfaces in C#

3
Comments 1
10 min read
C# Tip: Use TestCase to run similar unit tests with NUnit
Cover image for C# Tip: Use TestCase to run similar unit tests with NUnit

C# Tip: Use TestCase to run similar unit tests with NUnit

Comments
2 min read
How to kill a process running on a local port in Windows
Cover image for How to kill a process running on a local port in Windows

How to kill a process running on a local port in Windows

Comments
3 min read
How to extract, create, and navigate Zip Files in C#
Cover image for How to extract, create, and navigate Zip Files in C#

How to extract, create, and navigate Zip Files in C#

Comments
5 min read
Davide's Code and Architecture Notes - 4 algorithms to implement Rate Limiting, with comparison
Cover image for Davide's Code and Architecture Notes - 4 algorithms to implement Rate Limiting, with comparison

Davide's Code and Architecture Notes - 4 algorithms to implement Rate Limiting, with comparison

Comments
7 min read
C# Tip: How to create Unit Tests for Model Validation
Cover image for C# Tip: How to create Unit Tests for Model Validation

C# Tip: How to create Unit Tests for Model Validation

Comments
3 min read
Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commit
Cover image for Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commit

Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commit

Comments
9 min read
Davide's Code and Architecture Notes - Pros and Cons of API Gateways (plus vendors comparison)
Cover image for Davide's Code and Architecture Notes - Pros and Cons of API Gateways (plus vendors comparison)

Davide's Code and Architecture Notes - Pros and Cons of API Gateways (plus vendors comparison)

Comments
9 min read
OhMyPosh and CascadiaCode not working on PowerShell? How to fix it in Windows 10 and Windows 11 Integrated Terminal
Cover image for OhMyPosh and CascadiaCode not working on PowerShell? How to fix it in Windows 10 and Windows 11 Integrated Terminal

OhMyPosh and CascadiaCode not working on PowerShell? How to fix it in Windows 10 and Windows 11 Integrated Terminal

Comments
6 min read
How to integrate Feature Flags stored on Azure App Configuration in an ASP.NET Core Application
Cover image for How to integrate Feature Flags stored on Azure App Configuration in an ASP.NET Core Application

How to integrate Feature Flags stored on Azure App Configuration in an ASP.NET Core Application

1
Comments
6 min read
Davide's Code and Architecture Notes - Postel's law for API Robustness
Cover image for Davide's Code and Architecture Notes - Postel's law for API Robustness

Davide's Code and Architecture Notes - Postel's law for API Robustness

Comments
5 min read
C# Tip: Access items from the end of the array using the ^ operator
Cover image for C# Tip: Access items from the end of the array using the ^ operator

C# Tip: Access items from the end of the array using the ^ operator

Comments
2 min read
Top 6 Performance Tips when dealing with strings in C# 12 and .NET 8
Cover image for Top 6 Performance Tips when dealing with strings in C# 12 and .NET 8

Top 6 Performance Tips when dealing with strings in C# 12 and .NET 8

Comments
14 min read
PriorityQueues on .NET 7 and C# 11
Cover image for PriorityQueues on .NET 7 and C# 11

PriorityQueues on .NET 7 and C# 11

2
Comments
4 min read
How to solve InvalidOperationException for constructors using HttpClientFactory in C#
Cover image for How to solve InvalidOperationException for constructors using HttpClientFactory in C#

How to solve InvalidOperationException for constructors using HttpClientFactory in C#

9
Comments
3 min read
How to log Correlation IDs in .NET APIs with Serilog
Cover image for How to log Correlation IDs in .NET APIs with Serilog

How to log Correlation IDs in .NET APIs with Serilog

10
Comments
6 min read
Clean Code Tip: Avoid subtle duplication of code and logic
Cover image for Clean Code Tip: Avoid subtle duplication of code and logic

Clean Code Tip: Avoid subtle duplication of code and logic

1
Comments
2 min read
C# Tip: Use Debug-Assert to break the debugging flow if a condition fails
Cover image for C# Tip: Use Debug-Assert to break the debugging flow if a condition fails

C# Tip: Use Debug-Assert to break the debugging flow if a condition fails

6
Comments
2 min read
PostgreSQL CRUD operations with C# and Dapper
Cover image for PostgreSQL CRUD operations with C# and Dapper

PostgreSQL CRUD operations with C# and Dapper

5
Comments
7 min read
3 (and more) ways to set configuration values in .NET
Cover image for 3 (and more) ways to set configuration values in .NET

3 (and more) ways to set configuration values in .NET

1
Comments
6 min read
Clean Code Tip: Keep the parameters in a consistent order
Cover image for Clean Code Tip: Keep the parameters in a consistent order

Clean Code Tip: Keep the parameters in a consistent order

1
Comments
1 min read
How to parse JSON Lines (JSONL) with C#
Cover image for How to parse JSON Lines (JSONL) with C#

How to parse JSON Lines (JSONL) with C#

4
Comments
4 min read
How to resolve dependencies in .NET APIs based on current HTTP Request
Cover image for How to resolve dependencies in .NET APIs based on current HTTP Request

How to resolve dependencies in .NET APIs based on current HTTP Request

2
Comments
6 min read
C# Tip: Use a SortedSet to avoid duplicates and sort items
Cover image for C# Tip: Use a SortedSet to avoid duplicates and sort items

C# Tip: Use a SortedSet to avoid duplicates and sort items

1
Comments
3 min read
Clean Code Tip: Don't use too many method arguments
Cover image for Clean Code Tip: Don't use too many method arguments

Clean Code Tip: Don't use too many method arguments

7
Comments
2 min read
Moq vs NSubstitute: syntax cheat sheet
Cover image for Moq vs NSubstitute: syntax cheat sheet

Moq vs NSubstitute: syntax cheat sheet

3
Comments 1
5 min read
C# tip: define Using Aliases to avoid ambiguity
Cover image for C# tip: define Using Aliases to avoid ambiguity

C# tip: define Using Aliases to avoid ambiguity

11
Comments
3 min read
Clean code tip: use the same name for the same concept
Cover image for Clean code tip: use the same name for the same concept

Clean code tip: use the same name for the same concept

4
Comments
1 min read
C# Tip: use IHttpClientFactory to generate HttpClient instances
Cover image for C# Tip: use IHttpClientFactory to generate HttpClient instances

C# Tip: use IHttpClientFactory to generate HttpClient instances

13
Comments 6
2 min read
8 things about Records in C# you probably didn't know
Cover image for 8 things about Records in C# you probably didn't know

8 things about Records in C# you probably didn't know

29
Comments 2
5 min read
Clean Code Tip: Tests should be even more well-written than production code
Cover image for Clean Code Tip: Tests should be even more well-written than production code

Clean Code Tip: Tests should be even more well-written than production code

6
Comments
2 min read
From idea to publishing, and beyond: how I automated my blogging workflow with GitHub, PowerShell, and Azure
Cover image for From idea to publishing, and beyond: how I automated my blogging workflow with GitHub, PowerShell, and Azure

From idea to publishing, and beyond: how I automated my blogging workflow with GitHub, PowerShell, and Azure

28
Comments
9 min read
C# Tip: Convert ExpandoObjects to IDictionary
Cover image for C# Tip: Convert ExpandoObjects to IDictionary

C# Tip: Convert ExpandoObjects to IDictionary

9
Comments
2 min read
3 ways to check the object passed to mocks with Moq in C#
Cover image for 3 ways to check the object passed to mocks with Moq in C#

3 ways to check the object passed to mocks with Moq in C#

9
Comments 1
4 min read
Clean Code Tip: Avoid using too many Imports in your classes
Cover image for Clean Code Tip: Avoid using too many Imports in your classes

Clean Code Tip: Avoid using too many Imports in your classes

6
Comments
2 min read
How to access the HttpContext in .NET API
Cover image for How to access the HttpContext in .NET API

How to access the HttpContext in .NET API

9
Comments
3 min read
How to perform CRUD operations with Entity Framework Core and PostgreSQL
Cover image for How to perform CRUD operations with Entity Framework Core and PostgreSQL

How to perform CRUD operations with Entity Framework Core and PostgreSQL

14
Comments
7 min read
Clean Code Tip: Not all comments are bad
Cover image for Clean Code Tip: Not all comments are bad

Clean Code Tip: Not all comments are bad

5
Comments 1
2 min read
Advanced parsing using Int.TryParse in C#
Cover image for Advanced parsing using Int.TryParse in C#

Advanced parsing using Int.TryParse in C#

9
Comments
4 min read
C# Tip: How to temporarily change the CurrentCulture
Cover image for C# Tip: How to temporarily change the CurrentCulture

C# Tip: How to temporarily change the CurrentCulture

14
Comments 1
2 min read
Clean Code Tip: AAA pattern for tests: why is it important?
Cover image for Clean Code Tip: AAA pattern for tests: why is it important?

Clean Code Tip: AAA pattern for tests: why is it important?

7
Comments 1
2 min read
Measuring maintainability metrics with NDepend
Cover image for Measuring maintainability metrics with NDepend

Measuring maintainability metrics with NDepend

6
Comments
8 min read
C# Tip: Exception handling with WHEN clause
Cover image for C# Tip: Exception handling with WHEN clause

C# Tip: Exception handling with WHEN clause

12
Comments
2 min read
CRUD operations on PostgreSQL using C# and Npgsql
Cover image for CRUD operations on PostgreSQL using C# and Npgsql

CRUD operations on PostgreSQL using C# and Npgsql

4
Comments
7 min read
Code opinion: Should we trust Open Source after Log4J's issues?
Cover image for Code opinion: Should we trust Open Source after Log4J's issues?

Code opinion: Should we trust Open Source after Log4J's issues?

3
Comments 1
5 min read
C# Tip: use yield return to return one item at the time
Cover image for C# Tip: use yield return to return one item at the time

C# Tip: use yield return to return one item at the time

15
Comments
3 min read
Clean Code Tip: Avoid mental mappings
Cover image for Clean Code Tip: Avoid mental mappings

Clean Code Tip: Avoid mental mappings

8
Comments
2 min read
Profiling .NET code with MiniProfiler
Cover image for Profiling .NET code with MiniProfiler

Profiling .NET code with MiniProfiler

3
Comments
6 min read
How to run PostgreSQL locally with Docker
Cover image for How to run PostgreSQL locally with Docker

How to run PostgreSQL locally with Docker

Comments
3 min read
How to test HttpClientFactory with Moq

How to test HttpClientFactory with Moq

8
Comments
7 min read
How to add logs on Console with .NET Core and Serilog
Cover image for How to add logs on Console with .NET Core and Serilog

How to add logs on Console with .NET Core and Serilog

3
Comments
6 min read
[AskDev] GatsbyJS and SEO: how to manage internal routing?

[AskDev] GatsbyJS and SEO: how to manage internal routing?

Comments
1 min read
Senior software developer. What next?

Senior software developer. What next?

13
Comments 13
1 min read
loading...