I have this line
string sConnectionString = ConfigurationManager.ConnectionStrings[\"Hangfire\"].ConnectionString;
And it requires to include
@Dimi Right Click on References folder -> Add References -> Search configuration -> check on System.Configuration -> Click on ok.
then add Namespaces on your .cs file i.e
using System.Configuration;