207 Blog Posts To Learn About Csharp
Let's learn about Csharp via these 207 free blog posts. They are ordered by HackerNoon reader engage 2026-7-22 14:0:46 Author: hackernoon.com(查看原文) 阅读量:6 收藏

Let's learn about Csharp via these 207 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.

Like Java, but it sucks less.

1. How to Set up a Formatting Standard in Your Code Editor (And Why You Should!)

Learn Repo's image-101ca8

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

2. Understanding the Factory Pattern in C# — With Examples

Learn Repo's image-85fa68

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

3. How Blazor Is Going to Change Web Development

Learn Repo's image-1bde88

A couple of weeks ago I wrote an article about building and deploying a Blazor app without touching a Windows machine and realized maybe I should take a step back and explain what Blazor is and why anyone would use it. It's still fairly new to most in the front end development world, but it's awesome and you should check it out.

4. How to Combine .NET Core and Python for Seamless Integration

Learn Repo's image-b39db8

Check out this post to see how you can use Python from inside a C# .NET Core application with a more modern approach than my original articles using Pythonnet.

5. Top 25 C# Programming Tips

Learn Repo's image-35ae1

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.

6. What is Primitive Obsession and How Can we Fix it?

Learn Repo's image-e457b

Primitive obsession is a code smell in which primitive data types are used excessively to represent your data models.

7. How to Call a Stored Procedure Using Dapper in C#

Learn Repo's image-d63458

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

8. Are Implicit Operators a Path to Clean Code or a Buggy Nightmare?

Learn Repo's image-1ca9e8

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!

9. The Clever Programmer

Learn Repo's image-242b88

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

10. The Pipeline Design Pattern - Examples in C#

Learn Repo's image-4e7c1

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

11. A Beginner's Guide Formatting Strings as Base64 in CSharp

Learn Repo's image-dfc318

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

12. Beginner's Guide To Comparing Strings in C#

Learn Repo's image-f53fc

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

13. How to use Azure Functions Core Tools to create a local.settings.json file and run Functions locally

Learn Repo's image-1891c

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.

14. Creating a Books Tracker App with .NET MAUI and Supabase

Learn Repo's image-ab4b88

With Supabase, developers can easily build and scale web and mobile applications.

15. A Guide to Running ASP.NET Core & SQL Server from Docker

Learn Repo's image-14235

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.

16. How To Write Decoupled Code with MediatR: The Mediator Pattern

Learn Repo's image-44e49

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.

17. Fixing Logging Issues In ASP.NET: TelemetryClient Vs. ILogger

Learn Repo's image-536f48

TelemetryClient vs ILogger or how to improve logging experience in C# ASP.NET for Application Insights

18. How to Code a Blog With ASP.NET Core and C#

Learn Repo's image-daba88

Learning by doing

19. How to Generate a QR Code Image in Four Lines of Code

Learn Repo's image-d3e9d8

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.

20. Learn C#: A Cheat Sheet for Newcomers

Learn Repo's image-a5539

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

21. The Top C# .NET Spreadsheets

Learn Repo's image-9c3028

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

22. The Best Way to Use Timers in .NET C#

Learn Repo's image-27a16

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

23. Introduction to Winforms UI Automation with Python & Appium

Learn Repo's image-c6cf08

Microsoft announced some time ago that Coded UI automation was being deprecated - and that the recommended replacement for testing was Appium with WinAppDriver.

24. How to Publish NuGet Packages to a Private Feed Using Azure Artifacts

Learn Repo's image-474c48

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

25. How to Add Payment Method onto Your Website

Learn Repo's image-f916f

When customers shop online, they often enter their credit information into a secure payment gateway. This protects the customer and the business.

26. Fully Covering .NET C# Console Application With Unit Tests

Learn Repo's image-f0d0d8

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

27. How to Run C# Azure Functions in an Isolated Process

Learn Repo's image-4bddf8

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.

Learn Repo's image-beadd

Introduction

29. C# 8.0 Indices and Ranges

