update to .net 8

هذا الالتزام موجود في:
Chris Ayers
2023-12-02 09:55:14 -05:00
الأصل e0ef3cfbe3
التزام 582d4e7fdb
3 ملفات معدلة مع 3 إضافات و3 حذوفات

عرض الملف

@@ -30,7 +30,7 @@ jobs:
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 7.0.x dotnet-version: 8.0.x
- name: Set up dependency caching for faster builds - name: Set up dependency caching for faster builds
uses: actions/cache@v3 uses: actions/cache@v3
with: with:

عرض الملف

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>dotnet_sample</RootNamespace> <RootNamespace>dotnet_sample</RootNamespace>

عرض الملف

@@ -1,7 +1,7 @@
param webAppName string = uniqueString(resourceGroup().id) // Generate unique String for web app name param webAppName string = uniqueString(resourceGroup().id) // Generate unique String for web app name
param sku string = 'S1' // The SKU of App Service Plan param sku string = 'S1' // The SKU of App Service Plan
param location string = resourceGroup().location // Location for all resources param location string = resourceGroup().location // Location for all resources
param linuxFxVersion string = 'DOTNETCORE|6.0' // The runtime stack of web app param linuxFxVersion string = 'DOTNETCORE|8.0' // The runtime stack of web app
var appServicePlanName = toLower('AppServicePlan-gh-demo') var appServicePlanName = toLower('AppServicePlan-gh-demo')
var webSiteName = toLower('wapp-${webAppName}') var webSiteName = toLower('wapp-${webAppName}')