Imagine you are buying a car. What essential features do you need in it? A vehicle should deliver a person from point A to point B. But what we also check in it is Safety, Comfort, Maintainability, Ease of repair or Better mileage. You may also look for an electric version or better speed. Why?
Here is the brief introduction to sidecar and ambassador patterns. Sidecar — A piece of functionality that extends or augments your main application and resides in a separate process. For example, your main application writes logs to stdin / stderr while the sidecar streams the logs from the filesystem into a sink. This way, your application
It is one of the common question I often come across while I am chatting with my friend or searching something on the Internet. I will try to explain these two confusing terms to you in this article. Definition of message queue is to receive bunch of messages from one application and to deliver them
The Default Value for *OrDefault Methods The Enumerable.FirstOrDefault method returns the first element of a sequence, or a default value if no element is found. In .NET 6, you can override the default value. You can override the default value also for SingleOrDefault and LastOrDefault methods. New *By Methods .NET 6 introduces the new Enumerable.By* methods. A ‘keySelector’ is provided to compare
Exception handling is one of the most critical areas in modern web application development. If exceptions are not handled properly, the whole app can be terminated, causing severe issues for users and developers. In this article, I will discuss different methods of global exception handling in .NET apps. Error handling with try-catch blocks Try-catch blocks