Learn Repo's image-b92298

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.

30. Exploring Async Laziness in C#: Balancing Power with Responsibility

Learn Repo's image-84de

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!

31. Learning Fundamentals of C# and .Net Framework

Learn Repo's image-a8301

We are always talking about the mainstream programming languages to an extent where Python, Java, SQL, etc, are all that we see mostly. There are many other dynamic frameworks and languages like our topic of choice today; C sharp or C#, which are playing an integral part in global software development communities. Let's take an in-depth look at the fundamentals of C# as well as the .Net framework to better understand the exclusivity, features, and their advantages.

32. How to Set up Selenium in Visual Studio for Automated Browser Testing of Web Apps

Learn Repo's image-c78668

In this Selenium C# tutorial, we are going to help you set up Selenium in Visual Studio and run your first Selenium C# example script.

33. Fluent Parallel Tasks in C#

Learn Repo's image-2a28f

Performance is often one of the key focus points when building enterprise software. Many of the systems that we build rely heavily on communications with other systems. When these external communications become slow, then our software becomes slow. Unfortunately, we often have no control over the response time of the services that we depend on. However, we can optimize the way that we communicate with those services in order to ensure maximum performance.

34. Using C# To Update MongoDB Documents

Learn Repo's image-92b918

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.

35. How to Use .NET C# for Web Scraping

Learn Repo's image-e6b918

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

36. The Difference Between Covariance and Contravariance in .NET C#

Learn Repo's image-1563e

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

37. How Generics Differ in Java and C#

Learn Repo's image-119c78

Java and C# Generics look very similar but they work differently. The difference is because of how the support for Generics is implemented in these languages.

38. Setting up a Debugging Environment for Azure Functions 2.x using VS Code

Learn Repo's image-e697

Overview

39. How Bindings in Azure Functions Work

Learn Repo's image-e82c1

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

40. How the Chain of Responsibility Design Pattern Works in C#

Learn Repo's image-5c2b88

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

41. An Essential Guide to Observer Design Pattern in .NET C#

Learn Repo's image-9696c

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

42. Explaining the Yield Keyword in C# for Beginners

Learn Repo's image-10b89

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

43. Making a Static Website with C#, Blazor, AWS And GitHub Actions

Learn Repo's image-d4116

If you follow the Microsoft development community at all, you’ve most likely already heard of the new web development framework called Blazor. If you haven’t heard of it, here’s an overview from the product site:

44. A Guide to Using MongoDB Database in a ASP NET Core Web API Application

Learn Repo's image-574f

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.

45. Efficient Data Storage for Rapid Analysis and Visualization

Learn Repo's image-9cc808

In this article, I want to share one of the ways that big data can be stored and used for analysis.

46. C# Parameter Null Validation, Explained

Learn Repo's image-3cee6

It is a very common practice to check for null in parameters:

47. .NET Core Configuration is Simple

Learn Repo's image-66cb78

If you write code with .NET Core one day you will have to configure your application.

48. ASP.Net Core Blazor Hosting Models

Learn Repo's image-16131

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.

49. Implementing Strategy Pattern with .NET 8

Learn Repo's image-5b3158

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

50. SOLID Principles of Object Oriented Design And Architecture

Learn Repo's image-ac8a5

Object oriented programming (or OOP) is a style of programming that encapsulates data and behaviours into models known as objects. In this way, related code is grouped together and kept separate from other code, and provides reusable blocks that can be used to rationalise the problem at hand.

51. Using the Builder Design Pattern in .NET C# to Develop a Fluent API

Learn Repo's image-78d7a8

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

52. IServiceCollection in Console Applications - A How To Guide

Learn Repo's image-ccc118

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

53. What is New in .NET 5

Learn Repo's image-f6ce28

.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.

54. How To Optimize Background Tasks Using Hangfire and ASP.NET Core

Learn Repo's image-a7b388

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.

55. .NET vs Node.js

Learn Repo's image-3edb6

The Contenders

