Skip to content

Commit 573a67d

Browse files
committed
temp change sample app to dotnet6
1 parent 991dcab commit 573a67d

File tree

8 files changed

+52
-12
lines changed

8 files changed

+52
-12
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.002.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample-apps", "sample-apps", "{098A9B07-F544-4CA2-BC82-B56CF600C57E}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dotnet", "dotnet", "{D2D75C4C-45D6-4A71-A364-1B459D6388F3}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "asp_remote_service", "sample-apps\dotnet\asp_remote_service\asp_remote_service.csproj", "{BABD026A-7DDC-41DD-A402-D66068623D44}"
11+
EndProject
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "asp_frontend_service", "sample-apps\dotnet\asp_frontend_service\asp_frontend_service.csproj", "{7C6BA88F-8615-4B70-BC20-462C48FA7837}"
13+
EndProject
14+
Global
15+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
16+
Debug|Any CPU = Debug|Any CPU
17+
Release|Any CPU = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{BABD026A-7DDC-41DD-A402-D66068623D44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{BABD026A-7DDC-41DD-A402-D66068623D44}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{BABD026A-7DDC-41DD-A402-D66068623D44}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{BABD026A-7DDC-41DD-A402-D66068623D44}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{7C6BA88F-8615-4B70-BC20-462C48FA7837}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{7C6BA88F-8615-4B70-BC20-462C48FA7837}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{7C6BA88F-8615-4B70-BC20-462C48FA7837}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{7C6BA88F-8615-4B70-BC20-462C48FA7837}.Release|Any CPU.Build.0 = Release|Any CPU
28+
EndGlobalSection
29+
GlobalSection(SolutionProperties) = preSolution
30+
HideSolutionNode = FALSE
31+
EndGlobalSection
32+
GlobalSection(NestedProjects) = preSolution
33+
{D2D75C4C-45D6-4A71-A364-1B459D6388F3} = {098A9B07-F544-4CA2-BC82-B56CF600C57E}
34+
{BABD026A-7DDC-41DD-A402-D66068623D44} = {D2D75C4C-45D6-4A71-A364-1B459D6388F3}
35+
{7C6BA88F-8615-4B70-BC20-462C48FA7837} = {D2D75C4C-45D6-4A71-A364-1B459D6388F3}
36+
EndGlobalSection
37+
GlobalSection(ExtensibilityGlobals) = postSolution
38+
SolutionGuid = {BDEC1B06-A848-4F62-9CB3-EF567858FBBE}
39+
EndGlobalSection
40+
EndGlobal

sample-apps/dotnet/asp_frontend_service/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
22
WORKDIR /app
33
COPY . ./
44
RUN dotnet publish asp_frontend_service/*.csproj -c Release -o out
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0
6+
FROM mcr.microsoft.com/dotnet/aspnet:6.0
77
WORKDIR /app
88
EXPOSE 8080
99
COPY --from=build-env /app/out .

sample-apps/dotnet/asp_frontend_service/asp_frontend_service.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp8.0</TargetFramework>
4+
<TargetFramework>netcoreapp6.0</TargetFramework>
55
<RootNamespace>asp_frontend_service</RootNamespace>
66
</PropertyGroup>
77

sample-apps/dotnet/asp_remote_service/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
22
WORKDIR /app
33
COPY . ./
44
RUN dotnet publish asp_remote_service/*.csproj -c Release -o out
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0
6+
FROM mcr.microsoft.com/dotnet/aspnet:6.0
77
WORKDIR /app
88
ENV ASPNETCORE_URLS=http://+:8081
99
EXPOSE 8081

sample-apps/dotnet/asp_remote_service/asp_remote_service.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp8.0</TargetFramework>
4+
<TargetFramework>netcoreapp6.0</TargetFramework>
55
<RootNamespace>asp_remote_service</RootNamespace>
66
</PropertyGroup>
77

terraform/dotnet/ec2/asg/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resource "aws_launch_configuration" "launch_configuration" {
105105
sudo yum install -y wget
106106
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
107107
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
108-
sudo dnf install -y dotnet-sdk-8.0
108+
sudo dnf install -y dotnet-sdk-6.0
109109
sudo yum install unzip -y
110110
111111
# Copy in CW Agent configuration
@@ -220,7 +220,7 @@ resource "null_resource" "remote_service_setup" {
220220
sudo yum install wget -y
221221
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
222222
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
223-
sudo dnf install -y dotnet-sdk-8.0
223+
sudo dnf install -y dotnet-sdk-6.0
224224
sudo yum install unzip -y
225225
226226
# Copy in CW Agent configuration

terraform/dotnet/ec2/default/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ resource "null_resource" "main_service_setup" {
116116
sudo yum install -y wget
117117
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
118118
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
119-
sudo dnf install -y dotnet-sdk-8.0
119+
sudo dnf install -y dotnet-sdk-6.0
120120
sudo yum install unzip -y
121121
122122
# Copy in CW Agent configuration
@@ -224,7 +224,7 @@ resource "null_resource" "remote_service_setup" {
224224
sudo yum install -y wget
225225
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
226226
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
227-
sudo dnf install -y dotnet-sdk-8.0
227+
sudo dnf install -y dotnet-sdk-6.0
228228
sudo yum install unzip -y
229229
230230
# Copy in CW Agent configuration

terraform/dotnet/ec2/nuget/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ resource "null_resource" "main_service_setup" {
116116
sudo yum install -y wget
117117
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
118118
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
119-
sudo dnf install -y dotnet-sdk-8.0
119+
sudo dnf install -y dotnet-sdk-6.0
120120
sudo yum install unzip -y
121121
sudo yum install dos2unix -y
122122
@@ -210,7 +210,7 @@ resource "null_resource" "remote_service_setup" {
210210
sudo yum install -y wget
211211
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
212212
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
213-
sudo dnf install -y dotnet-sdk-8.0
213+
sudo dnf install -y dotnet-sdk-6.0
214214
sudo yum install unzip -y
215215
sudo yum install dos2unix -y
216216

0 commit comments

Comments
 (0)