Mindful Codes Blog

How to Test Webhooks using ngrok 0

How to Test Webhooks using ngrok

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...

Avoid returning null in your code 0

Avoid returning null in your code

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...

ASP.NET Core: npm error when generating a Docker image of a project created with the React template 0

ASP.NET Core: npm error when generating a Docker image of a project created with the React template

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....

Conversions (explicit or implicit) and interfaces in C# 0

Conversions (explicit or implicit) and interfaces in C#

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...

0

Manage GitHub notifications easily

If you manage a large number of Github repositories, and you have to deal with a large number of daily notifications, Octobox can help you, you can Manage GitHub notifications easily. Octobox helps you manage...

0

C# Interactive is super handy

C# Interactive is super handy and it is a REPL (Read-Eval-Print-Loop), in the same vein as shell languages. It was introduced in late 2015, is accessible directly from Visual Studio and allows to enter...

1

Shrink JSON response using MessagePack

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...

0

How to backup Github repositories

It’s cool to trust sites to keep our data, but it can happen at a time that they disappear. If there was a way to know how to backup Github repositories. It might sound...