Skip to content

Commit ebeb0ec

Browse files
committed
Upgrade to ASP.NET Core 2.2.0
1 parent c0922d5 commit ebeb0ec

9 files changed

Lines changed: 19 additions & 21 deletions

File tree

Demo.AspNetCore.PushNotifications.Services.Abstractions/Demo.AspNetCore.PushNotifications.Services.Abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Lib.Net.Http.WebPush" Version="1.5.0" />

Demo.AspNetCore.PushNotifications.Services.PushService/Demo.AspNetCore.PushNotifications.Services.PushService.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
<LangVersion>latest</LangVersion>
55
</PropertyGroup>
66
<ItemGroup>
77
<PackageReference Include="Lib.Net.Http.WebPush" Version="1.5.0" />
8-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.1.0" />
9-
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />
10-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.1.0" />
11-
<PackageReference Include="Microsoft.Extensions.Options" Version="2.1.0" />
8+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.2.0" />
9+
<PackageReference Include="Microsoft.Extensions.Http" Version="2.2.0" />
10+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.2.0" />
11+
<PackageReference Include="Microsoft.Extensions.Options" Version="2.2.0" />
1212
</ItemGroup>
1313
<ItemGroup>
1414
<ProjectReference Include="..\Demo.AspNetCore.PushNotifications.Services.Abstractions\Demo.AspNetCore.PushNotifications.Services.Abstractions.csproj" />

Demo.AspNetCore.PushNotifications.Services.Sqlite/Demo.AspNetCore.PushNotifications.Services.Sqlite.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Lib.Net.Http.WebPush" Version="1.5.0" />
7-
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.1.0" />
8-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.0" />
7+
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.0" />
99
</ItemGroup>
1010
<ItemGroup>
1111
<ProjectReference Include="..\Demo.AspNetCore.PushNotifications.Services.Abstractions\Demo.AspNetCore.PushNotifications.Services.Abstractions.csproj" />

Demo.AspNetCore.PushNotifications.Services/Demo.AspNetCore.PushNotifications.Services.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.1.0" />
7-
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.1.0" />
8-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.1.0" />
6+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />
7+
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
8+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.2.0" />
99
</ItemGroup>
1010
<ItemGroup>
1111
<ProjectReference Include="..\Demo.AspNetCore.PushNotifications.Services.Abstractions\Demo.AspNetCore.PushNotifications.Services.Abstractions.csproj" />

Demo.AspNetCore.PushNotifications/Demo.AspNetCore.PushNotifications.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Lib.Net.Http.WebPush" Version="1.5.0" />
7-
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0" />
7+
<PackageReference Include="Microsoft.AspNetCore.App" />
88
</ItemGroup>
99
<ItemGroup>
1010
<ProjectReference Include="..\Demo.AspNetCore.PushNotifications.Services.Abstractions\Demo.AspNetCore.PushNotifications.Services.Abstractions.csproj" />

Demo.AspNetCore.PushNotifications/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ public class Program
77
{
88
public static void Main(string[] args)
99
{
10-
CreateWebHostBuilder(args)
11-
.Build()
12-
.Run();
10+
CreateWebHostBuilder(args).Build().Run();
1311
}
1412

1513
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>

Demo.AspNetCore.PushNotifications/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void ConfigureServices(IServiceCollection services)
3232
{
3333
options.SerializerSettings.Converters.Add(new StringEnumConverter());
3434
})
35-
.SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
35+
.SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
3636
}
3737

3838
public void Configure(IApplicationBuilder app, IHostingEnvironment env)

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 - 2018 Tomasz Pęczek
3+
Copyright (c) 2017 - 2019 Tomasz Pęczek
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ My blog and open source projects are result of my passion for software developme
1515

1616
## Copyright and License
1717

18-
Copyright © 2017 - 2018 Tomasz Pęczek
18+
Copyright © 2017 - 2019 Tomasz Pęczek
1919

2020
Licensed under the [MIT License](https://github.com/tpeczek/Demo.AspNetCore.PushNotifications/blob/master/LICENSE.md)

0 commit comments

Comments
 (0)