Ich veröffentliche Webanwendung auf asp.net-Kern über Visual Studio. Der Verbindungsstring befindet sich in appsettings.json. Wie man es ändert?ändern Verbindungszeichenfolge auf asp.net Kernprojekt (appsettings.json)
In MVC5 Projekte i Transformationen in Profilen gespeichert Schreiben auf diese Weise (web [profil] .config oder Web.Release.Config.): <add name="string" connectionString="Data Source=localhost;Initial Catalog=DevDb;Integrated Security=false;User Id=user;Password=passwd" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
Dank!