Skip to content

Code Life

Code is not a job but a way of life.

Category: C# Foundation

 

Best Practices for Using a GUID as the Primary Key in CSharp with Entity Framework and SQL Server
Best Practices SQL Stuff

Best Practices for Using a GUID as the Primary Key in CSharp with Entity Framework and SQL Server

Using a GUID as a primary key in C# applications with Entity Framework (EF) and SQL Server is a popular…

CSharp and Cancelation Token: Lets Get Async
Best Practices

CSharp and Cancelation Token: Lets Get Async

In C#, the async and await keywords simplify asynchronous programming, but handling cancellations is critical in real-world applications. Users may…

The goto Keyword in CSharp: Usage and Best Practices
Best Practices

The goto Keyword in CSharp: Usage and Best Practices

The goto keyword in C# is one of the most controversial constructs in programming. Known for its ability to jump…

Why You Should Use async/Task in CSharp (Even If You Await)
Best Practices

Why You Should Use async/Task in CSharp (Even If You Await)

In C#, the async and Task keywords are powerful tools for handling asynchronous operations. Even when the code you’re writing…

Understanding the using Statement in CSharp: Best Practices and When to Use It
Best Practices

Understanding the using Statement in CSharp: Best Practices and When to Use It

In C#, the using statement is a powerful construct designed to ensure that unmanaged resources, such as file handles, network…

CSharp and Interfaces: Harnessing the Power of Abstraction
C# Foundation OOP

CSharp and Interfaces: Harnessing the Power of Abstraction

In C#, interfaces are a fundamental building block for designing robust and flexible systems. They provide a way to define…

How CSharp Developers Can Leverage Ngrok as a Daily Useful Tool
CSharp Tool Box Dev Tools

How CSharp Developers Can Leverage Ngrok as a Daily Useful Tool

Ngrok is an essential tool that provides secure tunnels to localhost, enabling developers to expose a local development environment to…

Introduction to CSharp and Dapper
CSharp Tool Box

Introduction to CSharp and Dapper

Dapper is a lightweight ORM (Object-Relational Mapper) for .NET. Unlike Entity Framework, Dapper is a micro ORM, meaning it provides…

Building a Simple Load Testing Tool in CSharp
CSharp Tool Box

Building a Simple Load Testing Tool in CSharp

Load testing is a crucial aspect of performance testing that helps ensure an application can handle expected user loads. By…

Understanding Recursive Methods in CSharp: When and How to Use Them
C# Foundation

Understanding Recursive Methods in CSharp: When and How to Use Them

Recursive methods are a powerful concept in programming where a method calls itself to solve a problem. In C#, recursion…

Posts navigation

Older posts
  • Privacy Policy
  • Recommended Reads

Recent Posts

  • To Maui or Not to Maui: Exploring the Pros and Cons of .NET MAUI for Cross-Platform Development
  • Best Practices for Using a GUID as the Primary Key in CSharp with Entity Framework and SQL Server
  • CSharp and Cancelation Token: Lets Get Async
  • Agentic Workflows: Understanding AI Agents and Their Applications
  • The goto Keyword in CSharp: Usage and Best Practices

Categories

  • AI
  • AWS
  • Best Practices
  • C# Foundation
  • Career Path
  • CSharp Tool Box
  • Design Pattern
  • Dev Tools
  • OOP
  • Search Engine
  • Serverless
  • SQL Stuff
  • Uncategorized

Support This Site

If you like what I do please support me on Ko-fi

Amazon Deals:

Copyright © 2025 Code Life | Marvel Blog by Ascendoor | Powered by WordPress.