Skip to content

Commit 9216da7

Browse files
committed
updated to work with dotnet 6.0
1 parent b2d8915 commit 9216da7

File tree

4 files changed

+6
-41
lines changed

4 files changed

+6
-41
lines changed

.vscode/launch.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/azure-sql-db-dotnet-rest-api.dll",
13+
"program": "${workspaceFolder}/bin/Debug/net6.0/azure-sql-db-dotnet-rest-api.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}",
1616
"stopAtEntry": false,
17-
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
18-
"serverReadyAction": {
19-
"action": "openExternally",
20-
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
21-
},
2217
"env": {
2318
"ASPNETCORE_ENVIRONMENT": "Development"
2419
},

Properties/launchSettings.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

SQL/WideWorldImportersUpdates.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Create schema
33
*/
44
IF SCHEMA_ID('web') IS NULL BEGIN
5-
EXECUTE('CREATE SCHEMA [web]');
5+
EXECUTE('CREATE SCHEMA [web] AUTHORIZATION [dbo]');
66
END
77
GO
88

azure-sql-db-dotnet-rest-api.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<RootNamespace>AzureSamples.AzureSQL</RootNamespace>
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Dapper" Version="2.0.35" />
10-
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.0.1" />
11-
<PackageReference Include="System.Text.Json" Version="4.7.0" />
9+
<PackageReference Include="Dapper" Version="2.0.123" />
10+
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.1.0" />
11+
<PackageReference Include="System.Text.Json" Version="6.0.3" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)