Reading typed values from the ConfigurationManager appsettings
Here is a sample code that shows how to read values from the .NET appSettings section with auto conv…
Here is a sample code that shows how to read values from the .NET appSettings section with auto conv…
That is usefull for NFC encryption key used by terminals that support apple VAS openssl ec -in p…
The code below is an implementation of the IDistributedCache interface with MariaDB/MySQL database…
Run this in PowerShell winsat formal Wait for the end of the assessment, then run this: Get-WmiOb…
In WPF the Password property of the passwordBox element is not a dependency property, so we cannot…
Install the MahApps.Metro package Change the window to MetroWindow: <Controls:MetroWindow …
Use signtool.exe to sign the dll/exe as following signtool.exe sign /n "cert subject" …
The scenario: Each client/user receives an SSL client certificate for authentication. …
The idea is to use a (windows) server as a proxy for outgoing traffic, hiding all the inner network …
Ldap4Net is an open source library for .NET that can work with LDAP repositories: https://github.com…
In general, in standard SQL, we cannot pass table or column name as a variable, so this would be imp…
When using .NET core, by default, we can't get all the encodings that are available in .NET Fram…
Creating a responsive email is a not a simple task since we need to be ready for various clients tha…
I found this nice plugin that allows to send REST API requests directly from notepad++: https://gith…
We want a simple way to display toasts in a specific position on the app for notifications from va…
In react we can use custom variables provided in the .env files, however for custom variables, the…
We would like to have several SPA, each accommodated with a different controller. Assme we publish t…
The FluentMigrator library allow us to create a database scheme, then modify it incrementaly it keep…
The basic way to do this is by defining some state, and then handling the state update directly in…
Here is an example in c# with HttpClient to send a key value form content with the default HttpCli…
Please refer to my previous article of how to create a service with the topshelf library: https://…
Here is a list of interesting React libraries that can be used in various frontend projects …
Here is a code that demonstrates how to get the full chain of the certificate with all the revocat…
To escape a characther in the LIKE clause of SQL, use the additional ESCAPE clause which is part o…
Here is a code snippet that demonstrates how we can find a certificate in the certificate store, t…
Let's assume we have two projects: ProjectA and ProjectB. ProjectA references ProjectB. When w…
Here is an example of a simple console application written in .NET that demonstrates the use of de…
This example assume the properties file is located in the same directory where the jar file runs, …
Assume we have a table: MyTable with an identity column Id . We would like to duplicate this row …
Assume we have a data grid with a binding to an ItemSource collection. We would like to add a colu…