Добавлено: 25 июля 2023 г.
Unleashing the Power of Meta-Programming: A Comprehensive Guide to C# Reflection
Reflection, put simply, is a mechanism provided by the .NET framework that allows a running program to examine and manipulate itself. It’s like a coding mirror that gives your application the ability to look at its own structure, inspect its assemblies, types, and members, and even modify them-all at runtime.
The concept might seem abstract and complicated at first, but once...
далее...
Добавлено: 8 июня 2023 г.
Juan Alberto España Garcia
At the end of this article you will understand what “^(?=.*[a-z])(?=.*[A-Z])(?=.*).*” means
Introduction to C# Regex: why it’s a powerful tool for text manipulation
Before diving into the magical world of regular expressions, let’s get an idea of why using C# Regex is important and how it can boost your productivity as a developer.
In this section, we’ll walk through the basics of regular expressions, their syntax, and key elements to help you...
далее...
Добавлено: 5 июня 2023 г.
Juan Alberto España Garcia
In this section, we’ll explore the world of unit testing in C# and .NET, learn what unit testing is, why it’s important, and the landscape of testing frameworks and tools available to developers.
What is Unit Testing?
Unit testing is the process of verifying the correctness of individual units of code, typically methods or functions, in isolation from the rest of the system. This ensures that each unit performs as expected and...
далее...
Добавлено: 13 мая 2023 г.
Juan Alberto España Garcia
Introduction to Async and Await in C#
Asynchronous programming has come a long way in C#. Prior to the introduction of async and await, developers had to rely on callbacks, events and other techniques like the BeginXXX/EndXXX pattern or BackgroundWorker.
These methods often led to complex and difficult-to-maintain code. With the release of C# 5.0, async and await keywords were introduced, simplifying asynchronous programming and making it more accessible to developers.
The Importance...
далее...
Добавлено: 12 мая 2023 г.
Language Integrated Query (LINQ) is a powerful feature in C# .NET that allows developers to query various data sources using a consistent syntax. In this article, we’ll explore some advanced LINQ techniques to help you level up your skills and write more efficient code.
LINQ Extension Methods
LINQ comes with many built-in extension methods, but you can also create your own custom methods to extend LINQ’s capabilities.
Custom Extension Methods
By creating your own...
далее...
Добавлено: 12 мая 2023 г.
Developing a robust, scalable, and efficient system can be daunting. However, understanding the key concepts and components can make the process more manageable. In this blog post, we’ll explore essential system design components such as DNS, load balancing, API Gateway, and more, along with a concise cheat sheet that can help developers design systems of varying complexity.
System Design Blueprint / Cheatsheet
A comprehensive visual guide that provides developers with a quick...
далее...
Добавлено: 8 мая 2023 г.
Dapper is a lightweight ORM (Object-Relational Mapping) framework for .NET Core and is commonly used to query databases in .NET Core applications. Here are some of the advanced features of Dapper in .NET Core:
Multi-Mapping: Dapper allows you to map multiple database tables to a single class. This is useful when you need to retrieve data from multiple tables and map them to a single object.
...
далее...
Добавлено: 6 мая 2023 г.
Handy guide how to enhance rating in Google and stand out from the crowd.
You’ve deployed a promising website, but Google doesn’t show it in search results at all. I know how you feel.
And if you don’t have many visitors, it’s like treasure lost in the desert.
The possible reason why search engines ignore your web is because of poor web accessibility and SEO. These two aspects should not be underestimated when...
далее...
Добавлено: 2 мая 2023 г.
Juan Alberto España Garcia
Confused about choosing between struct and class in C#? Read this article to understand the differences and make an informed decision.
In C#, there are two primary object types that developers can use to build their code: structs and classes. While these two types may seem similar at first glance, they have some key differences that set them apart from each other.
In this article, we’ll explore what structs and classes are,...
далее...