//if the connection string is empty, then this is debug mode if (String.IsNullOrEmpty(connString)) connString = WebConfigurationManager.ConnectionStrings[“LocalDBInstanceForDebugging”].ConnectionString;