When testing Code / security setups / … you may need some certificates to play with or to test your setup. You can create valid Self Signed certificates from the visual studio command prompt using the makecert commandline tool.
When deploying your code to a remote server it is always usefull to know the version of the .net framework installed on the server. the scripts below are powershell scripts that look in the registry for the installed versions.
Here’s an example of the necessary steps to deploy a 2 way ssl authentication in WCF using IIS 10 and 2 self signed certificates .
Nlog is a .net logging framework that can be configured from a config file or from inside your code itself. below i will give a brief description of how to configure Nlog from code. The code
The basic structure of a T-sql transaction / rollback for MS-SQL with a custom error thrown
Elmah is a open source error logging module for .net projects. It is easily integrated with any web projects and provides a basic interface for viewing the captured exceptions.