File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
src/Certify.Aspire/Certify.Aspire.AppHost Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1616 <ItemGroup >
1717 <ProjectReference Include =" ..\..\Certify.Server\Certify.Server.Hub.Api\Certify.Server.Hub.Api.csproj" />
1818 <ProjectReference Include =" ..\..\Certify.Server\Certify.Server.Core\Certify.Server.Core\Certify.Server.Core.csproj" />
19+ <ProjectReference Include =" ..\..\Certify.Server\Certify.Server.HubService\Certify.Server.HubService.csproj" />
1920 </ItemGroup >
2021
2122</Project >
Original file line number Diff line number Diff line change 11var builder = DistributedApplication . CreateBuilder ( args ) ;
22
3- builder . AddProject < Projects . Certify_Server_Hub_Api > ( "certifyserverhubapi" ) ;
3+ var useIndependentServices = false ;
44
5- builder . AddProject < Projects . Certify_Server_Core > ( "certifyservercore" ) ;
5+ if ( useIndependentServices )
6+ {
7+ builder . AddProject < Projects . Certify_Server_Hub_Api > ( "certifyserverhubapi" ) ;
8+
9+ builder . AddProject < Projects . Certify_Server_Core > ( "certifyservercore" ) ;
10+ }
11+ else
12+ {
13+ // use combined hubservice
14+ builder . AddProject < Projects . Certify_Server_HubService > ( "certify-server-hubservice" ) ;
15+ }
616
717builder . Build ( ) . Run ( ) ;
You can’t perform that action at this time.
0 commit comments