Let's learn about Dotnet via these 282 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the Learn Repo or LearnRepo.com to find the most read blog posts about any technology.

Dotnet is a free, open-source development platform for building many types of applications, including web, mobile, desktop, and cloud services. It provides a robust framework and ecosystem for developers to create high-performance software across various platforms.

Method overloading and overriding are two common forms of polymorphism ( the ability for a method or class to have multiple forms) in C# that are often confused because of their similar sounding names. In this article, we show the difference between the two with some practical code examples.

In this post I'll show how to maintain a standard for everyone who works in the code, no matter the editor used.

The Factory pattern allows developers to create objects without specifying the exact class of object that will be created.

Learn how to enhance code readability and optimize memory allocation for improved application performance.

Hi everyone! There is a lot of information about different C# features. About various life hacks and best practices in this language.
I want to tell you about equally useful, but less popular tips for working with this language.

Dapper is a popular and easy-to-use object-relational mapping (ORM) tool for .NET developers. It is lightweight, fast, and provides a simple way to execute SQL

Implicit operators are a C# feature that can make our code more readable and expressive. But beware! Misuse can backfire and cause a great deal of headaches!

Explore the concept of Inversion of Control (IoC) in software engineering, understanding its benefits, and various implementations.

Diving into error CS0246 - type or namespace could not be found, what it means, why it happens, and how to solve it.

Dapper is a powerful and lightweight Object-Relational Mapping (ORM) tool for C#. It is designed to be simple and fast, allowing developers to execute SQL query

Explore Inversion of Control (IoC) in software engineering, understanding its benefits, implementation through dependency injection, and real-world applications

Enhance your string comparison skills and write robust, efficient code in C#.

We use Azure Function Core Tools to create a local.settings.json file and import our Function settings to that file so we can run our Functions locally.

I've recently gotten into using Docker in my development cycle and I'm really enjoying how much of a wonderful tool it is. One thing that always used to be a pain was setting up a development server to run SQL Server. Now with Docker, I can just spin up a Docker container and I instantly have a SQL Server ready to go.

I recently wrote a blog post introducing some of my favourite NuGet packages: My Top 4 NuGet Packages for ASP.NET Core. In that post, I briefly introduced a package called MediatR. Today, I will dedicate this post to revisiting MediatR in further detail.

The story is about how to create a NuGet package with a .editorconfig and import it to all the projects.

Do you want to try out Blazor, but you're not a Windows person? Strictly a Linux developer? You're in luck. One of the goals of .NET Core is to be cross-platform, so today we'll see just how "cross-platform" it really is with Blazor, Microsoft's hot new front end development project.

Blazor is here, Will JavaScript be dead? I would say that the answer is NO at-least for now.

QR code is a computer-readable identification that contains data about the item to which it is attached. The article demonstrates how to generate QR-Code image.

C# (pronounced “C sharp”) is a modern, object-oriented programming language developed by Microsoft. It is widely used for creating desktop applications, games,

Explore the top C# .NET spreadsheets and their notable features for your applications in this review of leading options.

