Skip to content

Code Life

Code is not a job but a way of life.

Category: Best Practices

 

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…

Unlocking the Power of Dependency Injection in CSharp .NET Core: Best Practices for IOC
Best Practices

Unlocking the Power of Dependency Injection in CSharp .NET Core: Best Practices for IOC

Why did the C# programmer bring a container to the IoC party? Because he heard they were serving up some…

Boosting Efficiency in CSharp with Parallel Tasks: A Guide to Running Multiple Tasks Concurrently and Handling Results
Best Practices

Boosting Efficiency in CSharp with Parallel Tasks: A Guide to Running Multiple Tasks Concurrently and Handling Results

In the world of software development, efficiency is key. Whether you’re working on a small project or a large-scale application,…

Mastering CSharp: Best Practices for Working with Number Data Types
Best Practices

Mastering CSharp: Best Practices for Working with Number Data Types

C# is a powerful and versatile programming language used in a wide range of applications, from web development to game…

An Introduction to Unit Testing with CSharp and Visual Studio
Best Practices

An Introduction to Unit Testing with CSharp and Visual Studio

In the realm of software development, ensuring the reliability and correctness of code is paramount. One of the key practices…

Best Practices

Best Practices for Using C#’s await vs Task.Wait

In the realm of asynchronous programming in C#, the keywords await and Task.Wait play crucial roles, but they serve distinct…

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.