NET

Simple ways to improve and reduce memory allocation in CSimple ways to improve and reduce memory allocation in C
https://link.medium.com/8pcU4UOXPkb


How to stop forgetting to awaitHow to stop forgetting to await
https://ddoomen.medium.com/how-to-stop-forgetting-to-await-an-awaitable-call-b235befb3a5b

Now that all those .NET code bases start to get littered with async and await statements, I’m observing an...

ASP.NET Core PerformanceASP.NET Core Performance
https://hireaspnet.medium.com/10-best-practices-to-improve-asp-net-core-performance-f600e041a87b

!assets/1eQts4ScM78iTLtAH71_jZQ.png

Here is a major reason why ASP.NET Core is the favorite fr...

String interpolationString interpolation
https://medium.com/codex/c-string-interpolation-4c1b4462b1a4

!assets/1ieIdzQ24XCI_E4kXE4zu-Q.png

You’re a C# programmer in 2021. You need to build strings that are more complex than a simple ...

Fast And Memory Efficient Querying in Entity FrameworkFast And Memory Efficient Querying in Entity Framework
https://medium.com/codex/fast-and-memory-efficient-querying-in-entity-framework-ebf906d9e6cb

!assets/1dsMhvjq7FAhUwLW35icrkw.png

There are simple and useful ways to speed up our Entity Framew...

Dependency InjectionDependency Injection
https://medium.com/@jaydeepvpatil225/dependency-injection-and-different-ways-to-inject-it-using-net-core-api-b12e44b92d81

Best Practices for Achieving Immutability in CBest Practices for Achieving Immutability in C
https://medium.com/@shoebsd31/best-practices-for-achieving-immutability-in-c-e0375b11f77d

Introduction

Immutability is a key concept in software engineering and it is essential to ensure the inte...

Why you should no longer use var in CWhy you should no longer use var in C
https://schwabencode.com/blog/2022/09/09/csharp-why-you-should-not-use-var-anymore

!assets/schwabencode-dotnet.png

Why you should no longer use var in C#


Beginning with C# 3, variables th...

OOP in COOP in C
https://link.medium.com/XJonRjxXKyb

!assets/12zaVQgYpZO5yUjkR_uZflQ.jpeg

5 Bad Practices That Can Make Your C Code Messy5 Bad Practices That Can Make Your C Code Messy
https://blog.dotnetsafer.com/5-bad-practices-that-can-make-your-c-code-messy-and-how-to-avoid-them/

!assets/5-Bad-Practices-That-Can-Make-Your-Csharp-Code-Messy.png

How do you know if you’re ...

Insane better performance with Span in CInsane better performance with Span in C
https://medium.com/@johnklaumann/insane-better-performance-with-span-in-c-e485ef176bb

!assets/0xYPhkLVhdKEugCy_.gif

Howdy performance lovers, it is time to optimize your code and have the fas...

Clean Architecture - DIClean Architecture - DI
https://link.medium.com/p8y9adthOyb

!assets/1cQrAbxWH2VYn0cJVlBefyQ.jpeg

Hybrid Apps mit Blazor Desktop und .NET MAUIHybrid Apps mit Blazor Desktop und .NET MAUI
https://www.dev-insider.de/hybrid-apps-mit-blazor-desktop-und-net-maui-a-bfc0c5208b04aa4c56b59e623f4ed349/

Microsoft Blazor ist ein Web-Framework auf Open-Source-Basis. Das Framework kann für hybr...

A Practical Approach to Clean Architecture in C .NETA Practical Approach to Clean Architecture in C .NET
https://maherz.medium.com/a-practical-approach-to-clean-architecture-in-c-net-13fe27ea23b1

!assets/1uhSX5djhrWiguXoWsW_lEw.png

MediatRMediatR
https://link.medium.com/6Pco8WnOezb

Command-Query Responsibility Segregation (CQRS) is an architectural pattern that separates the responsibilities of reading and writing data into two separate co...

Repository PatternRepository Pattern
https://link.medium.com/cc9yzn2Oezb

In today’s software development industry, building APIs has become a fundamental part of many applications. APIs provide a way to expose data and services to ex...

Clean Architecture - Incorporating Repository PatternClean Architecture - Incorporating Repository Pattern
https://link.medium.com/7XMiCanPezb

Introduction

This document provides a detailed overview of how to incorporate a Repository Pattern into a Clean Architecture Pattern. It touches on as many com...

AlgorithmsAlgorithms
https://link.medium.com/qUbACbPugzb

Photo by Андрей Сизов on Unsplash

Introduction

