How to get connectionstring from webconfig to program.cs
I have mvc project to deploy on commercial Windows web hosting, not Azure, no cloud services, no containers. I try to manage access to connectionstring. I put in into webconfig file:
I have mvc project to deploy on commercial Windows web hosting, not Azure, no cloud services, no containers. I try to manage access to connectionstring. I put in into webconfig file: