Skip to content

Commit 157ea8a

Browse files
committed
Update Aspire to 8.2
1 parent f79381f commit 157ea8a

File tree

19 files changed

+124
-175
lines changed

19 files changed

+124
-175
lines changed

ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Reference architecture for using **Event Driven .NET** abstractions and librarie
66
- [.NET Core SDK](https://dotnet.microsoft.com/download) (8.0 or greater)
77
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
88
- MongoDB Docker: `docker run --name mongo -d -p 27017:27017 -v /tmp/mongo/data:/data/db mongo`
9-
- [MongoDB Client](https://studio3t.com/download/):
10-
- Download Studio 3T only.
9+
- [MongoDB Client](https://robomongo.org/):
10+
- Download Studio 3T.
1111
- Add connection to localhost on port 27017.
1212
- [Dapr](https://dapr.io/) (Distributed Application Runtime)
1313
- [Install Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "8.0.300",
44
"rollForward": "latestPatch",
55
"allowPrerelease": true
66
}

reference-architecture/Common/Common.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<ItemGroup>
1010
<PackageReference Include="EventDriven.CQRS.Extensions" Version="2.0.0" />
11-
<PackageReference Include="EventDriven.EventBus.Abstractions" Version="1.4.0" />
12-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
11+
<PackageReference Include="EventDriven.EventBus.Abstractions" Version="1.5.0" />
12+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
1313
</ItemGroup>
1414

1515
</Project>

reference-architecture/CustomerService/CustomerService.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
1212
<PackageReference Include="EventDriven.CQRS.Abstractions" Version="2.1.0" />
1313
<PackageReference Include="EventDriven.CQRS.Extensions" Version="2.0.0" />
14-
<PackageReference Include="EventDriven.DependencyInjection.URF.Mongo" Version="1.2.2" />
15-
<PackageReference Include="EventDriven.EventBus.Dapr" Version="1.4.0" />
16-
<PackageReference Include="MongoDB.Driver" Version="2.23.1" />
17-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
18-
<PackageReference Include="URF.Core.Mongo" Version="7.0.0" />
14+
<PackageReference Include="EventDriven.DependencyInjection.URF.Mongo" Version="1.3.0" />
15+
<PackageReference Include="EventDriven.EventBus.Dapr" Version="1.6.0" />
16+
<PackageReference Include="MongoDB.Driver" Version="2.28.0" />
17+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.3" />
18+
<PackageReference Include="URF.Core.Mongo" Version="8.2.28" />
1919
</ItemGroup>
2020

2121
<ItemGroup>
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
{
22
"$schema": "http://json.schemastore.org/launchsettings.json",
33
"profiles": {
4-
"CustomerService": {
4+
"https": {
55
"commandName": "Project",
66
"dotnetRunMessages": true,
77
"launchBrowser": true,
88
"launchUrl": "swagger",
9-
"applicationUrl": "http://localhost:5656",
9+
"applicationUrl": "https://localhost:5656;http://localhost:5657",
1010
"environmentVariables": {
1111
"ASPNETCORE_ENVIRONMENT": "Development"
1212
}
13+
},
14+
"specs": {
15+
"commandName": "Project",
16+
"dotnetRunMessages": true,
17+
"launchBrowser": true,
18+
"launchUrl": "swagger",
19+
"applicationUrl": "https://localhost:5656;http://localhost:5657",
20+
"environmentVariables": {
21+
"ASPNETCORE_ENVIRONMENT": "Specs"
22+
}
1323
}
1424
}
1525
}

reference-architecture/OrderService/OrderService.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
1212
<PackageReference Include="EventDriven.CQRS.Abstractions" Version="2.1.0" />
1313
<PackageReference Include="EventDriven.CQRS.Extensions" Version="2.0.0" />
14-
<PackageReference Include="EventDriven.DependencyInjection.URF.Mongo" Version="1.2.2" />
15-
<PackageReference Include="EventDriven.EventBus.Dapr" Version="1.4.0" />
16-
<PackageReference Include="EventDriven.EventBus.EventCache.Mongo" Version="1.4.0" />
17-
<PackageReference Include="MongoDB.Driver" Version="2.23.1" />
18-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
19-
<PackageReference Include="URF.Core.Mongo" Version="7.0.0" />
14+
<PackageReference Include="EventDriven.DependencyInjection.URF.Mongo" Version="1.3.0" />
15+
<PackageReference Include="EventDriven.EventBus.Dapr" Version="1.6.0" />
16+
<PackageReference Include="EventDriven.EventBus.EventCache.Mongo" Version="1.6.0" />
17+
<PackageReference Include="MongoDB.Driver" Version="2.28.0" />
18+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.3" />
19+
<PackageReference Include="URF.Core.Mongo" Version="8.2.28" />
2020
</ItemGroup>
2121

2222
<ItemGroup>
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
{
22
"$schema": "http://json.schemastore.org/launchsettings.json",
33
"profiles": {
4-
"OrderService": {
4+
"https": {
55
"commandName": "Project",
66
"dotnetRunMessages": true,
77
"launchBrowser": true,
88
"launchUrl": "swagger",
9-
"applicationUrl": "http://localhost:5757",
9+
"applicationUrl": "https://localhost:5757;http://localhost:5758",
1010
"environmentVariables": {
1111
"ASPNETCORE_ENVIRONMENT": "Development"
1212
}
13+
},
14+
"specs": {
15+
"commandName": "Project",
16+
"dotnetRunMessages": true,
17+
"launchBrowser": true,
18+
"launchUrl": "swagger",
19+
"applicationUrl": "https://localhost:5757;http://localhost:5758",
20+
"environmentVariables": {
21+
"ASPNETCORE_ENVIRONMENT": "Specs"
22+
}
1323
}
1424
}
1525
}

reference-architecture/ReferenceArchitecture.AppHost/Program.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
var builder = DistributedApplication.CreateBuilder(args);
22

3-
// TODO: Uncomment if Dapr installed on Mac with Homebrew. See https://github.com/dotnet/aspire-samples/issues/67
4-
// builder.AddDapr(configure => configure.DaprPath = "/opt/homebrew/Cellar/dapr-cli/1.12.0/bin/dapr");
5-
6-
// To set Dapr log level pass dapr options to WithDaprSidecar method instead of string app id
7-
// var customerDaprOptions = new DaprSidecarOptions { AppId = "customer-service", LogLevel = "debug", EnableApiLogging = true };
8-
// var orderDaprOptions = new DaprSidecarOptions { AppId = "order-service", LogLevel = "debug", EnableApiLogging = true };
9-
103
var pubSub = builder.AddDaprPubSub("pubsub");
114

125
builder.AddProject<Projects.CustomerService>("customer-service")

reference-architecture/ReferenceArchitecture.AppHost/Properties/launchSettings.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
{
22
"$schema": "http://json.schemastore.org/launchsettings.json",
33
"profiles": {
4-
"http": {
4+
"https": {
55
"commandName": "Project",
66
"dotnetRunMessages": true,
77
"launchBrowser": true,
8-
"applicationUrl": "http://localhost:15240",
8+
"applicationUrl": "https://localhost:17098;http://localhost:15138",
99
"environmentVariables": {
1010
"ASPNETCORE_ENVIRONMENT": "Development",
1111
"DOTNET_ENVIRONMENT": "Development",
12-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16117"
12+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:16117",
13+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:16118"
1314
}
1415
},
1516
"specs": {
1617
"commandName": "Project",
1718
"dotnetRunMessages": true,
1819
"launchBrowser": true,
19-
"applicationUrl": "http://localhost:15240",
20+
"applicationUrl": "https://localhost:17098;http://localhost:15138",
2021
"environmentVariables": {
2122
"ASPNETCORE_ENVIRONMENT": "Specs",
2223
"DOTNET_ENVIRONMENT": "Specs",
23-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16117"
24+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:16117",
25+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:16118"
2426
}
2527
}
2628
}

reference-architecture/ReferenceArchitecture.AppHost/ReferenceArchitecture.AppHost.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Aspire.Hosting" Version="8.0.0-preview.2.23619.3" />
13-
<PackageReference Include="Aspire.Hosting.Dapr" Version="8.0.0-preview.2.23619.3" />
12+
<PackageReference Include="Aspire.Hosting.AppHost" Version="8.2.0" />
13+
<PackageReference Include="Aspire.Hosting.Dapr" Version="8.2.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)