Skip to content

Commit 3863ac9

Browse files
Copilotkamilbaczek
andcommitted
Use central package management and fix formatting
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
1 parent 6ad0888 commit 3863ac9

5 files changed

Lines changed: 22 additions & 8 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
3+
<PropertyGroup>
4+
<TargetFramework>net10.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup Label="Production">
6+
<PackageVersion Include="Aspire.Hosting.AppHost" Version="13.0.0" />
7+
<PackageVersion Include="Aspire.Hosting.PostgreSQL" Version="13.0.0" />
8+
<PackageVersion Include="Aspire.Hosting.RabbitMQ" Version="13.0.0" />
9+
</ItemGroup>
10+
</Project>

Chapter-4-applying-tactical-domain-driven-design/Fitnet.AppHost/Fitnet.AppHost.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
85
<IsAspireHost>true</IsAspireHost>
96
</PropertyGroup>
107

118
<ItemGroup>
12-
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.0.0" />
13-
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="9.0.0" />
14-
<PackageReference Include="Aspire.Hosting.RabbitMQ" Version="9.0.0" />
9+
<PackageReference Include="Aspire.Hosting.AppHost" />
10+
<PackageReference Include="Aspire.Hosting.PostgreSQL" />
11+
<PackageReference Include="Aspire.Hosting.RabbitMQ" />
1512
</ItemGroup>
1613

1714
<ItemGroup>

Chapter-4-applying-tactical-domain-driven-design/Fitnet.Contracts/Src/Fitnet.Contracts.Infrastructure/EventBus/EventBusModule.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ internal static IServiceCollection AddEventBus(this IServiceCollection services,
2727
var uri = options.Value?.Uri;
2828
var username = options.Value?.Username;
2929
var password = options.Value?.Password;
30-
3130
if (!string.IsNullOrEmpty(uri))
3231
{
3332
factoryConfigurator.Host(uri, h =>

Chapter-4-applying-tactical-domain-driven-design/Fitnet/Src/Passes/Fitnet.Passes.Api/Common/EventBus/EventBusModule.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ internal static IServiceCollection AddEventBus(this IServiceCollection services,
3030
var uri = options.Value?.Uri;
3131
var username = options.Value?.Username;
3232
var password = options.Value?.Password;
33-
3433
if (!string.IsNullOrEmpty(uri))
3534
{
3635
factoryConfigurator.Host(uri, h =>

0 commit comments

Comments
 (0)