.NET

Notes
55
Reading
4 h 11 min
Sections
15
Updated

Recently added not in a section yet

Notes tagged dotnet, csharp that this index does not link yet. Added automatically on each build.

Start here

2 notes · 4 min · updated Jun 2024

Meta

4 notes · 12 min · updated Sep 2025

config

.NET with AI1 note · 2 min

Integrate .NET with AI

2 min · updated Sep 2025

Today’s AI landscape moves so fast and providers differ so much that vendor lock-in can become expensive. You need a clean, testeable way to add AI without tying your architecture to one SDK.

C# language27 notes · 2 h 20 min

“basics”

15 notes · 1 h 27 min · updated Jul 2025

this is a list of c# features good to know for someone like me, coming from a Java background

collections, lists and lambdas

advanced

8 notes · 40 min · updated Feb 2026

TAP programming (async / await)

C# 12

3 notes · 12 min · updated Sep 2024

C# 11

1 note · 5 min · updated Sep 2024

APIs7 notes · 24 min

Basic health checks

4 min · updated Oct 2024

For many apps, a basic health probe configuration that reports the app’s availability to process request is sufficient to discover the status of the app

How to get headers

1 min · updated Jul 2025

This is how to retrieve headers from any call.

Caching (IMemoryCache)

4 min · updated Aug 2025

.NET offers several cache types. I’m going to explore here IMemoryCache which stores data in the memory of the web server. It’s simple but not suitable for distributed scenarios.

Validations

1 min · updated Jun 2024

C# tiene los DataAnnotation

Newtonsoft

2 min · updated Jul 2025

With NullValueHandling we may omit in the JSON a variable in case it’s null.

Dependency injection (& scope types)

6 min · updated Aug 2024

Dependency injection is native-available in .NET Core

Dependency injections with multiple implementations

6 min · updated Jun 2024

I have the class package with a type, plus more info not relevant to the question

(ORM) Entity Framework Core6 notes · 13 min

Teoria EF Core

5 min · updated Jun 2024

En el Program tenemos código que depende del nugget y la implementación de la base de datos que vamos a integrar.
Este usa una cadena del appsettings.json para conectar a la BBDD

EF Core Scaffolding

1 min · updated Jun 2024

Go to Tools > Nuget Package Manager > Package Manager Console

EF Core Global Filters

3 min · updated Oct 2024

Let’s set a case where we have the following User class where we want to soft delete it, as we want to keep deleted records.

Read-only statements performance improvement

1 min · updated Jun 2024

Cuando se van a realizar consultas de solo lectura, las cuales NO se van a usar para actualizar en la base de datos, se puede llamar al método .AsNoTracking() para mejorar la performance.
Es recomendable utilizarla para manejar grandes volumenes de entidades.

Data models

1 min · updated Jun 2024

You can easily mark fields for a model which are primary key or are required.

EF Core multithreading

2 min · updated Aug 2025

I’ve had issues with EF Core when operating with multiple threads and with multiple calls at the same time.

Razor Pages2 notes · 10 min

Basic usage

2 min · updated Apr 2026

Con Visual Studio es posible automatizar la creación de CRUDs y sus vistas.

Prevent Overposting

8 min · updated Apr 2026

Si las clases contienen secretos, aunque estos no se muestren en la web, hay maneras de introducir datos en un Creation aunque el form no tenga un campo para ello.

Unit Testing7 notes · 46 min

Overview

3 notes · 18 min · updated May 2026

Testing frameworks

3 notes · 19 min · updated Jun 2026

NUnit (legacy; use XUnit for new projects)

1 note · 9 min · updated May 2026

Found it useful? Share it
LinkedIn