Эх сурвалжийг харах

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 8ae8d00ceaefef0828aff3b95cfcf975dfa13b6e.

* Revert "checking other way to check"

This reverts commit 51ed21c38bfe56973a3c8cec3aba3e80fe2d6421.

* Revert "remove unused usings"

This reverts commit 325ad9ed9e8172a4c7c28047e296051ee971fca0.

* Revert "address warnings"

This reverts commit 75c577008698bb5567a464280731095bfe056be5.

* Revert "added the attribute to check"

This reverts commit 75c9f37b2d1d8ddf289e64ad02b16744b2ac5085.

* Revert "change to net8"

This reverts commit 94a719af971890bc458cfc64040ca3b6ddf43552.

* Revert "feat: upgrade mono based benchmarks to 8"

This reverts commit e5fed6e99153331c0ae3830479ede69d6cd3b990.

* update package to 8 as its now available.

* upgrade missed package

* upgrade npgsql

* add missing quote
Shreyas Jejurkar 1 жил өмнө
parent
commit
a044f42513

+ 2 - 2
frameworks/CSharp/aspnetcore/aspnetcore-minimal.dockerfile

@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0.100-rc.2 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 WORKDIR /app
 COPY src/Minimal .
 RUN dotnet publish -c Release -o out
 
-FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
 ENV URLS http://+:8080
 
 WORKDIR /app

+ 2 - 2
frameworks/CSharp/aspnetcore/aspnetcore-mvc.dockerfile

@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0.100-rc.2 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 WORKDIR /app
 COPY src/Mvc .
 RUN dotnet publish -c Release -o out
 
-FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
 ENV URLS http://+:8080
 
 WORKDIR /app

+ 2 - 2
frameworks/CSharp/aspnetcore/aspnetcore-mysql.dockerfile

@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0.100-rc.2 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 WORKDIR /app
 COPY src/Platform .
 RUN dotnet publish -c Release -o out /p:DatabaseProvider=MySqlConnector
 
-FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
 ENV URLS http://+:8080
 
 WORKDIR /app

+ 2 - 2
frameworks/CSharp/aspnetcore/aspnetcore.dockerfile

@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0.100-rc.2 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 WORKDIR /app
 COPY src/Platform .
 RUN dotnet publish -c Release -o out /p:DatabaseProvider=Npgsql
 
-FROM mcr.microsoft.com/dotnet/aspnet:8.0.0-rc.2 AS runtime
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
 ENV URLS http://+:8080
 
 WORKDIR /app

+ 2 - 2
frameworks/CSharp/aspnetcore/src/Minimal/Minimal.csproj

@@ -9,8 +9,8 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="Npgsql" Version="8.0.0-rc.2" />
-    <PackageReference Include="Dapper" Version="2.1.11" />
+    <PackageReference Include="Npgsql" Version="8.0.1" />
+    <PackageReference Include="Dapper" Version="2.1.21" />
     <PackageReference Include="RazorSlices" Version="0.7.0" />
   </ItemGroup>
 

+ 3 - 3
frameworks/CSharp/aspnetcore/src/Platform/Platform.csproj

@@ -18,9 +18,9 @@
   </ItemGroup>
 
   <ItemGroup>
-    <PackageReference Include="Npgsql" Version="8.0.0-rc.2" />
-    <PackageReference Include="MySqlConnector" Version="2.2.7" />
-    <PackageReference Include="Dapper" Version="2.1.11" />
+    <PackageReference Include="Npgsql" Version="8.0.1" />
+    <PackageReference Include="MySqlConnector" Version="2.3.1" />
+    <PackageReference Include="Dapper" Version="2.1.21" />
     <PackageReference Include="RazorSlices" Version="0.7.0" />
   </ItemGroup>