Skip to content

Commit ea9396b

Browse files
committed
using windows plan
1 parent b4efce9 commit ea9396b

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

azure-deploy.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@ az group create \
2525
echo "Creating Application Service Plan...";
2626
az appservice plan create \
2727
-g $resourceGroup \
28-
-n "linux-plan" \
29-
--sku B1 \
30-
--is-linux
28+
-n "windows-plan" \
29+
--sku B1
3130

3231
echo "Creating Web Application...";
3332
az webapp create \
3433
-g $resourceGroup \
3534
-n $appName \
36-
--plan "linux-plan" \
37-
--runtime "DOTNETCORE|3.0" \
35+
--plan "windows-plan" \
36+
--runtime "DOTNETCORE|3.1" \
3837
--deployment-source-url $gitSource \
3938
--deployment-source-branch master
4039

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

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

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

8-
<ItemGroup>
9-
</ItemGroup>
10-
118
<ItemGroup>
129
<PackageReference Include="Dapper" Version="2.0.30" />
1310
<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" />

0 commit comments

Comments
 (0)