Skip to content

Latest commit

 

History

History
592 lines (440 loc) · 52.4 KB

File metadata and controls

592 lines (440 loc) · 52.4 KB

drawing

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

C# is a modern, object-oriented programming language developed by Microsoft, widely used for building Windows desktop applications, games (with Unity), and web services via .NET. Its versatility and strong typing make it a popular choice for enterprise-level development.

The algorithm how and when you should use cancellation tokens for tasks in c# to use cooperative cancellation when working on parallel computing projects.

Solutions to enable asynchronous initialization in C# constructors, overcoming limitations for efficient code execution.

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.

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

This article reviews in details various aspects to make Application Insights and Serilog combination shine and bring real value to the logs.

This article is about the top 3 C# PDF libraries for automating the process of creating and customization of PDF documents.

Write a high performance TCP Server in C# with low allocation asynchronous programming patterns.

The evolution of n-tier architecture as clean architecture with reference to domain models domain and application services and other relevant parts of the topic

A story of how a final year student with lofty credentials joined our small team.

How to setup and configure StyleCop as a coding convention tool for .NET

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

Understanding C# string formatting with Base64 can bring many benefits to your programming and software development skills.

A brief introduction to concurrent collections in c sharp.

IronPDF is the ideal solution for converting HTML sites in .NET and .NET core projects. It not only transforms HTML but also has a lot of other useful capabili

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

New Awaitable class in Unity 2023.1, methods, properties, usage. Emphasizes understanding async-await & experimenting for best results.

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.

Compare 11 C# QR code libraries for .NET by generation, reading, styling, cross-platform support, and price to choose the right tool faster.

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

This list will rank each C# book based on their total number of reviews on Amazon alongside their average 5-star rating.

Practice working with Request Id in .Net application. Reading it from a request and translating it into requests to other systems.

The comprehensive C# Cheat Sheet is designed to aid developers in mastering key syntax and concepts related to C# programming.

We consider the main ways of asynchronous programming in Unity: discuss pros and cons, illustrate code examples, and show practical examples.

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

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.

The story is about how to implement immutable DTOs with C#, both with the older method and with the newer 9 record reference type that recently came out

The event bus pattern is a popular software design pattern used for exchanging messages between system components that are not directly linked to each other.

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

