Skip to content

Commit b6a4061

Browse files
committed
updated nuget package and package frameworks supported.
1 parent 02b6241 commit b6a4061

File tree

10 files changed

+138
-86
lines changed

10 files changed

+138
-86
lines changed
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<IsPackable>true</IsPackable>
8-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
</PropertyGroup>
99

1010
<PropertyGroup>
1111
<PackageId>ThingsLibrary.Cache.Memory</PackageId>
@@ -19,12 +19,12 @@
1919
<Company>Starlight Software Co.</Company>
2020
</PropertyGroup>
2121

22-
<ItemGroup>
23-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.6" />
24-
</ItemGroup>
22+
<ItemGroup>
23+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.6" />
24+
</ItemGroup>
2525

26-
<ItemGroup>
27-
<ProjectReference Include="..\ThingsLibrary.Cache\ThingsLibrary.Cache.csproj" />
28-
</ItemGroup>
26+
<ItemGroup>
27+
<ProjectReference Include="..\ThingsLibrary.Cache\ThingsLibrary.Cache.csproj" />
28+
</ItemGroup>
2929

3030
</Project>
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<IsPackable>true</IsPackable>
8-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
</PropertyGroup>
99

1010
<PropertyGroup>
1111
<PackageId>ThingsLibrary.Cache</PackageId>
@@ -19,9 +19,9 @@
1919
<Company>Starlight Software Co.</Company>
2020
</PropertyGroup>
2121

22-
<ItemGroup>
23-
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.6" />
24-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.6" />
25-
</ItemGroup>
22+
<ItemGroup>
23+
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.6" />
24+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.6" />
25+
</ItemGroup>
2626

2727
</Project>

Database/src/ThingsLibrary.Database/DataContext.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
7878
foreach (var relationship in modelBuilder.Model.GetEntityTypes().SelectMany(e => e.GetForeignKeys()))
7979
{
8080
relationship.DeleteBehavior = DeleteBehavior.Restrict;
81-
}
82-
83-
this.SeedBaseData(modelBuilder);
81+
}
8482
}
8583

8684
/// <summary>

Entity/src/ThingsLibrary.Entity.Mongo/ThingsLibrary.Entity.Mongo.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
78
</PropertyGroup>
89

910
<PropertyGroup>

Entity/src/ThingsLibrary.Entity/ThingsLibrary.Entity.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<PropertyGroup>
44
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
78
</PropertyGroup>
89

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

3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
9-
<ItemGroup>
10-
<ProjectReference Include="..\..\..\Base\src\ThingsLibrary.Base\ThingsLibrary.csproj" />
11-
</ItemGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
</PropertyGroup>
9+
10+
<PropertyGroup>
11+
<PackageId>ThingsLibrary.Notification</PackageId>
12+
<PackageDescription>Things Library notification library definition.</PackageDescription>
13+
14+
<ProductName>ThingsLibrary.Notification</ProductName>
15+
<Title>Things Library Notification Base Library</Title>
16+
<Description>This is the notification base library with standarized interfaces.</Description>
17+
18+
<Authors>Mark Lanning</Authors>
19+
<Company>Starlight Software Co.</Company>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<ProjectReference Include="..\..\..\Base\src\ThingsLibrary.Base\ThingsLibrary.csproj" />
24+
</ItemGroup>
1225

1326
</Project>
Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
</PropertyGroup>
89

9-
<ItemGroup>
10-
<PackageReference Include="Azure.Communication.Email" Version="1.0.1" />
11-
<PackageReference Include="Azure.Communication.Sms" Version="1.0.1" />
12-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.6" />
13-
</ItemGroup>
10+
<PropertyGroup>
11+
<PackageId>ThingsLibrary.Notification.Azure</PackageId>
12+
<PackageDescription>Things Library Azure Communication Services wrapping library.</PackageDescription>
1413

15-
<ItemGroup>
16-
<ProjectReference Include="..\ThingsLibrary.Notification\ThingsLibrary.Notification.csproj" />
17-
</ItemGroup>
14+
<ProductName>ThingsLibrary.Notification.Azure</ProductName>
15+
<Title>Things Library ACS Wrapper Library</Title>
16+
<Description>This is the Azure Communication Services wrapper library.</Description>
17+
18+
<Authors>Mark Lanning</Authors>
19+
<Company>Starlight Software Co.</Company>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<PackageReference Include="Azure.Communication.Email" Version="1.0.1" />
24+
<PackageReference Include="Azure.Communication.Sms" Version="1.0.1" />
25+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.6" />
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<ProjectReference Include="..\ThingsLibrary.Notification\ThingsLibrary.Notification.csproj" />
30+
</ItemGroup>
1831

