Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Azure Developer CLI",
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0-bookworm",
"image": "mcr.microsoft.com/devcontainers/dotnet:10.0-noble",
"features": {
// See https://containers.dev/features for list of features

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# quickstart-deploy-aspnet-core-app-service

Quickstart-deploy-aspnet-core-app-service is a demo project showcasing what you can get your application up on Azure using [Azure Developer CLI](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview)(azd).
Quickstart-deploy-aspnet-core-app-service is a demo project showcasing what you can get your application up on Azure using [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview)(azd).

## Prerequisites

Expand All @@ -19,7 +19,7 @@ The following prerequisites are required to use this application. Please ensure
curl -fsSL https://aka.ms/install-azd.sh | bash
```

- [.Net SDK 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- [.Net SDK 10.0](https://dotnet.microsoft.com/download/dotnet/10.0)

- [Git (2.36.1+)](https://git-scm.com/)

Expand Down
4 changes: 2 additions & 2 deletions infra/core/host/appservice-appsettings.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ param name string
@secure()
param appSettings object

resource appService 'Microsoft.Web/sites@2022-03-01' existing = {
resource appService 'Microsoft.Web/sites@2025-03-01' existing = {
name: name
}

resource settings 'Microsoft.Web/sites/config@2022-03-01' = {
resource settings 'Microsoft.Web/sites/config@2025-03-01' = {
name: 'appsettings'
parent: appService
properties: appSettings
Expand Down
6 changes: 3 additions & 3 deletions infra/core/host/appservice.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ param use32BitWorkerProcess bool = false
param ftpsState string = 'FtpsOnly'
param healthCheckPath string = ''

resource appService 'Microsoft.Web/sites@2022-03-01' = {
resource appService 'Microsoft.Web/sites@2025-03-01' = {
name: name
location: location
tags: tags
Expand Down Expand Up @@ -98,7 +98,7 @@ module configAppSettings 'appservice-appsettings.bicep' = {
}

// sites/web/config 'logs'
resource configLogs 'Microsoft.Web/sites/config@2022-03-01' = {
resource configLogs 'Microsoft.Web/sites/config@2025-03-01' = {
name: 'logs'
parent: appService
properties: {
Expand All @@ -110,7 +110,7 @@ resource configLogs 'Microsoft.Web/sites/config@2022-03-01' = {
dependsOn: [configAppSettings]
}

resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' existing = if (!(empty(keyVaultName))) {
resource keyVault 'Microsoft.KeyVault/vaults@2025-05-01' existing = if (!(empty(keyVaultName))) {
name: keyVaultName
}

Expand Down
2 changes: 1 addition & 1 deletion infra/core/host/appserviceplan.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ param kind string = ''
param reserved bool = true
param sku object

resource appServicePlan 'Microsoft.Web/serverfarms@2022-03-01' = {
resource appServicePlan 'Microsoft.Web/serverfarms@2025-03-01' = {
name: name
location: location
tags: tags
Expand Down
4 changes: 2 additions & 2 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var resourceToken = toLower(uniqueString(subscription().id, environmentName, loc
// tags: union(tags, { 'azd-service-name': apiServiceName })

// Organize resources in a resource group
resource rg 'Microsoft.Resources/resourceGroups@2021-04-01' = {
resource rg 'Microsoft.Resources/resourceGroups@2025-04-01' = {
name: !empty(resourceGroupName) ? resourceGroupName : '${abbrs.resourcesResourceGroups}${environmentName}'
location: location
tags: tags
Expand All @@ -59,7 +59,7 @@ module web './core/host/appservice.bicep' = {
location: location
appServicePlanId: appServicePlan.outputs.id
runtimeName: 'dotnetcore'
runtimeVersion: '8.0'
runtimeVersion: '10.0'
tags: union(tags, { 'azd-service-name': 'web' })
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/MyAzureWebApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<_EnableMacOSCodeSign>false</_EnableMacOSCodeSign>
Expand Down
Loading