C# variance in delegates
Alright! I had a handy experience in a project (of which I will speak later) which I have decided to share it with you guys and it is about C# Variance in delegates. When...
Alright! I had a handy experience in a project (of which I will speak later) which I have decided to share it with you guys and it is about C# Variance in delegates. When...
Webhooks are an inter-application notification mechanism. For example, GitHub can notify an application via an HTTP request after each commit on a repository. The notified application can thus perform an operation immediately after the...
If you have read the book “Clean Code: A Handbook of Agile Software Craftsmanship” by Robert C. Martin, you know that how things could go wrong when you return null from a method! This time I...
I have seen this problem with a project generated from the React SPA template, but maybe it can be applied to other SPA templates (such as Angular). The error can be reproduced very easily....
One of the most useful, although more potentially dangerous, features of C# is the possibility of overloading the conversion operators ( casting ) and specifically the implicit conversion. Being able to overload the explicit...
This pоst is аbоut hоw tо use MessаgePаck in ASP.NET Cоre аnd C#. It is all about Shrink JSON response using MessagePack even smaller and more efficient. MessagePack is an efficient binary serialization format. It...
This time I like to share the way to use NLog LayoutRenderer in ASP.NET Core, According to NLog website: NLog is a flexible and free logging platform for various .NET platforms, including .NET standard....
ASP.Net 2.1 is packed with new features and improvements that make web development even more efficient but let’s see why to move to ASP.Net Core 2.1. With the release of version 2.1 of ASP.Net...
ASP.NET Cоre 2.1 intrоduced the APICоntrоller аttribute which perfоrms аutоmаtic Model State Validation in ASP.NET Core аnd in cаse оf аn invаlid mоdel stаte, respоnds with а 400 bаd request errоr. When the cоntrоller...
In one of my past blog post I talked about how to use FluentMigrator in ASP.Net Core 2.0, in this one, I am going through use multiple databases for FluentMigrator in ASP.NET Core. Although setting...