1932
</Project>

Services/src/ThingsLibrary.Services.AspNetCore/Extensions/CanvasHealthCheck.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static IApplicationBuilder UseCanvasHealthChecks(this IApplicationBuilder
6969
});
7070

7171
// STARTUP
72-
Log.Debug("= Ready: {AppHealthStartup}", "/health/startup");
72+
Log.Debug("= Startup: {AppHealthStartup}", "/health/startup");
7373
app.UseHealthChecks("/health/startup", new HealthCheckOptions
7474
{
7575
Predicate = x => x.Tags.Contains("startup"),
Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net9.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
</PropertyGroup>
89

9-
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.7" />
11-
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="9.0.6" />
12-
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.3.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.7" />
14-
15-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.6" />
16-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.6" />
17-
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.6" />
18-
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="9.0.6" />
19-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.6" />
20-
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.10.0" />
21-
</ItemGroup>
10+
<PropertyGroup>
11+
<PackageId>ThingsLibrary.Services.AspNetCore</PackageId>
12+
<PackageDescription>Things Library Services library.</PackageDescription>
2213

23-
<ItemGroup>
24-
<ProjectReference Include="..\ThingsLibrary.Services\ThingsLibrary.Services.csproj" />
25-
</ItemGroup>
14+
<ProductName>ThingsLibrary.Services.AspNetCore</ProductName>
15+
<Title>Things Library AspNetCore Services library.</Title>
16+
<Description>This is the standarized AspNetCore wrapping services library.</Description>
17+
18+
<Authors>Mark Lanning</Authors>
19+
<Company>Starlight Software Co.</Company>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.7" />
24+
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="9.0.6" />
25+
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.3.0" />
26+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.7" />
27+
28+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.6" />
29+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.6" />
30+
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.6" />
31+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.6" />
32+
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.10.0" />
33+
</ItemGroup>
34+
35+
<ItemGroup>
36+
<ProjectReference Include="..\ThingsLibrary.Services\ThingsLibrary.Services.csproj" />
37+
</ItemGroup>
2638

2739
</Project>
Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
</PropertyGroup>
89

9-
<ItemGroup>
10-
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.6" />
11-
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
12-
<PackageReference Include="Serilog.Settings.Configuration" Version="9.0.0" />
13-
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
14-
</ItemGroup>
10+
<PropertyGroup>
11+
<PackageId>ThingsLibrary.Services</PackageId>
12+
<PackageDescription>Things Library Services library.</PackageDescription>
1513

16-
<ItemGroup>
17-
<ProjectReference Include="..\..\..\..\Schemas\src\csharp\ThingsLibrary.Schema.Canvas\ThingsLibrary.Schema.Canvas.csproj" />
18-
<ProjectReference Include="..\..\..\..\Schemas\src\csharp\ThingsLibrary.Schema.Library\ThingsLibrary.Schema.Library.csproj" />
19-
<ProjectReference Include="..\..\..\Base\src\ThingsLibrary.Base\ThingsLibrary.csproj" />
20-
</ItemGroup>
14+
<ProductName>ThingsLibrary.Services</ProductName>
15+
<Title>Things Library Services library.</Title>
16+
<Description>This is the standarized wrapping services library.</Description>
17+
18+
<Authors>Mark Lanning</Authors>
19+
<Company>Starlight Software Co.</Company>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.6" />
24+
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="9.0.6" />
25+
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
26+
<PackageReference Include="Serilog.Settings.Configuration" Version="9.0.0" />
27+
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
28+
</ItemGroup>
29+
30+
<ItemGroup>
31+
<ProjectReference Include="..\..\..\..\Schemas\src\csharp\ThingsLibrary.Schema.Canvas\ThingsLibrary.Schema.Canvas.csproj" />
32+
<ProjectReference Include="..\..\..\..\Schemas\src\csharp\ThingsLibrary.Schema.Library\ThingsLibrary.Schema.Library.csproj" />
33+
<ProjectReference Include="..\..\..\Base\src\ThingsLibrary.Base\ThingsLibrary.csproj" />
34+
</ItemGroup>
2135

2236
</Project>

0 commit comments

Comments
 (0)