.NET CLI cheatsheet

This guide explains the most important dotnet commands, grouped logically.
You do not need to memorize everything — learn the structure and look up details when needed.

Read More

Understanding JWT Authentication and Authorization

Modern applications are no longer limited to classic server-rendered web pages. Today we build APIs, SPAs (Angular, React), and mobile applications, all of which require a secure and scalable authentication mechanism.

One of the most widely used solutions is JWT (JSON Web Token) authentication.

Read More

Configuration in ASP.NET Core applications

Configuration is a core part of every ASP.NET Core application.
Before comparing IOptions, IOptionsSnapshot, and IOptionsMonitor,
let’s first understand how configuration classes are created and registered.

IOptions vs IOptionsSnapshot vs IOptionsMonitor in ASP.NET Core

Read More

.NET - Launch Settings (Basics)

What is the launchSettings.json file?

  • Location: Properties\launchSettings.json
  • Purpose: defines local run profiles — URLs, HTTPS, environment variables, and startup behavior.
  • Important: used only during local development (dotnet run, Visual Studio); does not affect production.
Read More

Understanding Program.cs in ASP.NET Core

When you start learning ASP.NET Core, the Program.cs file can feel overwhelming.
So many methods, so many configurations — authentication, middleware, services, pipelines…

Here’s the good news:

  • You do NOT need to memorize everything in Program.cs
  • You only need to understand how it works conceptually

This article will help you build a simple mental model so you always know what goes where — even if you forget the exact syntax.

Read More

IIS vs Kestrel: What's the Difference?

When you create an ASP.NET Core web app, it runs on a web server. You might have heard about Kestrel and IIS — but what’s the difference between them? Let’s keep it simple.

Read More