Skip to content

Commit 03004c5

Browse files
authored
Merge pull request #203 from androidseb25/dev
Update Nuget and .Net to version 10
2 parents 809f7d2 + d4f9f3e commit 03004c5

3 files changed

Lines changed: 14 additions & 18 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# See https://devblogs.microsoft.com/dotnet/improving-multiplatform-container-support/
2-
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
2+
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
33
WORKDIR /app
44
EXPOSE 5047
55
EXPOSE 7221
66

77
# Install curl in the final runtime image
88
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
99

10-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build
10+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0 AS build
1111
ARG TARGETARCH
1212
WORKDIR /src
1313

Program.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using iGotify_Notification_Assist.Services;
22
using Microsoft.AspNetCore.Http.Json;
3-
using Microsoft.AspNetCore.Identity;
4-
using Microsoft.OpenApi.Models;
53
using Scalar.AspNetCore;
64
using Environments = iGotify_Notification_Assist.Services.Environments;
75

@@ -46,9 +44,9 @@
4644
app.MapScalarApiReference(options =>
4745
{
4846
options.WithTitle("iGotify Notification Assist API")
49-
.WithModels(false)
50-
.WithLayout(ScalarLayout.Classic)
51-
.WithTheme(ScalarTheme.Moon)
47+
.HideModels()
48+
.WithClassicLayout()
49+
.WithTheme(ScalarTheme.Default)
5250
.WithDefaultHttpClient(ScalarTarget.CSharp, ScalarClient.HttpClient);
5351
});
5452
}

iGotify Notification Assist.csproj

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<InvariantGlobalization>true</InvariantGlobalization>
88
<RootNamespace>iGotify_Notification_Assist</RootNamespace>
9-
<AssemblyVersion>1.5.0.3</AssemblyVersion>
10-
<FileVersion>1.5.0.3</FileVersion>
11-
<Version>1.5.0.1</Version>
9+
<AssemblyVersion>1.5.1.0</AssemblyVersion>
10+
<FileVersion>1.5.1.0</FileVersion>
11+
<Version>1.5.1.0</Version>
1212
<LangVersion>default</LangVersion>
1313
</PropertyGroup>
1414

1515
<ItemGroup>
1616
<PackageReference Include="Dapper" Version="2.1.66" />
1717
<PackageReference Include="Dapper.Contrib" Version="2.0.78" />
1818
<PackageReference Include="Dapper.Mapper" Version="2.0.0" />
19-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.8" />
20-
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.8" />
21-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
22-
<PackageReference Include="Scalar.AspNetCore" Version="2.7.2" />
19+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
20+
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.0" />
21+
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
22+
<PackageReference Include="Scalar.AspNetCore" Version="2.11.0" />
2323
<PackageReference Include="secntfy.nuget" Version="1.0.5" />
24-
<PackageReference Include="System.Net.Http" Version="4.3.4" />
25-
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
26-
<PackageReference Include="Websocket.Client" Version="5.2.0" />
24+
<PackageReference Include="Websocket.Client" Version="5.3.0" />
2725
</ItemGroup>
2826

2927
</Project>

0 commit comments

Comments
 (0)