Learn how to efficiently bridge .NET (C#) and native C++ using P/Invoke and C++/CLI, with benchmarks and real-world integration tips.

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

We tested 12 .NET barcode libraries side by side to help you choose the right SDK for scanning, generation, PDFs, and mobile apps.

How I automated the process of service deployment for a console application after issues caused due to multiple configuration environments.

Step-by-step guide on how to create an end-to-end dynamic C# Web API project using Dapper for data access.

C++ was not supposed to come back.

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

In this article, we will explore what RISC-V is, why it's important to be on Windows, and the potential impact of RISC-V on the Windows platform.

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

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.

AutoMapper vs. Mapster: A comparison of popular .NET libraries for object mapping. Learn which tool to choose for flexibility, performance, and ease of use.

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.

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

Are you just taking your first step into web development, and you want to learn programming? Discover the benefits of learning more than one programming language.

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

In .NET8/EF8, when working with the SQL Server, EF might create a newer version of SQL queries that old SQL servers/databases will not understand

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

A quick start for running Kafka in docker container, and a working example of a producer and a consumer in C# .NET

Learn the differences between garbage collection in Unity and .NET, then go deep into the specifics of memory management in Unity.

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

Kafka works with key-value pairs, so getting records with the same key on the same partition is essential.

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!

See how you can use MudBlazor list items to make awesome GUIs! Properly leverage the MustList and MudListItem controls to get custom user interfaces!

There are three main approaches to converting HTML toPDF in modern .NETCore platforms, each with its own strengths, weaknesses, and ideal use cases.

This article talks about the singleton Design Pattern, why it is important and then demonstrates how to build a singleton DBManager.

RISC-V is an open-source instruction set architecture (ISA) that has gained popularity due to its simplicity and flexibility.

Looking for the best C# Excel library? This guide compares 12 options with code examples, performance tests, costs, and deployment tradeoffs.

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.

Looking for the best OCR library for C#? This guide compares open-source, commercial, and cloud OCR tools for .NET 8 applications.

Regular expressions are powerful for pattern matching, but what about performance? Check out this article for details on C# regex performance from benchmarks!

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

Impressions from using GitHub Copilot Pro in professional ASP.NET 8 / C# Development.

Implementation of Floyd-Warshall algorithm in C# with parallelism and vectorisation.

For a tech newbie striving to learn programming, it might be a bit complicated to figure out which technology to choose. Let me help you out.

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.

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.

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.

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

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

I threw in some tricks I used to make our Windows EKS nodes start in the 90s rather than the 5 minutes a standard EKS Windows node takes.

Compare 12 .NET Word libraries for C# across features, PDF, mail merge, pricing, and platform support to choose the right DOCX API.

This article will explain how to build serverless functions on the primary cloud providers services: Azure and AWS.

Learn how to implement versioning in ASP.NET Core Web APIs using NuGet and Swagger to maintain backward compatibility in .NET 8.

I started with Delphi in 1997. It had all the productivity of Visual Basic, with the power of Visual C++. I knew I had the only language I would ever need.

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

Using DiagnosticSource and IObserver implementation to decouple logging code; improving the method adapter to properly handle event data binding.

Learn c# programming with examples. C# is an object-oriented programming language, and it is useful to build web, windows, mobile applications.

This article demonstrates several techniques for using partial C# classes to address common issues in EF 8/ASP.NET8.

Dealing with async EventHandlers in C# can be very problematic. async void is a pattern causes headaches with exceptions. Check out this simple solution!

Are you just taking your first step into web development, and you want to learn programming? Discover the benefits of learning more than one coding language.

Take a look at our annual breakdown of the top web backend frameworks in 2023. Leading the list is the clear leader NodeJS.

Implementation of Floyd-Warshall algorithm in C# with route tracking capability to reconstruct the shortest paths routes later.

Clean up your digital life with a cross-platform .Net bot. Organize files effortlessly by type and date.

How SDG team developed a tool that automates the creation of "history-rich" test users.

Here's a simple solution for being able to call Python code from your C# 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.

Discover SharpRISCV, an interactive web platform for learning and experimenting with RISC-V assembly in your browser.

Creating .Net MVC project using Visual Studio Mac

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?

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

Running into issues with your Blazor render mode? In my case, I didn't even know it was breaking my dependency injection AND my event handlers. My error though!

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

RISC-V stands out as an open-source instruction set architecture that offers flexibility and adaptability.

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!

These are the top companies hiring for C# remote jobs right now

Implementation of cache-friendly Blocked Floyd-Warshall algorithm in C# (parallelism and vectorisation) coated in a basic theory behind caching and profiling.

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

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

You may not believe that learning a programming language is easier than you imagine. However, it is! And we want to help you to start the way in IT via C#.

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.

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

Code review and other quality assurance methods are incredibly useful tools that can be facilitated by Roslyn which is not available for SQL, though it should.

The article demonstrates common compile-time errors from missing semicolons to type mismatches and solutions to fix those compile-time errors.

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

In C#, an event is a mechanism that allows a class or object to notify other classes or objects when something happens.

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

Learn how to develop a RISC-V assembler using the C# programming language.

This 10-part series delves into 10 powerful strategies that can significantly enhance the performance of ADO .NET code.

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

Fast deep cloning library for .NET 8+. Zero-config, works out of the box.

1/1/2026: Top 5 stories on the HackerNoon homepage!

WitCom is a versatile API that simplifies client-server communication with intuitive interfaces, robust security, and flexible serialization options.

C# and JavaScript each have their own advantages and disadvantages in web crawling. The choice of language depends on specific needs and development environment

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

Heap allocations aren’t entirely bad but when an object is allocated on a heap it contributes to the garbage collection cycles which in turn reduces overall app

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

It’s hard to find a developer who has never heard about enum. But do you use it correctly? Let’s find out.

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

Considering C# as you get started on your programming journey? This article is focused on C# for beginners, and I've included 5 concepts from C# with code!

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.

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

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

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.

You’ve likely heard of Ethereum in the context of cryptocurrency, but perhaps not so much in the context of enterprise software.

Access modifiers have long been seen as essential to safe and clean code. But they’re ultimately a low-level mechanism for expressing high-level ideas.

In this post, I will share practical strategies for bridging software with hardware, what works, what fails, and why this space is very fascinating

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

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

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.

Explore robust model validation in C#, covering unit testing, BDD, and best practices for enhanced application reliability.

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

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

I explain how Mighty, following Rob Conery’s Massive, implements a great answer to “that annoying INSERT problem” that Sam Saffron never mentioned.

Polymorphic constructors aren’t built-in, but enums + static arrays can emulate them safely. This gives compile-time guarantees with scalability and performance

4/5/2026: Top 5 stories on the HackerNoon homepage!