56. Finding the Best Reporting Tools and Report Designers for .NET C# Applications

Learn Repo's image-38b488

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.

57. The Top C# .NET PDF API Libraries

Learn Repo's image-386d8

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

58. Analyzing Your Code With SonarQube Running via Docker Image

Learn Repo's image-7dae38

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

59. 11 Key Design Patterns: An Essential Guide

Learn Repo's image-538eb

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

60. 5 Performance Tips For .Net Developers

Learn Repo's image-62b8e

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

61. The Top C# and VB.NET Chart Controls

Learn Repo's image-fa6428

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

62. How to Tame the “Async Void” in C#

Learn Repo's image-6d89c8

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.

63. How to Use C# Azure.Data.Tables SDK with Azure Cosmos DB

Learn Repo's image-8f5f7

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.

64. Behaviors Trees in AI: Why you Should Ditch Your Event Framework

Learn Repo's image-42fa48

In this article, I look into some of the shortages of event-driven programming and suggest behavior trees as an effective alternative, suitable for back/front-end application development.

65. How Lazy Loading Works in EF 8 Preview Release

Learn Repo's image-33c2f8

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

66. Exception Handling with Examples

Learn Repo's image-e406d

Exception handling is common to most programming languages, and the mechanism and behaviors are similar in most languages: try\catch\finally. It is well documented. We are not going to discuss that.

67. The Battle Continues Between Dapper and EF Core

Learn Repo's image-9f4338

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

68. How to Create a Serverless API Using Azure Cosmos DB

Learn Repo's image-78f0c

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

69. What's Pattern Matching in C# 8.0?

Learn Repo's image-271388

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.

70. Memento Pattern in C# - Undo & Redo

Learn Repo's image-0acc4

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

71. The Top C# .NET Word API Libraries

Learn Repo's image-3c0018

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

72. Importing, Exporting CSV and Excel XLSX in .NET C# Applications

Learn Repo's image-56aee8

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

73. Mastering Unity's Coroutines

Learn Repo's image-b15dd

Coroutines is one of the easiest ways to implement asynchronous behavior in your game. Learning this building block is a must for any aspiring game developer.

74. Tool Calling for Local AI Agents in C#

Learn Repo's image-53ebc8

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

75. Stand Out From Other Developers By Contributing to Open Source

Learn Repo's image-cd4e18

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.

76. Accessing the Record Type in C# for Earlier .NET Versions

Learn Repo's image-194938

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!

77. How to Add GraphQL Wrapper Over REST API

Learn Repo's image-ead76

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

78. What You Need to Know About Async Event Handlers in C#

Learn Repo's image-3b20d

Learn how to safely use async event handlers in C#. Understand the dangers and discover best practices for managing async event handlers in your C# code.

Learn Repo's image-bf25a

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

80. Spotting and Preventing Formatting Errors in Your Code

Learn Repo's image-fee848

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.

81. How to Use Assertion Scopes to Execute Multiple Assertions in C#

Learn Repo's image-38d34

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

82. Understanding Tasks, BackgroundWorkers, and Threads

Learn Repo's image-22d05

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

83. Building Dev Tools and Designing C#: An interview with Facebook's Eric Lippert

Learn Repo's image-ea126

About: Eric Lippert

84. Modularity Concept in Java and .Net

Learn Repo's image-c90b2

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.

85. How to Master .NET 8 Web API: From Setup to Security - The Best 50 Tips

Learn Repo's image-4c36e

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

86. 3 Examples of Regular Expressions in C# For Beginners

Learn Repo's image-83acf

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!

87. How to Perform Formal Verification in Stratis C# Smart Contracts

Learn Repo's image-628dc8

It seems almost every week we hear of bugs and security incidents involving smart contracts that result in significant financial and reputation losses.

88. The Top 4 Nuget Packages According to This Software Developer

Learn Repo's image-128b8

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.

89. Choosing the Best Logging Approach: ILogger, ILogger<T>, ILoggerFactory, and ILoggerProvider

