File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
3- <Sdk Name =" Aspire.AppHost.Sdk" Version =" 9.1 .0" />
3+ <Sdk Name =" Aspire.AppHost.Sdk" Version =" 9.2 .0" />
44
55 <PropertyGroup >
66 <OutputType >Exe</OutputType >
77 <TargetFramework >net9.0</TargetFramework >
88 <ImplicitUsings >enable</ImplicitUsings >
99 <Nullable >enable</Nullable >
10- <IsAspireHost >true</IsAspireHost >
1110 <UserSecretsId >881669bd-202c-44f1-a97c-04b18b065290</UserSecretsId >
1211 </PropertyGroup >
1312
1413 <ItemGroup >
15- <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 9.1 .0" />
16- <PackageReference Include =" Aspire.Hosting.SqlServer" Version =" 9.1 .0" />
17- <PackageReference Include =" CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects" Version =" 9.2.1 " />
14+ <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 9.2 .0" />
15+ <PackageReference Include =" Aspire.Hosting.SqlServer" Version =" 9.2 .0" />
16+ <PackageReference Include =" CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects" Version =" 9.3.0 " />
1817 </ItemGroup >
1918
2019 <ItemGroup >
Original file line number Diff line number Diff line change 1111 . WaitFor ( db ) ;
1212
1313builder . AddProject < Projects . WebApplication1 > ( "webapi" )
14+ . WithUrlForEndpoint ( "http" , url =>
15+ {
16+ url . DisplayText = "Forecast API (HTTP)" ;
17+ url . Url += "/weatherforecast" ;
18+ } )
19+ . WithUrlForEndpoint ( "https" , url =>
20+ {
21+ url . DisplayText = "Forecast API (HTTPS)" ;
22+ url . Url += "/weatherforecast" ;
23+ } )
1424 . WithReference ( db )
1525 . WaitFor ( db )
1626 . WaitForCompletion ( dbPrj ) ;
Original file line number Diff line number Diff line change 77 </PropertyGroup >
88
99 <ItemGroup >
10- <PackageReference Include =" Aspire.Microsoft.Data.SqlClient" Version =" 9.1 .0" />
10+ <PackageReference Include =" Aspire.Microsoft.Data.SqlClient" Version =" 9.2 .0" />
1111 <PackageReference Include =" Microsoft.Data.SqlClient" Version =" 6.0.1" />
1212 </ItemGroup >
1313
You can’t perform that action at this time.
0 commit comments