I am new in net core 2.0.
I am connecting to datbase. I am used to use an App.Config or Web.Config to set the connection string. But in net core 2.0 uses appsettings.json file instead.
When I compile de Application, appsettings.json file is not generated in bin directory. So when I run the appplication from Console c>dotnet prj.dll thrown an excepción because connection file is not found.
My question is... I have to copy appsettings.json file manually to bin directory or is there a way to save it in bin directory when Project is compiled?
thanks