Learn Repo's image-1e9d18

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

90. How to Build and Deploy C# Azure Functions using Multi-Stage Pipelines in Azure DevOps

Learn Repo's image-f42d68

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

91. Higher Order Functions in C#: A Practical Example

Learn Repo's image-bbd2a8

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.

92. .NET 9: LINQ Enhancements: A Detailed Introduction

Learn Repo's image-92b5a

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

93. How C# Lost Some of Its Original Elegance

Learn Repo's image-1c3ff8

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

94. The Top C# .NET Datagrids

Learn Repo's image-d7f45

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

95. Building Your Own Toolbox with Extension Methods in C#

Learn Repo's image-7def88

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.

96. How to Create a Dependency Aggregate Class to Manage DI: Clearly Exemplified

Learn Repo's image-8ff03

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.

97. How to Build The Flames Love Calculator Game in C#

Learn Repo's image-676498

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.

98. Origin of Interface in Object Oriented Programming

Learn Repo's image-f5a32

Interface is mostly viewed as a useful feature to write more maintainable code. But the concept of Interface developed to address a different issue with C++.

99. Efficiently Manage Data with Hierarchical Tree Structure in .NET C#

Learn Repo's image-961f38

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

100. A Better Implementation of Enhanced Repository Pattern in .NET C#

Learn Repo's image-58ae1

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

101. 3 Simple Tips for Beginners Using Autofac in C#

Learn Repo's image-193718

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

102. Testing in C#: Property-Based Testing With Input Generators

Learn Repo's image-919d48

Intro

103. Visual Studio 2022 vs Rider 2023.1 vs ChatGPT-4

Learn Repo's image-090e28

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.

104. OWASP Top 10 .NET Protection Guide (Part 2)

Learn Repo's image-d19408

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.

105. Learn C# Programming Course for Free

Learn Repo's image-f60738

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

106. What's Coming in C# 9.0 [Preview of Features]

Learn Repo's image-5b9f

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.

107. Should i Build An Analyzer for C# or .NET?

Learn Repo's image-8cf978

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.

108. How to Use the Builder Pattern in C#

Learn Repo's image-350e48

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

109. Exploring RISC-V Assembly in the Web Browser with SharpRISCV

Learn Repo's image-f8bb48

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

110. Advanced Property Pattern Techniques in C# 8.0

Learn Repo's image-1e9c3

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

111. Fully Covering I/O File Based Applications in .NET C# Using Unit Tests

Learn Repo's image-26aa7

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

112. The 30-Day .NET Challenge Day 14: Limit Concurrent Async Operations

Learn Repo's image-ba1eb8

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

113. Figuring Out When Not To Use DI, IoC, and IoC Containers in .NET C#

Learn Repo's image-c9fa28

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

114. Simplified Guide For Inserting Data Into MongoDB Using C#

Learn Repo's image-5b271

This article explains the basics of inserting documents into MongoDB in C#. See code examples of InsertOne, InsertMany, and their async counterparts.

115. .NET Garbage Collection, Here We Go!

Learn Repo's image-2c8ef8

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.

116. How to Use the Iterator Pattern in C#

Learn Repo's image-c1d3b

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

117. What is a Façade Design Pattern?

Learn Repo's image-eb844

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

118. Using C# To Delete Documents From MongoDB

Learn Repo's image-f28998

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!

119. How to Create Custom Middleware in ASP.NET Core

Learn Repo's image-39fb48

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

120. Building a Full-Stack Bookstore App in 100 Days with .NET MAUI and Clean Architecture

Learn Repo's image-3adb68

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.

121. Property-Based Testing: The Diamond Kata, First and Last Line Content

Learn Repo's image-0fc6a8

Intro

122. How To Migrate from .NET Core 2.2 to .NET Core 3.1: Real Life Project

Learn Repo's image-844b9

Introduction

123. SharpRISCV Overview: A Browser-Based RISC-V Assembler for Seamless Learning and Exploration

Learn Repo's image-00a4

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

124. Start Your C# Journey With This Guide

