Fix issues with pacakges and bump more things to .net 7

pull/172/head
James Montemagno 2022-11-06 10:43:57 -08:00
parent 20783005d8
commit 8ceca42125
7 changed files with 9 additions and 9 deletions

View File

@ -48,7 +48,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0-*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Lib\SharedMauiLib\SharedMauiLib.csproj" />

View File

@ -10,7 +10,7 @@ public static class EpisodesApi
{
public static RouteGroupBuilder MapEpisodesApi(this RouteGroupBuilder group)
{
group.MapPost("/{id}", GetEpisodeById).WithName("GetEpisodeById");
group.MapGet("/{id}", GetEpisodeById).WithName("GetEpisodeById");
return group;
}

View File

@ -7,7 +7,7 @@
}
},
"ConnectionStrings": {
"PodcastDb": "",
"PodcastDb": "Server=localhost, 5433;Database=Podcast;User Id=sa;Password=Pass@word",
"FeedQueue": "UseDevelopmentStorage=true"
},
"Authentication": {

View File

@ -9,8 +9,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.0-*" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.0-*" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0-*" />
</ItemGroup>

View File

@ -10,8 +10,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.0-*" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.0-*" />
</ItemGroup>
</Project>

View File

@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.0-*" />
</ItemGroup>
<ItemGroup>

View File

@ -10,7 +10,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="7.0.0-*" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.14.0" />
</ItemGroup>