File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1010 <ItemGroup >
1111 <!-- include the migrationsbundle file generated by the prepackage hook (see azure.yaml) -->
1212 <Content Include =" migrationsbundle" CopyToPublishDirectory =" PreserveNewest" Exclude =" $(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
13+ <PackageReference Include =" Microsoft.Data.SqlClient" Version =" 5.2.2" />
1314 <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8.0.6" />
1415 <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 8.0.6" >
1516 <PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change 99 "ConnectionStrings" : {
1010 // The following connection string works for running the .NET application in the dev container.
1111 // If running this project in Visual Studio in Windows, use the commented connection string instead.
12- "MyDbConnection" : " Server=localhost;Database=ApplicationDB;User Id=sa;Password=P@ssw0rd;TrustServerCertificate=True;MultipleActiveResultSets=true"
12+ //"MyDbConnection": "Server=localhost;Database=ApplicationDB;User Id=sa;Password=P@ssw0rd;TrustServerCertificate=True;MultipleActiveResultSets=true"
13+ "MyDbConnection" : " Server=tcp:dev-4u4qhiztjanba-server.database.windows.net;Authentication=Active Directory Default; Database=dev-4u4qhiztjanba-database;"
1314 //"MyDbConnection": "Server=(localdb)\\mssqllocaldb;Database=MyDatabaseContext-8e1630ac-d3ae-4719-955b-5d3235f3fadf;Trusted_Connection=True;MultipleActiveResultSets=true"
1415 }
1516}
You can’t perform that action at this time.
0 commit comments