Learn Repo's image-a633d

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!

125. 90% of Developers Were Outperformed by GPT-4

Learn Repo's image-5ed268

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

126. Is it Enough to Define IMyInterface<T>? Do I Need IMyInterface as Well?

Learn Repo's image-38e96

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

127. How to Run a Microsoft .NET Docker Image in C#

Learn Repo's image-4231c

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

128. A Cleaner Logging Pipeline: Serilog Filtering and Daily Reporting for .NET Apps

Learn Repo's image-c5ef78

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

129. What You Need to Know About the Unit in Work in C#

Learn Repo's image-1e0598

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

130. How to Simplify Data Access Using EF

Learn Repo's image-2670c

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

131. How a 50-Year-Old Programming Model Became Essential for Modern Tech

Learn Repo's image-8eb748

The Actor Model was created in 1973. It's designed for high concurrency, scalability and fault tolerance.

132. How to check if a string is REALLY empty with C#

Learn Repo's image-f17808

Is a string empty? What if it contains only white spaces? You shouldn't reinvent the wheel, since .NET exposes methods exactly for these cases: String.IsNullOrE

133. Taking the Azure Open AI Challenge, Day 5: Azure Document Intelligence

Learn Repo's image-051158

Designed for developers familiar with Azure and generative AI, the guide walks you through the process of harnessing the prebuilt model for document intelligenc

134. How to Stop String.GetHashCode() in .NET C# from Driving You Crazy

Learn Repo's image-7b41b

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

135. An Introduction to F# as Microsoft's / .NET's Answer to a Functional-First Programming Language

Learn Repo's image-a1df3

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.

136. Primary Constructors in C# 12: What They Are and Why They Are Useful

Learn Repo's image-ee4378

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

137. A Guide to Using Scoped Services Inside Singletons

Learn Repo's image-a7a11

Disclaimer

138. 10-Day .Net Aspire Challenge: Day 1 - An Introduction to .Net Aspire

Learn Repo's image-341be

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

139. How To Use Filter Pattern With Generic Lambda Expression

Learn Repo's image-608da8

The filter and pipeline patterns can be optimized with code reduction using lambda expression(shortcuts for anonymous method) as concrete filter condition. To demonstrate concept, the sample WPF UI application was created. Here is Source code

140. The 30-Day .NET Challenge, Day 1: Boolean Expressions

Learn Repo's image-fcc15

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

141. Benchmarks for Inserting Documents Using C# for MongoDB

Learn Repo's image-82f82

Curious about C# MongoDB insert benchmarks? In this article, I show you BenchmarkDotNet code and the results for several variations of inserting data!

142. How to Transform Your C# Code With the Command Design Pattern

Learn Repo's image-e93e08

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

Learn Repo's image-606b38

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!

144. The 10-Day .Net Aspire Challenge - Day 2: Add MSSQL Component

Learn Repo's image-8868b8

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

145. The 30-Day .NET Challenge - Day 24: How to Avoid Exceptions in Flow Control

Learn Repo's image-99fc08

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

146. Here's Why Certificate Rotation Breaks Apps: Certificate Pinning Pitfalls

Learn Repo's image-7b6da

Certificate rotation is the process of replacing an existing certificate with a new one.

147. C# 8.0 Nullable Reference Types Are Here

Learn Repo's image-d34ca8

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?

148. New .NET Library Does Deep Cloning Right

Learn Repo's image-82584

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

149. ASP.NET FAQs

Learn Repo's image-091048

ASP.NET is an open-source server-side web application framework that was developed by Microsoft. It is mostly used for building dynamic websites and applications. It is free and a cross-platform framework. So, today we will be checking out the 11 most asked ASP.NET questions.

150. What are Default Interface Methods in C# 8.0?

Learn Repo's image-f005d8

Introduction

151. 10 Days of .Net Aspire: Day 4 — Using Oracle Component in Visual Studio

Learn Repo's image-dbf598

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

152. How to Create Multi-Container Applications With Docker Compose and C#