C# is a versatile programming language widely used for developing various types of applications. Having a stron...

Understanding Assembly in .NETUnderstanding Assembly in .NET
https://www.bytehide.com/blog/assembly-in-dotnet

!assets/dotnet-asssemblies-guide-550x428.png

If you’re a developer who works with .NET, you’ve likely encountered assemblies. Understanding as...

Exception handling made easyException handling made easy
https://salihcantekin.medium.com/net5-exception-handling-made-easy-a2236fbc1186

!assets/1fIPW9TvUh3LvGXq-ljgQkg.png

One of the things I always admire is the open-source publications that peop...

30 C .NET Interview Questions and Answers30 C .NET Interview Questions and Answers
!assets/1_NVBTVdmjt3Qvq3CZOySXg.png

Landing a developer role in the C# .NET domain can be quite challenging, especially with the ever-changing landscape of technology. To help you prepare for ...

Abstract Classes vs InterfacesAbstract Classes vs Interfaces
!assets/interface-vs-abstract-class-550x428.png

In object-oriented programming, abstract classes and interfaces serve as blueprints for creating objects in C#. While they have some similaritie...

C interview questions for 0–3 years of ExperienceC interview questions for 0–3 years of Experience
!assets/1M_CexUzKplwt0nAohFVVvQ.png

!assets/1M_CexUzKplwt0nAohFVVvQ 1.png

Basics of the Programming



What are OOPS concepts. Explain briefly. You can know more here and here.

...

Types of Classes in CTypes of Classes in C
!assets/twitter_card_logo.png

Introduction

As we know, C# is an Object Oriented Programming language that provides the ability to reuse existing code. To reuse existing code, C# provides vari...

Garbage Collection Essentials in CGarbage Collection Essentials in C
https://maherz.medium.com/garbage-collection-essentials-in-c-e31412a5797f

Garbage collection is a built-in mechanism in the .NET runtime that automatically reclaims memory occupied by objects that...

How to version and release .Net ApplicationHow to version and release .Net Application
https://medium.com/@fran6_ca/how-to-version-and-release-net-application-e7b5811dfe4b

Recently, a co-worker posed a question on how we can improve the versioning and release process of our dotnet a...

Top 10 Performance Optimization Tips for C DevelopersTop 10 Performance Optimization Tips for C Developers
https://maherz.medium.com/top-10-performance-optimization-tips-for-c-developers-3b09d2385e54

The LinQ Bible in C - From Basics to Best PracticesThe LinQ Bible in C - From Basics to Best Practices
https://www.bytehide.com/blog/linq-csharp

!assets/linq-csharp-550x428.png

LinQ C# Foundations: Building Blocks for Success

Before we embark on our exciting journey of mastering LinQ in C#, i...

Building ASP.NET Core Apps with Clean ArchitectureBuilding ASP.NET Core Apps with Clean Architecture
https://waqasahmeddev.medium.com/building-asp-net-core-apps-with-clean-architecture-724cea7b0e49

Clean Architecture is a software design pattern that focuses on separation of concerns, testability...

Best Practices for designing REST APIsBest Practices for designing REST APIs
https://medium.com/@bubu.tripathy/best-practices-for-designing-rest-apis-5b1809545e3c

Bezahlversion von Artikeln lesenBezahlversion von Artikeln lesen
https://12ft.io/

!assets/lefthand.svg

!assets/righthand.svg

FAQ

What?

Prepend 12ft.io/ to the URL of any paywalled page, and we’ll try our best to remove the paywall and get you access...

The AI that knows your entire codebaseThe AI that knows your entire codebase
https://about.sourcegraph.com/cody

We’re working to bring you Cody where you need it most

Step 1: Sign up

Sign up for a Sourcegraph.com account.

Step 2: Install Cody app

The app is a free, lig...

10 rules for writing asynchronous code in C10 rules for writing asynchronous code in C
https://anthony-trad.medium.com/the-ultimate-10-rules-for-writing-asynchronous-code-in-c-3eb3ccaec1bc

!assets/1P7c5-yVf4CEwaArJ0RfKCw.jpeg

Async await meme

!assets/1P7c5-yVf4CEwaArJ0RfKCw ...

50 C (Advanced) Optimization Performance Tips50 C (Advanced) Optimization Performance Tips
https://www.bytehide.com/blog/performance-optimization-tips-csharp

!assets/50-csharp-optimization-tips-550x428.png

As an experienced C# developer, you’re always looking for ways to improve yo...

Clean Architecture Solution TemplateClean Architecture Solution Template
https://github.com/jasontaylordev/CleanArchitecture

