Blog

Filter posts by Category Or Tag of the Blog section!

Technical Skills, Software Development, Real World Solutions, Enterprise Applications.
CoreFX is a foundational library of the .NET Core platform, providing a set of APIs for building cross-platform applications on .NET Core. It includes a wide range of functionality, such as file I/O, ...

Saturday, 23 April 2022
In my previous post about running worker service in windows as a windows service, I coveted the required operations from converting to hosting. But in the case that reading some details from JSON file...

Monday, 29 November 2021
Worker Service in dotnet lets you create a long-running service in a CMD environment by using  BackgroundService, which is an implementation of IHostedService. Rather than that it provinces the c...

Wednesday, 24 November 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
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
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
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
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 a console application in .Net Core, you don’t have the appsettings.json file. In order to add this file, add a JSON file with the same name (or any name that you want) and make the following ...

Thursday, 17 January 2019
TagHelpers in ASP.NET Core are used to generate HTML or other markups for a web page. They provide a way to create custom HTML elements, with their own attributes and behavior, that can be used in Raz...

Monday, 20 August 2018
By using IConfiguration, you can access appsetting.json content in asp.net core. Using it in Startup is straightforward:  public class Startup     {   &nb...

Saturday, 16 June 2018
As you know, WCF is Windows Communication Service and doesn't match the targets of .Net Core which is cross-platform. It was a just a question to know how can I handle the WCF services in .Net cor...

Saturday, 26 May 2018