From 8833e759d6ed32a1eef46ac11430555d92becb65 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Apr 2022 09:53:34 -0700 Subject: [PATCH 1/6] Create README.md --- docs/demos/dotnet-maui/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/demos/dotnet-maui/README.md diff --git a/docs/demos/dotnet-maui/README.md b/docs/demos/dotnet-maui/README.md new file mode 100644 index 0000000..afeab33 --- /dev/null +++ b/docs/demos/dotnet-maui/README.md @@ -0,0 +1 @@ +## .NET MAUI Configuration From 86904f52dfc62bef4632d084828fe8ab69fdac55 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Apr 2022 11:30:19 -0700 Subject: [PATCH 2/6] Update README.md --- docs/demos/dotnet-maui/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/demos/dotnet-maui/README.md b/docs/demos/dotnet-maui/README.md index afeab33..4cb5d1d 100644 --- a/docs/demos/dotnet-maui/README.md +++ b/docs/demos/dotnet-maui/README.md @@ -1 +1,13 @@ ## .NET MAUI Configuration + +The .NET MAUI apps are setup to run locally against the APIs running in Docker. If you are unable to deploy locally, you can use these pre-deployed services: + +Open `src/Mobile/Config.cs` and enter + +```csharp +public static string BaseWeb = $"https://dotnetpodcasts.azurewebsites.net/"; +public static string APIUrl = $"https://podcastapica.delightfulocean-02c18c32.canadacentral.azurecontainerapps.io/v1/"; +public static string ListenTogetherUrl = $"https://dotnetpodcasts-listentogether-hub.azurewebsites.net/listentogether"; +``` + +Watch the .NET Conf 2021 demo of .NET MAUI here: https://youtu.be/gYQxBHjRNr0?t=3357 From 532042f0e21826057e5eee9aba8de03d67b51717 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Apr 2022 11:33:49 -0700 Subject: [PATCH 3/6] Create README.md --- docs/demos/blazor-hybrid/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/demos/blazor-hybrid/README.md diff --git a/docs/demos/blazor-hybrid/README.md b/docs/demos/blazor-hybrid/README.md new file mode 100644 index 0000000..9a10686 --- /dev/null +++ b/docs/demos/blazor-hybrid/README.md @@ -0,0 +1,11 @@ +### Blazor Hybrid + .NET MAUI Setup + +Open `src/MobileBlazor/mauiapp/MauiProgram.cs` and enter + +```csharp +public static string BaseWeb = $"https://dotnetpodcasts.azurewebsites.net/"; +public static string APIUrl = $"https://podcastapica.delightfulocean-02c18c32.canadacentral.azurecontainerapps.io/v1/"; +public static string ListenTogetherUrl = $"https://dotnetpodcasts-listentogether-hub.azurewebsites.net/listentogether"; +``` + +Watch the .NET Conf 2021 demo of Blaozry Hybrid & .NET MAUI here: https://youtu.be/gYQxBHjRNr0?t=3999 From b2854f07df6b43746400ffb0417c15b96fd588b9 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Apr 2022 11:36:13 -0700 Subject: [PATCH 4/6] Create READM.md --- docs/demos/aspnetcore-blazor/READM.md | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 docs/demos/aspnetcore-blazor/READM.md diff --git a/docs/demos/aspnetcore-blazor/READM.md b/docs/demos/aspnetcore-blazor/READM.md new file mode 100644 index 0000000..2cf5164 --- /dev/null +++ b/docs/demos/aspnetcore-blazor/READM.md @@ -0,0 +1,52 @@ +### Web (ASP.NET Core Razor & Blazor) + +The ASP.NET Core and Blaozr apps are setup to run locally against the APIs running in Docker. If you are unable to deploy locally, you can use these pre-deployed services: + +Open up ` src/Web/Server/appsettings.Development.json` and `src/Web/Client/wwwroot/appsettings.Development.json` enter this for both + +```json +"PodcastApi": { +"BaseAddress": "https://podcastapica.delightfulocean-02c18c32.canadacentral.azurecontainerapps.io" +}, +"ListenTogetherHub": "https://dotnetpodcasts-listentogether-hub.azurewebsites.net/listentogether" +``` +Watch the .NET Conf 2021 demo of .NET MAUI here: https://youtu.be/gYQxBHjRNr0?t=2699 + +### Demo Script Snippets + +```razor +
    + @foreach (var item in showSubscriptions) + { +
  • +

    @item.Title

    +

    @item.Author

    + +
  • + } +
+``` + +```razor + +``` + +```razor + + + + + + + + + +``` + +```razor + +``` + + From 98c8ccb48472ba3275585f1b29480dae2754b16f Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Apr 2022 11:36:41 -0700 Subject: [PATCH 5/6] Update README.md --- docs/demos/blazor-hybrid/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/demos/blazor-hybrid/README.md b/docs/demos/blazor-hybrid/README.md index 9a10686..f4607c6 100644 --- a/docs/demos/blazor-hybrid/README.md +++ b/docs/demos/blazor-hybrid/README.md @@ -1,5 +1,7 @@ ### Blazor Hybrid + .NET MAUI Setup +The .NET MAUI & Blazor Hybrid apps are setup to run locally against the APIs running in Docker. If you are unable to deploy locally, you can use these pre-deployed services: + Open `src/MobileBlazor/mauiapp/MauiProgram.cs` and enter ```csharp From 02243d5bc943b490a8d9de1aa41851c233617918 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Apr 2022 13:04:54 -0700 Subject: [PATCH 6/6] Rename READM.md to README.md --- docs/demos/aspnetcore-blazor/{READM.md => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/demos/aspnetcore-blazor/{READM.md => README.md} (100%) diff --git a/docs/demos/aspnetcore-blazor/READM.md b/docs/demos/aspnetcore-blazor/README.md similarity index 100% rename from docs/demos/aspnetcore-blazor/READM.md rename to docs/demos/aspnetcore-blazor/README.md