Skip to content

Commit a044f42

Browse files
feat: Upgrade ASP.NET Core benchmarks to .NET 8 (#8558)
* feat: Upgrade ASP.NET Core benchmarks to .NET 8 * feat: upgrade mono based benchmarks to 8 * change to net8 * added the attribute to check * address warnings * remove unused usings * checking other way to check * update package versions for mono * update packages for aspnetcore * Revert "update package versions for mono" This reverts commit 8ae8d00. * Revert "checking other way to check" This reverts commit 51ed21c. * Revert "remove unused usings" This reverts commit 325ad9e. * Revert "address warnings" This reverts commit 75c5770. * Revert "added the attribute to check" This reverts commit 75c9f37. * Revert "change to net8" This reverts commit 94a719a. * Revert "feat: upgrade mono based benchmarks to 8" This reverts commit e5fed6e. * update package to 8 as its now available. * upgrade missed package * upgrade npgsql * add missing quote
1 parent cedcbfd commit a044f42

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

frameworks/CSharp/aspnetcore/aspnetcore-minimal.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.100-rc.2 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /app
33
COPY src/Minimal .
44
RUN dotnet publish -c Release -o out
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
6+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
77
ENV URLS http://+:8080
88

99
WORKDIR /app

frameworks/CSharp/aspnetcore/aspnetcore-mvc.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.100-rc.2 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /app
33
COPY src/Mvc .
44
RUN dotnet publish -c Release -o out
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
6+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
77
ENV URLS http://+:8080
88

99
WORKDIR /app

frameworks/CSharp/aspnetcore/aspnetcore-mysql.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.100-rc.2 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /app
33
COPY src/Platform .
44
RUN dotnet publish -c Release -o out /p:DatabaseProvider=MySqlConnector
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
6+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
77
ENV URLS http://+:8080
88

99
WORKDIR /app

frameworks/CSharp/aspnetcore/aspnetcore.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.100-rc.2 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /app
33
COPY src/Platform .
44
RUN dotnet publish -c Release -o out /p:DatabaseProvider=Npgsql
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
6+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
77
ENV URLS http://+:8080
88

99
WORKDIR /app

frameworks/CSharp/aspnetcore/src/Minimal/Minimal.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Npgsql" Version="8.0.0-rc.2" />
13-
<PackageReference Include="Dapper" Version="2.1.11" />
12+
<PackageReference Include="Npgsql" Version="8.0.1" />
13+
<PackageReference Include="Dapper" Version="2.1.21" />
1414
<PackageReference Include="RazorSlices" Version="0.7.0" />
1515
</ItemGroup>
1616

frameworks/CSharp/aspnetcore/src/Platform/Platform.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
</ItemGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="Npgsql" Version="8.0.0-rc.2" />
22-
<PackageReference Include="MySqlConnector" Version="2.2.7" />
23-
<PackageReference Include="Dapper" Version="2.1.11" />
21+
<PackageReference Include="Npgsql" Version="8.0.1" />
22+
<PackageReference Include="MySqlConnector" Version="2.3.1" />
23+
<PackageReference Include="Dapper" Version="2.1.21" />
2424
<PackageReference Include="RazorSlices" Version="0.7.0" />
2525
</ItemGroup>
2626

0 commit comments

Comments
 (0)