You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 evolution of n-tier architecture as clean architecture with reference to domain models domain and application services and other relevant parts of the topic
Explore Inversion of Control (IoC) in software engineering, understanding its benefits, implementation through dependency injection, and real-world applications
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
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.
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.
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.
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.
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.
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.
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
Learn how to boost query performance, operations, and manage large datasets effectively. From basic to advanced tips for developers looking to enhance their EF
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!
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.
Regular expressions are powerful for pattern matching, but what about performance? Check out this article for details on C# regex performance from benchmarks!
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.
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 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.
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.
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!
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!
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
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
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.
If you're writing asynchronous code in C# and using EventHandlers, odds are you've had issues with exceptions. Task EventHandlers might be consideration!
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
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
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.
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.
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.
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
Polymorphic constructors aren’t built-in, but enums + static arrays can emulate them safely. This gives compile-time guarantees with scalability and performance