Do you have an example of how we should be setting our connection string in an asp.net core app. The docs talk about setting an app.config file in the base directory.
Is this supposed to be in the wwwroot folder and if so what format does it need to take?
Normally in these applications we are putting connection strings in an appsettings.json file and the framework has methods to access these.
Is there something that we can override so that the connection string will be read from here?
I have already checked this http://www.telerik.com/support/kb/reporting/details/changing-the-connection-string-dynamically-according-to-runtime-data
but it seems unwieldy because it looks like you have to actually manually update the report source for the report you are rendering...
I would much prefer that I just pull it from my connectionstrings section in appsettings.config like I do in my Startup.cs like so
Configuration.GetConnectionString("DefaultConnection")
and I believe that Configuration can be passed in via DI using IConfigurationRoot?
Thanks
AJ