Jan 5Azure Cosmos DB — Part 2In this post, we are going to discuss about an important concepts called Throughput. Throughput simply means how many requests the cosmos DB can serve at a time. Throughput is measured in terms of a unit called Request Unit or RU. For a simple read query the RU will be…Azure2 min read
Jan 3An Introduction to Azure Cosmos DBhello guys, I have been thinking of creating a blog post series about one of the most popular service in azure echo-system, the cosmos db, for a long time. In one of my earlier projects I had the opportunity to work in this database. …Azure5 min read
Dec 23, 2021Azure Functions — Part 2hello folks, this is gonna be the second part of my azure function series. In case you haven’t read the first part, you can check it out here. Alright, lets dive in. In this post, we will be looking at how can we create azure functions from Visual Studio. So…Azure3 min read
Dec 21, 2021Azure Functions — Part 1Hello guys, its been a while since I wrote any technical posts. I was very busy with my 1.5 year old son, in fact I was barely managing to do my daily office works, as he often come to my workplace (which is a room in my house nowadays), and…C Sharp Programming5 min read
Sep 4, 2021Extension methods in C#To simply put, Extension methods are a convenient way of adding methods to classes that you cannot modify directly, typically because they are provided by a third-party package. Lets look at an example of a ShoppingCart class which contains a collection of Product objects.C Sharp Programming2 min read
Aug 31, 2021Storing User Secrets in .Net CoreHi folks, in this post, I try to cover how user secrets can be stored in a .Net core application. During development, it is often necessary to use sensitive data to work with the services that an application depends on. This data can include API keys, database connection passwords, or…C Sharp Programming3 min read
Aug 23, 2021How to use problem details middleware in .Net Core?ProblemDetails is an open source ASP.NET Core middleware developed by Kristian Hellang that can be used to generate detailed results for the exceptions that occur in your application. It handles exceptions in your middleware pipeline, and converts them to ProblemDetails. Here is a picture of Kristian Hellang. Good job Kristian! …C Sharp Programming2 min read
Jun 5, 2021Object lifetime in C#If you are really passionate about C#, then you should always aim to go a level deeper than your peers and make an effort to learn the internals of the language. Having some idea about the object life time will be a good start. …C Sharp Programming6 min read
May 9, 2021OData SecurityHi guys, welcome to the second part of OData. In this post, I am going to cover some basic scenarios of OData security. Often we might come across scenarios in which we want to limit what the user input with OData filters. Or we can validate the query conditions provided…Odata3 min read
Mar 6, 2021OData in .Net CoreRecently I came across this cool feature called OData. OData is an open source, open protocol technology that provides the ability to develop Queryable APIs. OData helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response…Net Core 34 min read