Blog

Filter posts by Category Or Tag of the Blog section!

Technical Skills, Software Development, Real World Solutions, Enterprise Applications.
In ASP.NET Core, the MediatR library is a famous open-source library that provides a simple and clean way to implement the mediator pattern for decoupling requests and responses. The mediator pattern ...

Tuesday, 17 January 2023
A web application builder is a feature built into ASP.NET Core that simplifies the process of creating a web application by providing a set of pre-built templates and components that you can use to bu...

Monday, 07 November 2022
I created a wallet in offline mode for Bitcoin and Tron networks in my previous posts. To create an Ethereum wallet offline, sign it, and then broadcast it using C#, you can use the following steps: ...

Tuesday, 10 May 2022
As an update to my previous post about creating the Bitcoin wallet by using the Nbitcoin library, for those who are using the newer versions of the library I created a separate method for singing and ...

Monday, 09 May 2022
In my previous post, I considered creating a wallet in Tron network and of course singing and broadcasting it. Now it’s possible to do the same in the Bitcoin network by using NBitcoin. Look at ...

Friday, 22 April 2022
If you have worked with blockchain technology for cryptocurrencies; the scenario of creating a wallet and broadcasting it to the network is approximately similar. Maybe they would be different in some...

Sunday, 20 February 2022
The record keyword in C# introduces a new type of value type that simplifies the creation of lightweight and efficient data structures. Records are similar to classes, but they have several key differ...

Monday, 20 September 2021
I recently had some concerns about the sensitive data protection in a project. Data such as the API key and API secret of an exchange which is totally sensitive and should be kept in the highest possi...

Saturday, 24 July 2021
The publish-Subscribe pattern is a messaging pattern in which publishers and subscribers are decoupled from each other. Publishers send messages (events) to a central topic or message broker without a...

Saturday, 24 April 2021
Recently, I had a task in a project to check the availability of the external APIs, I started writing a custom scheduler to call the targeted APIs and let the administrator know in a case of failed re...

Tuesday, 16 March 2021
C# 9 came with some cool features. One of them was the init keyword. Simply, you can initialize a property or the indexer element only during the construction. Take a look at the following property de...

Monday, 14 December 2020
A webhook is a mechanism used by web applications to provide real-time information to other applications or services. It is a way for one application to send automated messages or data to another appl...

Wednesday, 11 November 2020
A Web Application Firewall (WAF) is a security tool designed to protect web applications by filtering and monitoring HTTP traffic between a web application and the Internet. It sits between the web ap...

Saturday, 03 October 2020
Entity Framework provides several ways to intercept and customize the behavior of the framework during various stages of the database interaction process. These interception points allow developers to...

Tuesday, 19 May 2020
RabbitMQ is an open-source message broker software that implements the Advanced Message Queuing Protocol (AMQP). It provides a reliable and scalable platform for building distributed and decoupled sys...

Sunday, 03 May 2020
Recently I wanted to create a custom authentication, to authorize by ApiKey and ApiSecret in the header. To create such a middleware to affect the entire services of the system I created the following...

Friday, 24 April 2020
Recently I was tackling a problem with localization in asp.net core. I wanted to get the culture in every request from API and respond based on the requested culture. So I created the following middle...

Friday, 07 February 2020
HttpClient offers more control, performance benefits, and better asynchronous support compared to WebClient, it also introduces complexity and requires careful resource management. The choice between ...

Wednesday, 25 December 2019