Category: general
-
Entity Framework Inheritance Table Per Type (TPT) in .NET
Table per Type (TPT) is a type of inheritance mapping in Entity Framework where each derived entity type is mapped to a separate table in the database. For example, consider the following object model: Copy codepublic abstract class Vehicle{ public int Id { get; set; } public string Make { get; set; } public string…
-
Thawani Pay SDK for .NET
Recently I was working on a project in .NET where I needed to integrate Thawani Payment Gateway (Oman Based Payment Gateway). There API documentation is great but there isn\’t any official library in .NET. Many of the new developers might find it hard to start consuming the APIs, generating the JSON, etc. I wrapped all…
-
The first habit: Proactive
For most of us, it is always the easiest to blame someone or something about a situation that happens. Be it you are yelling on someone, business failed, client cancels the project or anything that relates. Blaming it on someone or something else makes your mind not feel guilty. Although you are not yet satisfied.…
-
Music and Work
I am a programmer, and being one I spend almost my entire day in front of a computer. During the period when I am working on a project, and by working I mean writing code specifically, I have a plan and steps to follow to achieve the output. So the part when I may not…
-
Ramadan and Remote Work
Every year, there is a month in which all Muslims fast from dawn to dusk by not drinking any liquids or eating any solids. Not just that but preventing themselves from other sexual activities, sinful acts and speeches as well. This month is called Ramadan and it is the 9th month in Islamic (Hijri) Calendar.…
-
Corona Virus vs Remote Work
WHO has declared Corona Virus as pandemic (I didn\’t know the meaning of it first). The entire world has kinda stopped. It started from a hub where most of the goods are produced and shipped, China and it was being called Chinese Virus by the US President Trump. Anyhow, we are living in an Era…
-
Traffic of Middle-East
For the past 3 and half years, I have been living in a foreign country in the Middle-East. When people talk about Middle-East, Arabs and Muslims pop-up in their heads, which is true. I am in the Sultanate of Oman. People often say that the Arabs are crazy rich, which I would not entirely agree…