A collection of 145 free blog posts about C# programming has been curated and ranked by HackerNoon reader engagement data. The list covers a wide range of topics from basic syntax to advanced patterns, and is available via the Learn Repo or LearnRepo.com.
Core C# Concepts and Advanced Techniques
The articles begin with foundational C# knowledge, describing it as a modern, object-oriented language developed by Microsoft. Common use cases include Windows desktop applications, Unity game development, and web services with .NET. Several posts dive into specific language features: one explains when and how to use cancellation tokens for cooperative cancellation in parallel computing, while another offers solutions for enabling asynchronous initialization in constructors. Method overloading versus overriding is clarified with practical code examples, and the Factory pattern is introduced as a way to create objects without specifying their exact class.
Performance, Libraries, and Tooling
A number of posts focus on performance and integration. One article details how to make Application Insights and Serilog work together effectively for logging. Another reviews the top three C# PDF libraries for automating PDF creation and customization. A guide demonstrates writing a high-performance TCP server with low-allocation asynchronous patterns. The evolution from n-tier to clean architecture is discussed with reference to domain models and application services. Additional articles cover setting up StyleCop for coding conventions, exploring inversion of control via dependency injection, and understanding Base64 string formatting. Concurrent collections in C# are briefly introduced, and IronPDF is highlighted as a solution for converting HTML to PDF in .NET and .NET Core projects.
Specialized Topics: Unity, QR Codes, and Security
Unity developers will find posts on the new Awaitable class in Unity 2023.1 and asynchronous programming techniques with code examples. QR code generation and reading are covered in multiple articles, including a comparison of 11 C# QR code libraries across generation, reading, styling, cross-platform support, and price. Security is addressed through the OWASP Top 10 vulnerabilities, with a two-part series on protecting .NET applications. Other specialized topics include integrating Google Sheets via API, using Google Tesseract for OCR, and applying bioinformatics with C#. The list also features a ranking of C# books by Amazon reviews and a comprehensive C# cheat sheet.
Design Patterns, Data Access, and Real-World Integration
Design patterns receive significant attention: the event bus pattern for decoupled messaging, the singleton pattern with a DBManager example, and the strategy pattern implemented on .NET. Data access comparisons pit Dapper against EF Core, and a step-by-step guide shows how to create a dynamic C# Web API using Dapper. Integration topics include bridging .NET and native C++ with P/Invoke and C++/CLI, running Kafka in Docker with C# producers and consumers, and using MudBlazor list items for GUIs. The collection also covers immutable DTOs with C# 9 records, NuGet package creation with .editorconfig, and automated service deployment for console applications.