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 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
OWIN (Open Web Interface for .NET) is a standard interface between web servers and web applications for .NET. It is designed to decouple the web application from the web server and simplify the develo...
Monday, 04 November 2019
In C#, it is not recommended to compare two doubles using the == operator because of the way that floating point numbers are represented and handled by the computer. Floating point numbers are re...
Thursday, 04 July 2019
Quartz.NET is an open-source job scheduling library that can be used to schedule and execute jobs in .NET applications. It provides a simple and powerful API that allows developers to define jobs and ...
Thursday, 04 April 2019