Month: December 2019

Clean Coding, General Windows

Encrypt ConnectionStrings in web.config

This is the sample connection string in the web.config file Before Encrypt <configuration> <connectionStrings> <add name=”SqlServices” connectionString=”Data Source=localhost;Integrated Security=SSPI;Initial Catalog=Northwind;” /> </connectionStrings> </configuration>   Encrypting web.config file 1. Open Command…Continue readingEncrypt ConnectionStrings in web.config

Clean Coding, General Windows

Machine.Config Location

Common Location: C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config The Machine.Config file, which specifies the settings that are global to a particular machine. This file is located at the following path: [Windows Directory]\Microsoft.NET\Framework\[Framework Version]\CONFIG\machine.config As web.config…Continue readingMachine.Config Location