Best Practice Using Timers in DotNet (.NET) CSharp (C#), Dependency Injection (DI), Inversion of Control (IoC), Test Driven Development (TDD), Unit Testing

IronPDF is a .NET library for creating PDFs programatically. It's fast, simple, and easy to use.

We can publish NuGet packages to internal feeds hosted in Azure Artifacts easily via pipelines defined in YAML files.

Best Practice Cover DotNet (.NET) CSharp (C#) with unit tests with Test Driven Development TDD Dependency Injection DI Inversion of Control IoC Containers

This article explains how to create generic interfaces of type T.

We can run our C# Azure Functions in an isolated process, decoupling the version of .NET that we use in our functions from the runtime version.

Compared to other languages, C# was way behind in capabilities to handle data efficiently. Well, those days are over now. Microsoft just improved the C# syntax, making it easier for developers to manage data in arrays.

In C#, how can we balance asynchrony and laziness? Is there such a thing as async lazy? Let's explore our options built into dotnet!

Discover how to seamlessly integrate Google Sheets into your C# projects with the Google Sheets API.

Dapper is an open-source ORM tool that is easy to use and lightweight, which makes it a popular choice for .NET developers. It is designed to work with various

The OWASP Top 10 is a standard awareness document for developers and web application security. It represents a broad consensus about the most critical security risks to web applications.

In this article, I want to cover the first part of the TOP 10 vulnerabilities and how to protect against them using .NET.

In this article, we will conclude reviewing how logging concerns and code can be separated and decoupled from infrastructure and business code.

See code examples for how to update MongoDB documents in C#. This article covers the basics of different methods you can use to update records.

A guide on how to do Web Scraping in DotNet (.NET) CSharp (C#), with examples. Software Development Coding Programming Selenium HtmlAgilityPack Puppeteer

Learn everything you need to know about the best Blazor UI Components and how to use them in your application.

Simple explanation of DotNet (.NET) CSharp (C#) Variance, Invariance, Covariance, and Contravariance. Providing a Cheat Sheet.

What Bindings are in Azure Functions, How they currently work with in-process Functions, and how they work a little differently for isolated functions.

Learn about plugin architecture in C# to create extensible apps! This article provides examples with code snippets to explain how to start with C# plugins.

Explore the implementation of the Chain of Responsibility pattern in C#, unraveling its hierarchical request-handling approach.

The Observer Design Pattern is one of the most important and commonly used design patterns.

This comprehensive guide covers the benefits, requirements, and best practices associated with using yield in c#

In this article, we'll examine how to apply bioinformatics and C# coding to effectively deal with biological information.

This article offers a comprehensive guide to using Google Tesseracts in C#.

When you think about database providers for ASP NET Core apps, you probably think about Entity Framework Core (EF Core), which handles interacting with SQL databases. But what about the NoSQL options? A popular option for NoSQL is MongoDB. So in this article we're going to learn how to create a simple ASP NET Core CRUD API using MongoDB as the database provider.

Discover the powerful capabilities of Dapr by implementing a sample application with microservices leveraging the actor model to foster its strengths.

Entity Framework Core (EF Core) is an object-relational mapping (ORM) framework that allows developers to interact with databases using .NET objects. One of the

Explore the top C# .NET Excel API Libraries and their notable features for your applications in this review of leading options.

It is very glad to see that the web technology is improvising day by day. One such notable improvement is the introduction of WebAssembly and direct usage of them in evergreen browsers.

The strategy pattern is one of the most common and easily recognizable patterns but implementing it on the.NET platform is a pain.

A step-by-step guide to developing a Fluent API from scratch in .NET C# using the Builder Design Pattern.

Learn how to implement dependency injection in .NET console applications using IServiceCollection, without needing a hosted application.

I feel like many developers prefer to rely on the “it is the best practice” statement and use asynchronous methods blindly.

.NET 5.0 was officially released this week, bringing with it a range of improvements to the .NET ecosystem. Like many .NET developers, I was quick to download it and give it a test run. This article discusses some of the most exciting new features in .NET 5.

Reflection makes a lot of confusion for the C# developers when it comes to the question of the real-life practical use of it. This article shows how to do that.

Hangfire is a .NET library that makes it really easy to adding background tasks to your .NET app. It supports one-off "fire and forget" tasks, as well as scheduling recurring tasks. On top of that it supports persistence, so all of your tasks will continue to exist even after restarting your app.

Explore the top C# .NET UI controls and their notable features for your applications in this review of leading options.

When looking for the perfect .NET reporting solution to design meaningful reports, there are quite a few factors you must consider when evaluating your options.

Explore the top C# .NET PDF API Libraries and their notable features for your applications in this review of leading options.

Dockerize Your C# Code Analysis: A Beginner's Guide to SonarQube and Docker Image.

There are 11 design patterns that can be used to create a factory for creating factories.

Hi everyone! Today I want to share with you some .Net 5 performance tips with benchmarking!

Explore the top C# and VB.NET chart controls and their notable features for your applications in this review of leading options.

Most intermediate dotnet devs writing async await code in C# will come across async void at some point. Here's a creative solution for avoiding the headaches.

In this article, I’ll show you how we can perform simple operations against a Azure Cosmos DB Table API account using the new Azure.Data.Table C# SDK.

How to build a fun QR code project and learn about Azure Functions at the same time. Using the latest .NET technologies.

.NET has two big desktop technologies. They are WinForms and WPF. But we live in a WEB world and we have many tools to create great UI using CSS and JavaScript.

Entity Framework (EF) is an object-relational mapper (ORM) that provides a set of tools to work with databases in an object-oriented way.

.Net Aspire is a comprehensive set of tools, templates, and packages designed to simplify the development of cloud-native applications using .Net.

Dapper and EF Core are popular .NET libraries for data access and management. Both have strengths and weaknesses, and the choice will depend on the project's sp

In this tutorial, we’ll build a Web API using Azure Functions that stores data in Azure Cosmos DB with MongoDB API in C#

Is it me or Functional programming (FP) seems to be trending lately? FP languages like Haskell, Elixir, and F# are stronger than ever and large frameworks try to adopt a more functional approach. Even C# tries to include functional constructs in the language.

Explore the benefits and tradeoffs of implementing the Memento Pattern in C# and elevate your coding skills.

Explore the top C# .NET Word API Libraries and their notable features for your applications in this review of leading options.

Learn how to import and export CSV and Excel XLSX in .NET C# applications.

Learn how to boost query performance, operations, and manage large datasets effectively. From basic to advanced tips for developers looking to enhance their EF

LM-Kit .NET SDK now supports tool calling for building AI agents in C#.

If you truly love programming and want to grow as a developer, strive to create something of your own — whether it’s a small library or a service.

Learn how to integrate the Apache Kafka component into your .Net Aspire project using Visual Studio 2022.

Explore the top WinForms UI controls and their notable features for your applications in this review of leading options.

Are you stuck on earlier versions of .NET but want to get your hands on the hot new record types? Fear not! Check out this simple solution to simplify things!

Tutorial on how to easily replace 1 line of code placeholder in any text with value of an object.

How to add GraphQL wrapper along with swagger documentation in ASP.Net C# using NSwag tool

Learn how to zip and unzip compressed files with C#. Beware: it’s not as obvious as it might seem!

Explore the top WPF datagrids and their notable features for your applications in this review of leading options.

In this post I'll show how to use Roslyn Analyzers with C# to enforce some standards of code quality and code style on your code.

A seasoned .NET architect compares Blazor and React, from npm security risks to .NET 10 performance, and explains when each framework makes sense.

Fluent Assertions is a .NET library that provides use with a bunch of useful extension methods that allow us to test our C# code in a more natural way

In C# we have access to Tasks, Threads, or BackgroundWorkers. In this article, we will explore how each one operates at a high level.

Let’s imagine the monolith project with an enormous code base that has been developed for a couple of decades (unbelievable, right?). This project is probably going to have a myriad of features and a considerable (hopefully!) number of automated tests covering the verification of our priceless features on multiple levels. All the way up the famous, or infamous, depending on who’re you gonna ask, testing pyramid from the unit foundation down below to the end-to-end peak high above.

Learn how to use MudBlazor with Blazor interactive SSR! Blazor's Server Side Rendering can be used alongside MudBlazor for building your next Blazor app!

.NET is a software framework that is designed and created by Microsoft. The principal variant of .Net framework was 1.0 which came in the year 2002. In simple words, it is a virtual machine for arranging and executing programs written in various languages like C#, VB.Net and so forth.

Modularity is central to modern software engineering - or may be all type of engineering not just software. We’ll explore support for modularity in Java and .Net platforms, but before that let’s first try to find answers for what and why of modularity.

Learn how to optimize your C# application development with Clean Architecture and MediatR.

From the initial project setup using the .NET CLI to configuring middleware, controllers, and services, learn every step to build a robust API. Discover best

In this post, we will do some exercises to go over the basics of DI (Dependency Injection) in ASP.NET.

Check out these 3 simple examples of regular expressions in C#! If you're new to regex and coding in CSharp, these are a perfect starting point for you!

In this article, I will teach you the basics of making your own web app, by creating a checklist app. ASP NET Core will be used to create a CRUD API and Vue will be used to create the frontend UI. Using the knowledge gained here, you should be able to apply it to start making your own web apps. You can find the complete solution in the GitHub repository.

Software development is a complex task and as a developer you gain nothing from "reinventing the wheel". I'm a firm believer that you should make your life as easy as possible as a developer, by using tried and tested packages where possible; it will take so much headache out of your development experience.

The article explores the different logging options available in C#: ILogger, ILoggerFactory, and ILoggerProvider. By understanding their characteristics

If you'd like to check whether your project has similar issues, now's the time to use a static analyzer.

Using YAML Build pipelines, we can define our entire build and release pipeline in a single file!

If you have been programming for any length of time, you may well have come across higher-order functions but may not have fully appreciated them.

In the latest release of .NET 9, several enhancements have been introduced to LINQ, providing developers with more powerful and efficient ways to work with data

Harmless-looking EF Core code can bottleneck performance. Let’s unpack why stored procedures might be better and how team habits play a role.

Basically, we need to ability to write test classes and methods and have the base infrastructure for them.

A longtime C# developer reflects on how rapid language evolution, new keywords, and feature creep may be making C# less elegant.

Explore C# .NET datagrids and their notable features for your applications in this review of leading options.

Extension methods are one of the coolest features of C#. It allows our custom methods to be used on the objects without needing to extend or change the underlying class.

Dependency injection (DI) is a wonderful thing. Simply add your dependency as a parameter to the constructor (most commonly) of your class, register it with you DI container, and away you go - the DI container will manage the rest. Some of the key benefits of DI are: greater testability, greater maintainability, and greater reusability.

Discover the true spark of your love with this fun and romantic game! Enter your name and the name of your partner, and let Flame Game do the rest.

OK, so the headless CMS is nothing new. There are many headless CMS providers to choose from. Some examples of providers are Contentful, Prismic, and Kentico Kontent. For the most part, they provide very similar features and price plans. Let's take a look at what the headless CMS is and why you should consider it for your team.

While GraphQL offers several benefits, there are some potential disadvantages and challenges to using it in C# to consider, before you decide to implement it.

xUnit support many ways of parameterizing tests, however none of the existing documentation I could find covered the use case of re-using and mixing parameter datasets across different tests. This article shows how this can be done with xUnit in Visual Studio.

Explore the top WinForms datagrids and their notable features for your applications in this review of leading options.

.NET developers now have access to the officially supported buildpack for .NET, which means you can now deploy your .NET apps onto Heroku with just one command.

In this blog, I will explain the use case and practical implementation of a widely used open-source API for automated, secure file transfers.

Learn how to represent Hierarchical Tree (Parent, Child) form data and its related operations in DotNet (.NET) CSharp (C#) Coding Programming Best Practices

ArrayPool is a mechanism to recycle temporary buffers and optimize performance by reducing garbage collection cycles. It is part of the System.Buffers namespace

Implement a better enhanced Repository Pattern in DotNet (.NET ) CSharp (C# ) following best practices Dependency Injection (DI) Inversion of Control (IoC)

Learn how to install Autofac, configure the container, and resolve dependencies using various injection methods.

User authentication and authorization can be difficult and time consuming. Getting it wrong can also have disastrous consequences, such as malicious users accessing and stealing personal or sensitive information from your app.

In this article, we discuss how to protect users' authentication and session in .net, as well as Identity Server configuration.

Compare Visual Studio, Rider, and ChatGPT-4 in C# code analysis. Learn which tool excels and how AI is shaping the future of software development.

In this post, we demonstrate the process of building a high-performance TCP server using .NET’s Socket class to handle heartbeat messages from IoT devices.

The OWASP Top 10 is a standard awareness document for developers and web application security. It represents a broad consensus about the most critical security risks to web applications.

In this blog post, I introduced the builder pattern and its use in test-driven development. I also showed several ways to implement it.

In past five years, Microsoft had made a rapid enhancements in C# by introducing a plenty major features with every new version, As planed, C# 9.0 will be officially released with .NET 5 on November 2020. So we will dive into C# 9.0 new features that released on 20 may 2020 as a Preview.

Here's a simple solution for being able to call Python code from your C# applications!

By far, Microsoft .NET is one of the best platforms for building secure, robust, and scalable desktop or web applications. Used by most Fortune 500 companies, Microsoft .NET is very popular for large-scale applications.

I asked GPT-5.3 Codex to review a reusable .NET data access library. It scored 46/100—and exposed the limits of AI architectural reasoning.

edit: Unlike the conclusion of the post below, I based the analyzer on C# CaaS and not .NET IL. Its now available to use https://devsnicket.com/eunice/#csharp. The latter doesn't preserve the order of members of a class either in the dll or pdb. Although, after looking at some open source C# projects, this capability wasn't used by default.

According to Gang of Four, a creational pattern “Builder” allows to separate and reuse a specific method to build something.

Scrutor vs Autofac in C#! Which one comes out on top between these two solutions for dependency injection in dotnet? See how each are used with code examples!

The article describes how pattern matching effectively utilises and processes data in forms not part of the primary system.

How to achieve 100% coverage of I/O file based applications in DotNet (.NET) CSharp (C#) Test Driven Development (TDD) Development Software Best Practices

The article highlights the importance of limiting the concurrent asynchronous operations, which in turn improves performance.

Learn the best practice on when to use Dependency Injection (DI), Inversion of Control (IoC) and IoC Containers. DotNet .NET CSharp C# Design Architecture

This post discusses the aggressive and hungry nature of the garbage collection process in .NET as well as a concept that is often referred to as eager root collection.

Learn about IServiceCollection in C# and dependency injection. See how Dependency Inversion, Single Responsibility, and Open/Closed Principles fit together!

In this article, I will use a fictional but realistic example: an internal web app called ExpenseFlow, where employees submit expense claims.

According to Gang of Four, the iterator pattern provides a process to obtain the aggregator object without knowing its implementation.

Use the facade design pattern to simplify the interaction between subsystems. It provides a single entry point to a subsystem,

Regular expressions are powerful for pattern matching, but what are the regex options in C# that we have access to? What do they do and how can we use them?

See code examples for how to delete documents from MongoDB in C#. This article covers the basics of different methods you can use to delete records from Mongo!

This guide delves into the significance of middleware, the types available, and how to implement custom middleware for specific requirements.

Built a full-stack bookstore app in 100 days using .NET MAUI and Clean Architecture. A real-world project unifying POS, inventory, and online sales in one app.

Becoming an expert in Microsoft web development is no easy feat. It requires a significant amount of time, dedication, and hard work. However, the rewards that

In today’s digital age, security is critical to any application. One way to enhance security is using SSL/TLS certificates to secure communications

For this post, we'll delve into plugin architecture, exploring how they can be leveraged in ASP.NET Core to create more flexible and maintainable applications.

Throughout this article, I covered the basic syntax of foreach loops in C#, common mistakes to avoid, advanced techniques such as LINQ queries and lambdas

Tired of debugging your application to find out its database dependencies? There is a smarter way to track them with OpenTelemetry.

How dotNetify implemented horizontal scaling of SignalR apps with proxy instead of a backplane.

See code examples for C# collection initializers and collection expressions! Compare and contrast the readability of these different examples.

Learn how to automatically cast between types in C#! Leveraging implicit operators in C#, we can do away with explicit casts to convert between types.

As new programmers, we all have to get started somewhere. If you're looking into C# and want to get learning, then this article focuses on all of the C# basics!

Exceptions and exception handling are a core part of C# and many other programming languages. But what If we didn't need to be throwing them? Let's see how!

Discover how implementing the CQRS pattern in C# with Clean Architecture can revolutionize your software development process.

Entity Framework vs Dapper explained. Learn which ORM delivers better performance, flexibility, and control for your next C# .NET project.

Discover how ChatGPT-4 surpasses 90% of developers in solving coding challenges. Explore the future and potential of AI in software development.

Best Practice for designing Interfaces in DotNet (.NET) CSharp (C#). When to define a non-generic interface in addition to the generic interface.

Docker has become an essential tool in modern software development, providing an efficient and portable way to package and distribute applications.

A practical guide to configuring Serilog in .NET 10, filtering noisy logs, and generating daily transaction reports from SQL or NDJSON files.

Cross-Origin Resource Sharing (CORS) is a process which protects your APIs from defined domains, method types or headers. The CORS headers define which domains

The .Net provide a powerful tool called the “Interlocked” class for all atomic operations through which developers can reduce contention and improve the perform

The Unit of Work design pattern is a software design pattern that is widely used in software development. It is a way to group database-related operations

The repository architectural pattern is frequently employed in software development to segregate an application's business logic from the data access layer. It

Explore the top WinForms reporting tools and their notable features for your applications in this review of leading options.

HTTP/3 is the latest HTTP protocol version designed to improve web application performance and security. Built on top of the QUIC protocol, HTTP/3 provides fast

Learn how to create an RDL report in code in no time!

Async/await in C# is a framework used for writing asynchronous C# code that is both readable and maintainable. These tips will help you to integrate async/await

Discover how weak events in C# can prevent memory leaks in event handling, improving application performance and memory management.

Learn paging/partitioning mathematical equations and how to apply them in JavaScript (JS) and DotNet (.NET) CSharp (C#) code. Coding Programming Development

In this article we are going to explore this huge and passionate world of software development by demystifying what it really is and how can we get started in this field.

If you're writing asynchronous code in C# and using EventHandlers, odds are you've had issues with exceptions. Task EventHandlers might be consideration!

Entrepreneurs and startups are always confused about choosing between .Net Core vs .Net Framework due to their high functionalities and popularity.

Know when to depend on String.GetHashCode() in DotNet (.NET) CSharp (C#), and when not. Coding Programming Software Development Engineering Architecture

Recently I've been learning how to write code in F#. For those who haven't heard of it, F# is Microsoft's/.NET's answer to a functional-first programming language. My motivation was to learn a functional programming language that would make coding for scientific computing and data analysis more expressive, concise, and maintainable, all while fitting seamlessly into the .NET ecosystem that I already know and love. F# fits that bill perfectly.

We can generate a refresh and access token required to call the Fitbit API programmatically with a simple Timer trigger function in Azure.

Mocking is often seen as a default choice when writing tests. Yet it introduces unnecessary complexety to your system. There are other approaches in testing.

As we bid farewell to the older syntax, let’s embrace the newer, more expressive way of creating objects.

Step-by-step guide on how to use the .Net Aspire framework in Visual Studio.

I am a big fan of executing multi-threads in an application, and it is interesting to see how quickly parallelism can solve a complex query.

Dive in to master Boolean expressions for precise C# coding, ensuring your apps handle user data flawlessly! 🚀

Command Design Pattern is one of the behavioural design patterns used to encapsulate a request as an object, thus enabling to parameterize clients with differen

See how to use the Extract Method refactoring technique to get started on your journey to being more skilled at refactoring! Check out this C# code example!

Step-by-step guide on how to use the .Net Aspire MSSQL component in Visual Studio.

Learn to enhance your performance with stackalloc in C#. Discover a better approach on Day 28 of our 30-Day .NET Challenge.

Learn to enhance your C# code’s performance and readability by avoiding exceptions for flow control. Discover a better approach using TryParse.

Learn how to effectively convert a string to a byte array in C#! While it might seem straightforward on the surface, we have encodings to consider!

C# 8.0 just rolled out with plenty of new features. One of the most important is the support of nullable reference types (NRT). A bunch of words that don't seem to explain what it does. I mean, aren't all types (except value types) already nullable?

In this blog post, I am going to share how I created a Blazor component without life-cycle methods and razor file syntax. We could also say this as class only component approach but without life-cycle methods. Many of them might knew this way of component rendering, but I felt like sharing this would help other folks who doesn’t know. I found this approach after going through various components used in Blazor source code.

In the world of DevOps automation, manually creating and uploading packages felt so old-fashioned (don't get me started on Azure Devops).

Learn how to effectively utilize xUnit for testing ASP.NET Core applications, ensuring product quality and reliability.

.Net Aspire framework is used to develop cloud and production-ready distributed applications. It consists of components to handle cloud-native concerns such as

Explore the power of WebApplicationFactory in ASP.NET Core testing to ensure code quality and prevent issues.

Learn how to use the .Net Aspire Oracle component in Visual Studio.

Creating a multi-container application can be daunting, but Docker Compose and C# can make it much more straightforward. This article will walk us through the s

Serialization involves a process of converting an object into an easily stored format. The article demonstrates the problem with old XML Serialization and how J

Learn how to use Autofac in ASP NET Core applications with only a couple of lines of code! Avoid this common problem when setting up dependency injection.

Which approach is better: an iterator or a materialized collection? In this article we explore common pitfalls with BOTH of these different approaches!

Learn about the Facade design pattern in C# and how it simplifies complex subsystems. Check out these 4 code examples to see how the facade pattern in C# works!

Type inference is a common feature among mainstream programming languages. The functional ones, like ML and Haskell, are pioneers in exploring this programming paradigm where the declaration of a variable or a function may omit a type annotation. Today, even classic imperative languages such as C++ offer, to a certain extent, a kind of type inference.

It seems crazy that Microsoft has a done a complete one-eighty of their position on open-source software. Learn how VS Code works.

If you've spent much time around C# and .NET, it's likely that you will have come across LINQ (Language-Integrated Query), which allows you to use a range of powerful querying capabilities directly in the C# language.

The article describes how pattern matching effectively utilises and processes data in forms not part of the primary system.

Data Science and Data Analytics are quite diverse but are related to the processing of Big data. The difference lies in the way they manipulate data.

The article demonstrates the use of various C# helper methods like Sort, Reverse, Clear and Resize. Learn how to use helper methods such as Sort and Reverse.

Check out these benchmarks measuring collection initializer performance in C#. How the heck did I speed up C# collection initialization by 87%?!

Developers often make objects instantiated as soon as the application starts or when a class is instantiated, regardless of whether they are immediately needed

9/21/2024: Top 5 stories on the HackerNoon homepage!

Use Testcontainers in ASP.NET Core testing to get better coverage! Learn how to simulate dependencies, test in parallel, and integrate with CI/CD tools!

Static analysis with PVS-Studio flags real bugs in Neo and NBitcoin—null dereferences, bad format strings, operator precedence traps, and infinite recursion.

We achieved these results through .NET to .NET Core migration. The need emerged while we have been supporting a complex KnockoutJS-based web application.

The article demonstrates the use of ConfigureAwait(false) efficiently to add deadlock-free asynchronous code. The method mitigates the risk of deadlocks

To assist developers in designing safe applications, the most recent version of the.NET platform, .NET 6, has various built-in security capabilities.

Learn to enhance your C# code’s readability by avoiding multiple catch blocks. Discover a better approach using Exception Filters on Day 25 of our 30-Day .NET

The article demonstrates the built-in functions while working with file system paths. It makes it easier to handle file paths.

Entity Framework Core (EF Core) is an object-relational mapping (ORM) framework that allows developers to interact with databases using .NET objects. One of the

Explore essential C# concepts for .NET developers, from IEnumerable vs. ICollection to async/await, Dependency Injection, and exception handling in .NET Core.

The article demonstrates the importance of using StringComparison options for efficient string comparison in.NET. How you compare strings can significantly impa

Vexillology and Bit Shifting are often not talked about together. Today though, I encode numbers like 52357729848 into country flags using enums in C#.

.NET developers can evaluate and visualize the codebase using the robust static analysis tool NDepend. It aids programmers in understanding the quality and main

Learn the basics of MongoDB Filtering in C# with simple code examples! See how to use the MongoDB FilterDefinitionBuilder to support filtering in MongoDB.

Learn how the Unit of Work Pattern in C# complements Clean Architecture, providing efficient database transaction mgmt, improved code maintainability and more.

One of the techniques to improve application performance involves the use of the AggressiveInlining attribute. It influences the Just-In-Time (JIT) compiler’s

Explore the unexpected behavior of the 'Using Declaration' feature in C# 8.0 and learn how to safely implement it in your code.

A Git commit represents the status of a system. Learn how to validate that your code builds, is well-formatted, and all the tests pass by adding a Git hook!

The article demonstrates the use of null-state analysis to remove compiler warnings of “check code for null safety”.

It is becoming a common pattern to see websites and web apps written as a front end single page application (SPA) connected to a backend API. For this reason, the Visual Studio provides a several project templates for getting up and going with a Web API + SPA project.

The article demonstrates the idea of memory allocations to be used for vibrant and high-performance applications.

The significance of staring with a red test in test-driven development. Start with the red test to spot mistakes in a test

When we draw text, graphics, and other elements on a PDF page (or JPEG, SVG, and so on), we need to specify their coordinates.

Explore how reflection empowers developers to inspect, manipulate, and create code dynamically at runtime.

Learn to enhance your maintainability with generics and custom interfaces in C#. Discover a better approach on Day 29 of our 30-Day .NET Challenge.

Day 6 of 30-Day .NET Challenge: String built-in Methods

Azure Functions are serverless applications on Microsoft Azure Cloud Platform without worrying about the infrastructure to run it. It’s very similar to the lamb

Check out these 7 C# project ideas for beginners to help escape from tutorial hell! These C# project ideas will give you hands-on practice writing software.

Explore the power of the Command Pattern in C# as a behavioral design technique to enhance code organization and flexibility.

Learn how exception handling works in C# with the basics of try catch. This article is perfect for junior software engineers aiming to understand dotnet and C#.

Fix “Login failed” errors in Dockerized .NET apps by escaping special characters like $ in .env files. Learn the root cause and the right fix.

Test Driven Development (TDD) is a software development cycle that focusses on describing the behaviour of your code first using tests

In my previous post, I discussed the eager root collection as an aggressive behavior of JIT (in Release mode / optimized code) to assist the garbage collector (GC), so that a object is not considered to be a root beyond the point of its usage.

Learn why query syntax is preferred in LINQ. Discover a better approach using Query Syntax on Day 27 of our 30-Day .NET Challenge.

Learn essential tips for using async await in C# to write concurrent code more effectively.

Step-by-step guide on how to use the .Net Aspire Azure Key Vault component in Visual Studio.

This comprehensive guide unveils the intricacies of implementing the Composite Pattern in C#, providing insights into composite, leaf, and component objects.

Learn how to use Span for optimizing memory management, highlighting the performance benefits.

I explain my Test-Driven Development (TDD) approach with an 'outside-in' mindset. Also, I introduce easyTdd, my TDD tool for generating test boilerplate code.

Code blocks in programming are essential for grouping code lines and controlling variable accessibility in C#

Testing code that uses .NET's

DateTime.Now sucks!!!! This is how to mock them, to properly validate DateTime when writing unit tests.

Aspect-oriented programming (AOP) provides a robust approach to encapsulate cross-cutting concerns into reusable components called aspects.

Step-by-step guide on how to use the .Net Aspire Azure Queue Storage component in Visual Studio.

Embedded data analytics and reporting tools that empowers Business analysts

The switch statements are available for creating branching logic, each offering distinct advantages based on readability and maintenance.

According to Gang of Four, it defines a chain of responsibilities to process a request. In other words, pass the request from one object to another until an obj

The do-while and while statements provide control over code execution flow by repeating a block of code until a condition is satisfied.

Learn to enhance your loop performance in C#. Discover a better approach using Loop Unrolling on Day 26 of our 30-Day .NET Challenge.

Using reflection in DotNet to create object instances? See the performance of ConstructorInfo compared to other methods provided by reflection in DotNet!

Learn how to use Polly in C# to handle faults and retries with ease! Check these 3 code examples showcasing different use cases of Polly in C#!

Discover how Scrutor enhances dependency injection in C# applications.

Challenges are hard when the database resides in a remote machine or experiencing heavy load. The in-memory caching acts as a better implementation to avoid per

The article demonstrates the IndexOfAny() method to locate the initial occurrence of any string from a chosen array.

Let's compare Activator.CreateInstance vs Type.InvokeMember! Check out this head to head battle for ways to create instances using reflection in dotnet!

Learn how to use BenchmarkDotNet to effectively create and run benchmarks on your C# code. Dig into where you have opportunities to optimize your C# code!

EasyTdd 0.5.0 introduces Incremental FluentMock—streamlining .NET mocking with less boilerplate, intuitive setups, and improved test case generation.

Azure Storage Account is one of the foundation services of Azure. Pretty much all other services use it under the cover in a way or another. This service is simple, works great, and has crazy SLA and redundancy capabilities. However, it doesn't provide a point in time restore. Meaning that if you corrupt or delete some data, there's no way to recover it. There are some solutions that you can find over the internet, but unfortunately, none of them is a silver bullet. Let's explore and compare some of them.

We benchmark EF Core vs a SQL stored procedure for copy ops—fewer roundtrips, fewer bytes, and 3–12× faster as rows grow. Tools, logs, and charts included.

Welcome to this module, Day 4 of 30-Day .NET Challenge: For Loops, where let's dive into the world of for statements.

This year was a special edition of MS Build; for obvious reasons, it was 100% virtual. I must say that I had my doubts at first, but I'm forced to admit that Microsoft nailed it. The experience was fantastic. I liked the personal schedule builder and the rebroadcast in 3 different timezones, to only name a few things. Microsoft even took the time to ship the conference's gear to all attendees, DIRECTLY to their doorstep, what a nice touch.

Throughout this module, you will gain knowledge about exceptions, the process of handling exceptions, and the different exception-handling patterns that C# supp

Learn how to harness the power of NUnit for testing ASP.NET Core applications.

4/10/2023: Top 5 stories on the Hackernoon homepage!

In my previous post, I discussed the eager root collection as an aggressive behavior of JIT (in Release mode / optimized code) to assist the garbage collector (GC), so that a object is not considered to be a root beyond the point of its usage.

OK, so the headless CMS is nothing new. There are many headless CMS providers to choose from. Some examples of providers are Contentful, Prismic, and Kentico Kontent. For the most part, they provide very similar features and price plans. Let's take a look at what the headless CMS is and why you should consider it for your team.

12 distinct approaches to reading MS Excel files in C#, each with working code, honest strengths and weaknesses, and a clear enterprise verdict.

Thank you for checking out the 282 most read blog posts about Dotnet on HackerNoon.

Visit the /Learn Repo to find the most read blog posts about any technology.