Service lifetimes in ASP.NET Core

Posted on Aug 16, 2025 in C#/ ASP.NET

Service lifetimes in ASP.NET Core (Scoped, Transient, Singleton) and how they behave during an HTTP request. Let me break it down clearly. Service Lifetimes, ASP.NET Core has three main lifetimes when you register services in the DI container: Lifetime Description Behavior Transient services.AddTransient<T>() A new instance is created every time the service is requested from […]

Read More

OOP Relationship

Posted on Aug 15, 2025 in OOP

In object-oriented programming (OOP), relationships between classes describe how different classes interact or are connected to each other.Think of classes like people in a family or team — they can be related in different ways (parent-child, friend, colleague, etc.). A) Association Definition: A general connection between two classes where one knows about the other. Example: […]

Read More

Introduction to Golang

Posted on Aug 7, 2025 in Golang

In this blog post we will have introduction to Golang (go programming language) Go is a high-level general purpose programming language that is statically typed and compiled, Go was designed at Google in 2007 to improve programming productivity in an era of multicore, networked machines and large codebases.[22] The designers wanted to address criticisms of other languages in use at Google, but keep their useful […]

Read More

New Feature in .NET 8

Posted on Aug 6, 2025 in C#/ ASP.NET

With the release of .NET 8, Microsoft continues to evolve the C# language and developer experience by introducing Primary Constructors for Classes and Structs — a long-awaited feature that brings more conciseness and clarity to object initialization. Whether you’re building APIs, domain models, or simple DTOs, primary constructors can make your code more readable and […]

Read More

Hello World! 👋

Posted on Aug 6, 2025 in Blog

Welcome to my blog! I’m excited to finally start sharing my thoughts, experiences, and insights with the world. This blog will be my little corner on the internet where I’ll write about technology, the things I’m learning, building, and exploring every day. From programming tips and software architecture, to cloud platforms and performance monitoring — […]

Read More