From 8ceca4212568c0d2c211a7afe199a983767e9cba Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Sun, 6 Nov 2022 10:43:57 -0800 Subject: [PATCH] Fix issues with pacakges and bump more things to .net 7 --- src/MobileBlazor/mauiapp/NetPodsMauiBlazor.csproj | 2 +- .../Podcasts/Podcast.MinimalAPI/Routes/EpisodesApi.cs | 2 +- .../Podcasts/Podcast.MinimalAPI/appsettings.Development.json | 2 +- src/Web/Client/Podcast.Client.csproj | 4 ++-- src/Web/Components/Podcast.Components.csproj | 4 ++-- src/Web/Pages/Podcast.Pages.csproj | 2 +- src/Web/Server/Podcast.Server.csproj | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/MobileBlazor/mauiapp/NetPodsMauiBlazor.csproj b/src/MobileBlazor/mauiapp/NetPodsMauiBlazor.csproj index c1822a6..5c144e9 100644 --- a/src/MobileBlazor/mauiapp/NetPodsMauiBlazor.csproj +++ b/src/MobileBlazor/mauiapp/NetPodsMauiBlazor.csproj @@ -48,7 +48,7 @@ - + diff --git a/src/Services/Podcasts/Podcast.MinimalAPI/Routes/EpisodesApi.cs b/src/Services/Podcasts/Podcast.MinimalAPI/Routes/EpisodesApi.cs index cf35ac7..4fc8194 100644 --- a/src/Services/Podcasts/Podcast.MinimalAPI/Routes/EpisodesApi.cs +++ b/src/Services/Podcasts/Podcast.MinimalAPI/Routes/EpisodesApi.cs @@ -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; } diff --git a/src/Services/Podcasts/Podcast.MinimalAPI/appsettings.Development.json b/src/Services/Podcasts/Podcast.MinimalAPI/appsettings.Development.json index e53b149..ebf4186 100644 --- a/src/Services/Podcasts/Podcast.MinimalAPI/appsettings.Development.json +++ b/src/Services/Podcasts/Podcast.MinimalAPI/appsettings.Development.json @@ -7,7 +7,7 @@ } }, "ConnectionStrings": { - "PodcastDb": "", + "PodcastDb": "Server=localhost, 5433;Database=Podcast;User Id=sa;Password=Pass@word", "FeedQueue": "UseDevelopmentStorage=true" }, "Authentication": { diff --git a/src/Web/Client/Podcast.Client.csproj b/src/Web/Client/Podcast.Client.csproj index 52aba73..5548242 100644 --- a/src/Web/Client/Podcast.Client.csproj +++ b/src/Web/Client/Podcast.Client.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/src/Web/Components/Podcast.Components.csproj b/src/Web/Components/Podcast.Components.csproj index afdd0a4..e3f7c79 100644 --- a/src/Web/Components/Podcast.Components.csproj +++ b/src/Web/Components/Podcast.Components.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/src/Web/Pages/Podcast.Pages.csproj b/src/Web/Pages/Podcast.Pages.csproj index 356a178..3ea9eb8 100644 --- a/src/Web/Pages/Podcast.Pages.csproj +++ b/src/Web/Pages/Podcast.Pages.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/Web/Server/Podcast.Server.csproj b/src/Web/Server/Podcast.Server.csproj index c14c17e..dbca990 100644 --- a/src/Web/Server/Podcast.Server.csproj +++ b/src/Web/Server/Podcast.Server.csproj @@ -10,7 +10,7 @@ - +