The collected writing

Thinking out loud.

Deep dives, practical lessons, and a few questions worth sitting with. From the code to the people writing it.

40 articles

AI & agents

Even agents need discipline

Agents are a proxy for your discipline. If you have been using LLMs in any capacity, you already know it, but consciously — the exact ability LLMs lack. Now draw your attention to AGILE.

.NET & C#

Who calls Dispose in .NET and how Finalization works in .NET

Read the below code to answer the questions that follow the code.

.NET & C#

Refactoring code - All about variables

Any code written in the past is legacy code as soon as adding a new feature or fixing a bug makes it difficult to change it. There is only one cure to this problem: Refactor it, but only.

.NET & C#

ASP.NET Core 8 Request Timeout Control

There is no default way to control the request timeout in ASP.NET Core 6.0 or 7.0. But the ASP.NET Core 8.0 introduces a RequestTimeout Middleware. It supports policy convention/pattern.

.NET & C#

Serilog with CreateApplicationBuilder in .NET 8 Worker or Hosted Service

Logs are facts emitted by your application especially when it is running in production.

.NET & C#

A Complete Guide to all ASP.NET Builtin Middlewares - Part 4

Middleware is a function in then ASP.NET 8, when many functions are invoked one after the other like a chain; it becomes a middleware pipeline. The middleware pipeline is responsible for.

.NET & C#

Validate Complex Types On Startup in .NET 8

The .NET 8 Host Builder allows you to bind configuration with C# objects by using AddOptions<T> and binding to the configuration.

.NET & C#

A Complete Guide to all ASP.NET Builtin Middlewares - Part 3

Middleware is a function in then ASP.NET 8, when many functions are invoked one after the other like a chain; it becomes a middleware pipeline. The middleware pipeline is responsible for.

.NET & C#

Validate Options<T> on Startup in Hosted Services in .NET8

The .NET 8 Host Builder allows you to bind configuration with C# objects by using AddOptions<T> and binding to the configuration.

.NET & C#

A Complete Guide to all ASP.NET Builtin Middlewares - Part 2

Middleware is a function in then ASP.NET 8, when many functions are invoked one after the other like a chain; it becomes a middleware pipeline. The middleware pipeline is responsible for.

.NET & C#

A Complete Guide to all ASP.NET Builtin Middlewares - Part 1

Middleware is a function in then ASP.NET 8, when many functions are invoked one after the other like a chain; it becomes a middleware pipeline. The middleware pipeline is responsible for.

Architecture

A tale of migrating an ASP.NET Framework 4.x application to ASP.NET 6

The .NET migration from ASP.NET Framework 4.x to ASP.NET6 or upcoming ASP.NET8 is going to be on the rise in the next few years due to different reasons. Your reasons may vary from pure.

.NET & C#

Develop Intuitive Understanding of Middleware in ASP.NET 8

It is a long blog post, but it builds the foundation and deep understanding of the middleware in the ASP.NET 8 or previous versions starting with ASP.NET 6.

.NET & C#

No more configuration magic strings in ASP.NET 8

Do you love magic strings to get the configuration values? No. Me neither. It was a serious question except you are in JS/TS land.

.NET & C#

ASP.NET 8 Configurations Simple but YET Complex Story

ASP.NET 8 Configurations Think about a piece of software; it could be a web or mobile application or an API. What's its purpose? Well, it's here to solve a single or multiple problems.

.NET & C#

Understand the tradeoffs of records in csharp by exploring the features

Records - A Reference Type were introduced in C#9 and extended in C#10 to allow record struct - A Value Type. What is so special about records that the .NET team shipped them in two.

.NET & C#

Incrementally Introduce Dependency Injection in .NET Framework Web API

Image by JetBrains Linkedin

.NET & C#

Understanding C# Channels and testing Channels in ASP.NET Core Application

Image by awcreativeut

.NET & C#

How to parse SQL Server Stored Procedures and Get Parameter(s) and ResultSet(s) Details

Image by @claybanks

.NET & C#

How to Authorize in ASP.NET API using Authorization Policy with Requirements and Handler

Image by @claybanks

.NET & C#

Dependency Injection in MVC Action Filters using .NET 6

Image by awcreativeut

.NET & C#

How to test cors in ASP.NET6 API

Image by awcreativeut

.NET & C#

How to compare visually same unicode characters in C# and JavaScript

When the application expects Unicode characters as input from the user, it is best to normalize it before storing it in the database, especially when you plan to use the information for.

.NET & C#

Covariant or Polymorphic return types in C# 9

Variance means change. The concept of change applies to reference types of objects in C#. Behavior changes in objects are observable in two ways:

Architecture

What, Why and How of Facade Pattern in C#

Exposing the simplistic interface of anything complex is a Facade. For example, when you place an order for Pizza delivery, the application hides the complex process behind Pizza.

Architecture

What, Why and How of Adapter Pattern in C#

The Adapter Pattern connects two incompatible objects by exposing an interface compatible with the Client. The object refers to a class, web service, REST API, process, or physical.

.NET & C#

A Complete Guide to Hosted Service(s) in .NET 6 using C# 10

Image by awcreativeut

Architecture

Cache Aside Pattern using C#

It enables you to improve application performance by reading the data from the cache-store (Redis, Memory Cache) instead of the persistent store (database) or an integration service.

Architecture

Template Method Pattern using C#

Template Method Pattern executes multiple same steps in the same order and allows consumers to change the behavior of the steps.

.NET & C#

AWS Cloud Practitioner Certification Preparation Plan

My plan is to pass the Practitioner Certification by March 31, 2022. If you like to combine video, text resources to learn and labs for essential practice. I settled on the following.

Architecture

Chaos Engineering Experiments with Gremlin, Octopus and PowerShell

Image by @isaacmsmith

Architecture

Useful .NET Performance Tools And Resources

Image by @isaacmsmith

Architecture

Tuples in C# 10 and Memory Mental Model in .NET

Image by @helloitsammiel

Leadership

Agile Practices

Image by @kellysikkema

Architecture

Thinking through Unlocking TypeScript in a monolithic Application

Image by @brucemars

.NET & C#

An Introduction to Accessing data from RDBMS in .NET

Image by @abrizgalov

Architecture

SQL Server Query Store Overview

Image by @isaacmsmith

.NET & C#

Introduction to MSSQL Server In-Memory OLTP with .NET 6 and EF Core

SQL Server Enterprise offers scalable memory optimized relational tables. Yes, all data inside table will be loaded in memory. In-Memory tables has two flavors.

Leadership

Ideas Matter Continuous Learning Culture

Ideas Matter Continuous Learning Culture

.NET & C#

MS Office Interop Automation in C#

MS Office Interop Automation in C#