User-1852975005 posted
Hi,
first question, I feel dumb asking. Some times I have to put the connection string into appsettings and other times in webconfig.
Is this because the first is core and the second is .netframe work or some other reason.
The second question is how do I place the connection string from Azure (looks copletey different) into the web config.
Example below;
I dont have an example of a connection string from Azure at the moment.
However from the webconfig as below;
<connectionStrings>
<add
name="SchoolContext"
connectionString="Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=ContosoUniversity1;Integrated Security=SSPI;"
providerName="System.Data.SqlClient"/>
</connectionStrings>
Thanks,