Learn Repo's image-9e3948

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

153. 5 Tips to Improve Your Productivity in C# 8.0

Learn Repo's image-99192

Introduction

154. The 30-Day .NET Challenge - Day 30: XML vs JSON Serialization

Learn Repo's image-5eba28

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

155. Avoid This Debugging Nightmare Using Autofac In ASP NET Core

Learn Repo's image-0704e8

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.

156. What to be Wary of With Iterators and Collections in C#

Learn Repo's image-3e3b18

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

157. Simplify Complex Subsystems With The Facade Design Pattern in C#

Learn Repo's image-6fdcf8

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!

158. Code Smell 298 - How to Fix Microsoft Windows Time Waste

Learn Repo's image-f16b9

Skipping status reports in conditional branches causes silent delays and race conditions.

159. The Basics of a Standard Type Inference Technique

Learn Repo's image-23506

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.

160. LINQ Query: Benefits of Deferred Execution

Learn Repo's image-9c9098

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.

161. The 10-Day .Net Aspire Challenge - Day 6: Redis Cache

Learn Repo's image-14335

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

162. The 30-Day .NET Challenge Day 11: Helper Methods — Array

Learn Repo's image-7d68f8

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.

163. Get An 87% Boost to Collection Initializer Performance in C#

Learn Repo's image-62606

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

164. The 30-Day .NET Challenge Day 15: Lazy Initialization

Learn Repo's image-fef578

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

165. Introduction To Property-Based Testing in C#

Learn Repo's image-53c63

Intro

166. The 30-Day .NET Challenge, Day 10: File Paths

Learn Repo's image-214c08

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

167. An Easy Guide to Learn EF Core Migrations

Learn Repo's image-da7a38

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

168. How to Prevent Your Code From Turning Into Sausage That Goes Beyond the Screen

Learn Repo's image-6b475

Today, we'll talk about a bug that shows in practice how "code sausage" can cause a series of problems related to the last line effect

169. 7 Key Concepts to Test Your .NET Skills

Learn Repo's image-bbef78

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

170. Scalable Aggregates: Reducing Complexity in Command Handlers

Learn Repo's image-c3bf4

Aggregates are the heart of your system. They hold domain logic and are responsible for emitting events that will eventually make your data consistent across multiples data projections and bounded contexts.

171. Fun with Flags: How to Make Flags in C# with Enums and Bit Shifting

Learn Repo's image-9a3ff

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

172. How to Avoid Code Smells - A NDepend Tutorial

Learn Repo's image-23b9b8

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

173. Beginner’s Guide For Easy MongoDB Filters in C#

Learn Repo's image-007898

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

174. The 30-Day .NET Challenge, Day 9: Null Safety

Learn Repo's image-faedd

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

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

Learn Repo's image-72fbb8

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

176. Everything Wrong With The State of Unit Testing Today

Learn Repo's image-57da7

Unit testing nowadays is pretty much always done using a technique called example-based testing. The method is simple; we run a series of examples against an algorithm, and we validate that we get the expected result.

177. Refactoring 035 - Use Separate Exception Hierarchies for Business and Technical Errors

Learn Repo's image-a36f98

Use separate exception hierarchies for business and technical errors.

178. The 30-Day .NET Challenge Day 12: Azure Functions

Learn Repo's image-d44b98

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

179. The Programmer's Exam: Nullable Value Types

Learn Repo's image-44cd6

Recently nullable reference types have become trendy. Meanwhile, the good old nullable value types are still here and actively used. How well do you remember the nuances of working with them? Let's jog your memory or test your knowledge by reading this article. Examples of C# and IL code, references to the CLI specification, and CoreCLR code are provided. Let's start with an interesting case.

180. Don't Get Bitten by Hidden Bugs: Test Driven Development (TDD) and AAA Testing via xUnit

Learn Repo's image-56e728

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

181. Comparing Query and Method Syntax: Day 27 of the 30-Day .NET Challenge

