Blog · corpus.blog/blogs/code4it.dev/posts
code4it.dev
code4it.dev
2026
Microsoft Agent Framework for .NET (part 3): Custom Agents, for building a chat with custom instructionsoriginal ↗
1 Sept 2026
Microsoft Agent Framework for .NET (part 2): How to use IChatClient with Azure Foundry and Ollama in .NEToriginal ↗
21 Jul 2026
C# Tip: Use required members to prevent invalid object initialization (beware of SetsRequiredMembers attribute!)original ↗
14 Jul 2026
7 Jul 2026
14 Apr 2026
C# Tip: How to JSON Serialize and Deserialize values as DateTime, DateTimeOffset, DateOnly and TimeOnlyoriginal ↗
24 Mar 2026
Python for .NET devs: Introduction, virtual environments, package management, and execution lifecycleoriginal ↗
3 Mar 2026
20 Jan 2026
2025
Davide's Code and Architecture Notes - Metrics, Logs, and Traces: the three pillars of Observabilityoriginal ↗
18 Nov 2025
Introducing the Testing Vial: a (better?) alternative to Testing Diamond and Testing Pyramidoriginal ↗
12 Oct 2025
2 Sept 2025
Build your own Static Code Analysis tool in .NET by knowing how Assembly, Type, MethodInfo, ParameterInfo work.original ↗
29 Jul 2025
6 May 2025
HTTP Logging in ASP.NET: how to automatically log all incoming HTTP requests (and its downsides!)original ↗
14 Jan 2025
7 Jan 2025
2024
Davide's Code and Architecture Notes - the Error Management Trio, and how it affects your software architectureoriginal ↗
5 Nov 2024
Davide's Code and Architecture Notes - Practical creation of C4 Model diagrams with Structurizroriginal ↗
17 Sept 2024
Postman's pre-request scripts: how to perform HTTP POST requests (with JSON body) and how to set Cookie authentication.original ↗
20 Aug 2024
30 Jul 2024
Davide's Code and Architecture Notes - Arc42 Documentation, for a comprehensive description of your projectoriginal ↗
2 Jul 2024
12 Mar 2024
27 Feb 2024
Davide's Code and Architecture Notes - Cache Expiration vs Cache Eviction (and Eviction Policies)original ↗
6 Feb 2024
23 Jan 2024
Davide's Code and Architecture Notes - Tracking decision with Architecture Decision Records (ADRs)original ↗
9 Jan 2024
2023
Davide's Code and Architecture Notes - 4 algorithms to implement Rate Limiting, with comparisonoriginal ↗
7 Nov 2023
OhMyPosh and CascadiaCode not working on PowerShell? How to fix it in Windows 10 and Windows 11 Integrated Terminaloriginal ↗
31 Oct 2023
Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commitoriginal ↗
17 Oct 2023
Davide's Code and Architecture Notes - Pros and Cons of API Gateways (with vendors comparison)original ↗
10 Oct 2023
How to integrate Feature Flags stored on Azure App Configuration in an ASP.NET Core Applicationoriginal ↗
3 Oct 2023
4 Jul 2023
20 Jun 2023
How to add Dependency Injection, Configurations, and Logging in a .NET 7 Console Applicationoriginal ↗
6 Jun 2023
Davide's Code and Architecture Notes - Testing Pyramid vs Testing Diamond (and how they affect Code Coverage)original ↗
30 May 2023
Davide's Code and Architecture Notes - Understanding Elasticity and Scalability with Pokémon Go and TikTokoriginal ↗
21 Feb 2023
24 Jan 2023
2022
12 Dec 2022