thumbnail
Azure Ubuntu vm - Update the user's ssh key

az account set --subscription subscriptionId az vm user update --resource-group TargetResourceGroup --name NameOfVM --username Nam...

thumbnail
Run a raw sql query/command via EF Core

There are different ways to run a SQL command/query in Entity Framework Core. 1.DbSet.FromSqlRaw var parentsList = context.Parents...

thumbnail
Run a raw sql query/command via EF 6

There are different ways to run a SQL command/query via Entity framework. 1.SqlQuery In the entity(table) level : var parentsList ...

thumbnail
Grpc web getting error _google.protobuf.Empty is not defined.

Error : error : "google.protobuf.Empty" is not defined. Solution protoc -I {proto_path}\include --proto_path=proto --js_o...

thumbnail
Json.NET : Serialization handling of DateTimeOffset

In the Startup.cs : public void ConfigureServices(IServiceCollection services) { services.AddControllers().AddJsonOptions(options ...

thumbnail
Azure Ubuntu vm - dpkg-deb error : paste subprocess was killed by signal (Broken pipe)

When running ‘sudo apt upgrade -y’ on azure ubuntu vm error : dpkg: error processing archive /var/cache/apt/archives/l...

thumbnail
Nginx and SignalR:This endpoint is only for web-socket requests' when status code '101' was expected

Error The server returned status code '200 This endpoint is only for web-socket requests' when status code '101' w...

thumbnail
SignalR:Failed connection handshake

Error Error : [Debug] Microsoft.AspNetCore.SignalR.HubConnectionContext Failed connection handshake. System.ArgumentOutOfRangeExce...

thumbnail
Use Watchtower to update automatically the running docker containers

Watchtower can be used either as standalone docker container or in docker compose. Create config.json Before creating the config f...

thumbnail
IHttpClientFactory with Polly

Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit ...