Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

CodeSwissKnife

Focus on Productivity with Secure, Offline Developer Tools

Download
blog

How to Implement Redis Cache in .NET using Minimal APIs and C#

Introduction In a previous article, I wrote about How to Implement In-Memory Caching in .NET Console App Using C#, where I introduced the basic concept of caching and explained the difference between first-level (in-memory) and second-level (distributed) caching. In-memory caching is a powerful tool to boost application performance by storing frequently accessed data in memory, […]

Ottorino Bruni 
blog

Simplify Blazor Frontend Development with Postman Mock Servers: Start Work Without Waiting for Backend

Introduction When building modern web applications, APIs are critical for communication between the frontend and backend. However, there are times when backend development lags behind, or you need to start working on the frontend without waiting for the API to be fully implemented. This is where tools like Postman come into play. In a previous […]

Ottorino Bruni 
blog

How to Implement Dependency Injection in .NET: C# Console App Guide Using Visual Studio Code

Introduction Dependency Injection (DI) is a fundamental concept in .NET development, enabling developers to create flexible, maintainable, and testable applications. By decoupling dependencies, DI allows for better code organization and promotes adherence to SOLID principles, particularly the Dependency Inversion Principle (DIP). Previously, I discussed SOLID principles in C# and delved into the Dependency Inversion Principle. […]

Ottorino Bruni 
blog

How to Implement Entity Framework Core Migrations in a .NET Console Application Using C# and VSCode

Introduction to Entity Framework Core Migrations In the previous articles, I discussed how to integrate SQLite with a .NET console application using C# and VSCode, and how to use Dapper for data access. You can find those articles at these links: SQLite with .NET Console Application, Using Dapper and Entity Framework Core in .NET Applications. […]

Ottorino Bruni