You know the situation. You spent two weeks building CSV export for expenses. You had to add a new endpoint, pull formatting out into a separate service, adjust a migration, write a background job, and fix a paginatio...
The task sounds simple: triage inbound support tickets. Pick a category, set a severity, choose the team, work out the first response target, and sometimes propose a refund.
Say we connect an expense MCP server to a corporate AI assistant. One tool lists receipts, another approves a payment. On the demo everything looks fine: the server accepts a bearer token, [Authorize] keeps anonymous ...
Database queries are rarely simple. First we need to get the user's active orders. Then a filter by date, status and amount, search by email, loading related entities, sorting, pagination and a separate query for expo...
Prompt injection is one of the best-known attack classes affecting large language model systems. In an agent architecture, though, it is only a way to influence what the model decides. Once an LLM has memory, tools, A...
Handling errors and missing values has always been one of the hardest parts of software development. .NET developers are used to relying on exceptions for error situations and on null for missing data. There's another...
When you write code in C#, F# or VB.NET and press F5, the processor doesn't run that code directly. The compiler first turns it into intermediate code called IL (Intermediate Language), and then the JIT (Just-In-Time)...
When we deploy a .NET application on Azure App Service and configure access to it via Azure Application Gateway, there is a typical problem of determining the correct host and request scheme.The crux of the problem is...
Model Context Protocol (MCP) lets AI models work with your data and services, and .NET already has an SDK for it. Here's what the protocol is, which problem it solves, and how to build your own MCP server in C#.
In .NET applications, request validation is often built on FluentValidation and MediatR.Traditionally, when validation fails, we throw a ValidationException.It works, but it's usually not the most efficient option.The...
The async/await mechanism made asynchronous operations in .NET much simpler, but it came with nuances you need to know if you want to write efficient code. One of them is the ConfigureAwait method, which controls wher...
Garbage collection (Garbage Collection, GC) is an automatic memory management mechanism that frees developers from having to manually allocate and deallocate memory. It's what sets .NET apart from languages where memo...
SOLID is an acronym for five fundamental principles of object-oriented programming and design, introduced by Robert Martin.These principles help you build software that is:
.NET 8 added a new kind of collection: Frozen Collections. They're meant for data that's created once and then read a lot, and reading is what they're optimized for.Once created, Frozen Collections are completely immu...
GitHub is the world's largest platform for collaborative software development, with tools for version control, project management and teamwork. It's built on Git, a version control system that lets teams work on code ...
In recent decades, the field of information technology has experienced a revolution in the deployment and management of software applications. Startups and corporations, developers and administrators, are all familiar...
During software development, sometimes there is a need to automatically modify certain actions, for example, to automatically add headers to HTTP requests from the client to the server, to perform certain logic before...
In the previous article, we explained how to easily create and add your own SSL certificate to Azure App Service and use it in our .NET application. Today we will figure out how to perform an identical task, but we wi...
When developing almost any solution, we need to store some sensitive data. It can be both a connection string to the database with credentials about the user (login/password), and data about payment systems. In each a...
Every day, more and more companies experience breaches and loss/leakage of personal data. In many cases, this is the usual phishing and carelessness of users, but there are also many cases where companies neglect secu...
, 8 min read
No articles match this filter yet.
New articles on architecture, .NET, and AI come straight to your feed reader, with no algorithm or spam. Subscribe via RSS.