Learn Repo's image-142c2

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

182. The 10-Day .Net Aspire Challenge - Day 9: Azure Key Vault

Learn Repo's image-c42448

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

183. Powerful Object Structures Using the Composite Pattern In C#

Learn Repo's image-f208e

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

184. The 30-Day .NET Challenge - Day 23: Span<T> over Arrays

Learn Repo's image-45894

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

185. How to Manipulate DateTime in .NET to Help you Code Better

Learn Repo's image-6bcbe8

Testing code that uses .NET's DateTime.Now sucks!!!! This is how to mock them, to properly validate DateTime when writing unit tests.

186. Azure App Configuration for Advanced Feature Flag Management in ASP.NET Core

Learn Repo's image-8248f8

Learn how to use Feature Flags in ASP.NET Core apps and read values from Azure App Configuration.

187. AOP Frameworks Can Do Wonders For Your Project — Here's How

Learn Repo's image-7f37d8

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

188. The 10-Day .Net Aspire Challenge - Day 8: Azure Queue Storage

Learn Repo's image-b3fd28

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

189. The 30-Day .NET Challenge Day 3: Switch Constructs

Learn Repo's image-daafe

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

190. Understanding Chain of Responsibility Pattern in C#

Learn Repo's image-f9e8d

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

191. The 30-Day .NET Challenge Day 5: While & Do-While Statements

Learn Repo's image-c1763

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

192. Easily Handle Faults And Retries With Polly In C#

Learn Repo's image-1b5228

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#!

193. How Dyslexia Shapes The Way I Code

Learn Repo's image-caf

Dyslexia has shaped how I read and write code, influencing my preference for structured, easy-to-scan formatting.

194. 3 Simple Tips For Dependency Injection Using Scrutor in C#

Learn Repo's image-e3e73

Discover how Scrutor enhances dependency injection in C# applications.

195. Certificate Pinning in C#: 50 Lines to Kill MITM Attacks

Learn Repo's image-686d4

Pinning ensures your app only talks to a server you trust.

196. The 30-Day .NET Challenge, Day 7: String Built-in Methods Part 2

Learn Repo's image-0a2768

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

197. Head to Head Performance of Activator.CreateInstance vs Type.InvokeMember

Learn Repo's image-936ff

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

198. How To Simplify Type Conversions with Implicit Operators in C#

Learn Repo's image-c5f318

Learn how to perform implicit conversions by using implicit operators in C#. This is a helpful feature that can enhance readability when done with care.

199. C# Sorting - A Minor Error

Learn Repo's image-afd86

Is it true that the inverse of a negative number is always a positive number? If you think it's true, you might get a subtle error while implementing comparison

200. EasyTdd 0.5.0: Streamlining Mocking with Incremental FluentMock and Other Updates

Learn Repo's image-2a0f18

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

201. The Noonification: You Could Be Wrong About Probability (8/20/2023)

Learn Repo's image-efa018

8/20/2023: Top 5 stories on the Hackernoon homepage!

202. The 30-Day .NET Challenge Day 4: For Loops

Learn Repo's image-2c304

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

203. Sharing My Experience Attending MS Build 2020

Learn Repo's image-1a3f58

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.

204. The 30-Day .NET Challenge, Day 8: Exception Handling

Learn Repo's image-4769b8

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

205. On the Love of Problem Solving & Programming: Noonies Nominee Sukhpinder Singh

Learn Repo's image-4b51d8

Noonies interview with Sukhpinder Singh, Senior Engineer at SourceFuse.

206. The Noonification: Moai (8/13/2023)

Learn Repo's image-fdcda8

8/13/2023: Top 5 stories on the Hackernoon homepage!

207. C# Read Excel Files: 12 Approaches Ranked for Enterprise .NET Development

Learn Repo's image-14b78

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 207 most read blog posts about Csharp on HackerNoon.

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


文章来源: https://hackernoon.com/207-blog-posts-to-learn-about-csharp?source=rss
如有侵权请联系:admin#unsafe.sh