thumbnail
Azure Ubuntu vm: downgrade linux kernel

When moving vms on different regions it may occur that the current linux kernel version of Azure Ubuntu vm is not supported. The l...

thumbnail
Generate js files with protoc for GRPC web on Windows

Download protoc Download protoc-gen-grpc-web Add to system environment variable PATH the path to protoc-gen-grpc-web for example ...

thumbnail
DbUpdateConcurrencyException when updating an entity

Error Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: 'The database operation was expected to affect 1 row(s), but...

thumbnail
SQL installation error on linux : GLIBC_2.27 not found

Error /opt/mssql/bin/sqlservr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /opt/mssql/bin/sq...

thumbnail
Android: button needs to be clicked twice

When the button needs to clicked twice in order to be effective: Solution android:focusable="true" android:focusableInTouc...

thumbnail
Xunit and private static methods

Code It is not recommended to test private methods, because they should be tested indirectly through the public method calling the...

thumbnail
Nginx error : could not build the server_names_hash, you should increase server_names_hash_bucket_size

Error: [emerg]could not build the server_names_hash, you should increase server_names_hash_bucket_size Solution: In nginx.conf : ...

thumbnail
Android: actionbar back button is showing in preview not on mobile

Solution <android.support.v7.widget.Toolbar android:id="@+id/toolbarId" android:layout_width="match_parent" an...

thumbnail
DbArithmeticExpression arguments must have a numeric common type

Error System.ArgumentException: DbArithmeticExpression arguments must have a numeric common type. Code caused the exception ctx.I...

thumbnail
Configure an unique Index in entity framework core

1.Attributes [Index(nameof(Name),nameof(Uuid), IsUnique = true, Name = "SomeIndex")] public class Server { public int Id {...