Clean Architecture Solution Template

!assets/badge.svg

!assets/badge 1.svg

The goal of this template is to provide a straightforward ...

12 Bad Practices to Avoid in ASP.NET Core API Controllers12 Bad Practices to Avoid in ASP.NET Core API Controllers
https://levelup.gitconnected.com/12-bad-practices-to-avoid-in-asp-net-core-api-controllers-3ba52a10954e

!assets/1eQjyva0NPFrFajInkZDfqQ.png

When developing controllers in ASP.NET Core, there ...

How to eliminate injecting ILogger everywhere in .NETHow to eliminate injecting ILogger everywhere in .NET
https://github.com/TobiStr/LoggerElimination

Logger Elimination

How to eliminate injecting ILogger everywhere in .NET

Simply create a static class, that holds a Dictionary<Type, ILogger> a...

Configuring Serilog through appsettings.json fileConfiguring Serilog through appsettings.json file
https://mohsen.es/configuring-serilog-through-appsettings-json-file-33b26594bb46

!assets/1WdXcrIjj_nocCnsnTfI9CQ.jpeg

In this post, I’m going to show you how to configure Serilog via the conf...

10 Undiscovered Tools for .NET Developers10 Undiscovered Tools for .NET Developers
https://medium.com/c-sharp-progarmming/10-undiscovered-tools-for-net-developers-dc08a0ec01d

If you’re a .NET developer, you likely have experience with familiar tools like EntityFramework, Dapper,...

RapiDoc instead of SwaggerUIRapiDoc instead of SwaggerUI
https://community.abp.io/posts/how-to-replace-swaggerui-with-rapidoc-hw7pktmz

Introduction

abp uses the very popular SwaggerUI as the default api documentation page. But if you get bored with its...

How to Avoid Dependency Injection Constructor MadnessHow to Avoid Dependency Injection Constructor Madness
https://medium.com/@callmeyaz/how-to-avoid-dependency-injection-constructor-madness-net-65b48046bfd1

!assets/1yuVzMhCJyDENbyhwAsrkwA.png

How to Avoid Dependency Injection Constructor Madness ...

NET Naming Best Practises - DTOsNET Naming Best Practises - DTOs
https://schwabencode.com/blog/2024/01/02/dotnet-naming-best-practises-dto

.NET Naming Best Practises: DTOs

Often seen, often used incorrectly: DTOs. Data Transfer Objects.

In principle, DTO is a...

Top 10 .NET Core Performance TricksTop 10 .NET Core Performance Tricks
https://maherz.medium.com/top-10-net-core-performance-tricks-with-examples-and-best-practices-35ab394dbab6

Top 10 .NET Core Performance Tricks

Performance Tricks & Best Practices, Beginner Fr...

Welcome to the .NET Web Academy!Welcome to the .NET Web Academy!
https://dotnetwebacademy.teachable.com/p/home

Become a .NET & Blazor expert in 2024.

Yes, even with the new render modes of Blazor in .NET 8.

Enroll now

Quick Facts


🖥️ What? Online prog...

5 GitHub Repos How to Build Clean Architecture5 GitHub Repos How to Build Clean Architecture
https://levelup.gitconnected.com/5-github-repos-that-teach-you-how-to-build-clean-architecture-in-net-c8d330256966

How do I learn new things about programming? I read good books (my latest one is ...

Decimal in CDecimal in C
https://medium.com/bytehide/decimal-in-csharp-708f599e7956

My 30+ Tweaks to Visual Studio 2022My 30+ Tweaks to Visual Studio 2022
https://www.youtube.com/watch?app=desktop&v=td81h–afxM&feature=youtu.be

https://www.youtube.com/watch?app=desktop&v=td81h–afxM&feature=youtu.be

Accelerate your .NET build with Visual Studio 2022Accelerate your .NET build with Visual Studio 2022
https://medium.com/medialesson/accelerate-your-net-build-with-visual-studio-2022-b1426e361c14

24 Essential Async-Await Best Practices24 Essential Async-Await Best Practices
https://medium.com/c-sharp-progarmming/24-essential-async-await-best-practices-for-basic-to-advanced-c-developers-f9f5f8ac8f57



ASYNC AWAIT CHEATSHEET

24 Essential Async/Await Best Practices for...

STOP using Minimal APIs for Large Projects! - YouTubeSTOP using Minimal APIs for Large Projects! - YouTube
https://www.youtube.com/watch?v=pojJSF-0JiU

https://www.youtube.com/watch?v=pojJSF-0JiU