Commit Graph

730 Commits (main)

Author SHA1 Message Date
Miguel Ángel Barrera 096fffcd52 first use native audio on full blazor app (android, windows) 2022-04-18 13:02:01 +02:00
Javi Pulido ddc14e59fc Change the name of some tasks, remove unnecessary condition 2022-04-18 12:09:49 +02:00
Javi Pulido 4ba049f5d0 Run Mobile CI only when targeting certain files/folders 2022-04-18 12:06:47 +02:00
James Montemagno 0dbb1682ce
Apply suggestions from code review
Co-authored-by: David Pine <david.pine@microsoft.com>
2022-04-15 09:12:02 -07:00
Eric Erhardt 3a22929dfb
Move workload install NuGet.config file so it doesn't overwrite repo's NuGet.config (#67)
Since #66 added a NuGet.config to the root of the repo, the GH action is clobbering this file. So when we run in CI we aren't using the same NuGet.config file as a "normal" dev would use.

Moving the NuGet.config file used by `workload install` to avoid this conflict.
2022-04-14 12:33:32 -05:00
James Montemagno cefa2600d8
Merge pull request #66 from eerhardt/FixCI-main
Fix CI build
2022-04-13 15:26:46 -07:00
Eric Erhardt 7a1e75dc0b Fix CI build
Ensure main's CI build only uses nuget.org feed. Since main represents the latest released version, only public packages on nuget.org should be needed.
2022-04-13 14:57:16 -05:00
James Montemagno e6bf41aa52 Add Orleans in backend and add some new APIs 2022-04-12 16:37:11 -07:00
James Montemagno 731f3e6eb0
Merge pull request #61 from microsoft/maui/perf
Maui/perf
2022-04-12 15:12:40 -07:00
James Montemagno 7f1376a1ff RC1 finalization 2022-04-12 15:10:18 -07:00
James Montemagno bffe1d16ad
Merge branch 'main' into maui/perf 2022-04-12 14:04:24 -07:00
James Montemagno 40dcfd153b
Merge pull request #60 from migueBarrera/feature/migrate-p14
Migrate to p14
2022-04-12 14:03:10 -07:00
Miguel Ángel Barrera b41761d640 migrate mobile blazor code to p14 2022-04-12 11:59:59 +02:00
Miguel Ángel Barrera 8983f2efcc migrate mobile code to p14 2022-04-12 11:57:55 +02:00
Eric Erhardt b49b7a6fc9
Use System.Text.Json instead of Newtonsoft. (#59)
This reduces the size of the app because Newtonsoft and all the code it roots (XML, System.Data.Common) can now be trimmed.

Porting #58 to main.
2022-04-01 15:55:32 -05:00
Eric Erhardt 1d148449ba
Merge pull request #58 from eerhardt/UseSystemTextJson
Use System.Text.Json instead of Newtonsoft.
2022-04-01 14:32:29 -05:00
Eric Erhardt feb1b3e67b Use System.Text.Json instead of Newtonsoft.
This reduces the size of the app because Newtonsoft and all the code it roots (XML, System.Data.Common) can now be trimmed.
2022-03-31 18:37:45 -05:00
James Montemagno 644e49c6ed Merge pull request #57 from eerhardt/MoveInitialHttpToBackground-main
Run GetShowsAsync in the background
2022-03-31 08:23:44 -05:00
James Montemagno 020305915e
Merge pull request #57 from eerhardt/MoveInitialHttpToBackground-main
Run GetShowsAsync in the background
2022-03-30 21:36:21 -07:00
Eric Erhardt 3efa4b3579 Move the background task logic into ShowsService, and only do it on first load. 2022-03-30 19:04:04 -05:00
Eric Erhardt 4ae65e91df Run GetShowsAsync in the background
This allows for faster startup because initializing and checking the cache doesn't block the UI thread.
2022-03-30 15:45:24 -05:00
James Montemagno 9ac4b5643b Fix xaml typos on apps 2022-03-29 11:29:40 -07:00
James Montemagno 3a4ccedea3 fix some crashers 2022-03-28 09:26:14 -07:00
James Montemagno 373d813710 Merge branch 'main' of https://github.com/microsoft/dotnet-podcasts into main 2022-03-25 16:13:18 -07:00
James Montemagno 5348e3e33b cleanup background colors 2022-03-25 16:12:37 -07:00
James Montemagno 00be1bb25b
Merge pull request #55 from eerhardt/Port51
[main] Fix iOS Publish by using a regular net6 components library
2022-03-25 09:49:06 -07:00
Eric Erhardt c220b9ef97 Fix MauiProgram AddMauiBlazorWebView for Preview14 2022-03-24 14:01:39 -05:00
James Montemagno 71c9b6d7ff fix sln files 2022-03-24 13:53:49 -05:00
Eric Erhardt 9e33e66f57 Same change for NetPodsMauiBlazor 2022-03-24 13:53:34 -05:00
Eric Erhardt 12d8e73d2c Fix iOS Publish by using a regular net6 components library 2022-03-24 13:53:21 -05:00
James Montemagno 459e4f0d1a
Merge pull request #51 from eerhardt/FixiOSPublish
Fix iOS Publish by using a regular net6 components library
2022-03-24 11:32:05 -07:00
James Montemagno 74a27e7f7a fix sln files 2022-03-24 13:01:21 -05:00
James Montemagno d5a05e8c80
Merge pull request #54 from microsoft/page-registration
Update registration of pages
2022-03-24 10:47:24 -07:00
Eric Erhardt e5d696f776 Same change for NetPodsMauiBlazor 2022-03-24 12:41:17 -05:00
James Montemagno 1d8fbbb62c Update registration of pages 2022-03-24 10:31:17 -07:00
Jonathan Peppers 6a1cbb018c Add quotes to mobile test trigger (#52)
* Update podcast-mobile.yml so that `maui/perf` has single quotes
2022-03-24 11:50:38 -05:00
Jonathan Peppers fc64694970
Add quotes to mobile test trigger (#52)
* Update podcast-mobile.yml so that `maui/perf` has single quotes
2022-03-24 11:48:20 -05:00
Eric Erhardt 1fed345cf6 Fix iOS Publish by using a regular net6 components library 2022-03-24 11:32:39 -05:00
Jonathan Peppers 985f9070a5
[mobile] install dotnet/maui/main on maui/perf (#48)
We have the maui/perf branch tracking dotnet/maui/main, so we need to actually install different versions of the workloads.

dotnet-podcasts/main is tracking the latest release, .NET MAUI Preview 14 at this time.

API changes that are in dotnet/maui/main:

* Remove `RegisterBlazorWebView()` call that no longer exists.
* Fix for:

    Resources\Styles\DefaultTheme.xaml(57,10): XamlC error : Position 57:10. Missing Value for Setter

Co-authored-by: Parker Bibus <parkerbibus@microsoft.com>
2022-03-22 15:52:31 -05:00
Parker Bibus b8b76978d8
[mobile] add builder.Services.AddTransient() for pages (#47)
Changes to Dependency Injection require you to register all pages now in .NET MAUI Preview 14.

Co-authored-by: Jonathan Peppers <jonathan.peppers@gmail.com>
2022-03-22 14:44:13 -05:00
Jonathan Peppers 1247f6a4e1
Setup Github actions for the Mobile project (#46)
Right now, we don't really have CI for the mobile app, so this at least verifies the project builds.

Other fixes for MAUI Preview 14:

* Use OperatingSystem.IsAndroidVersionAtLeast()
* Removed macos from xaml files.

Co-authored-by: Nathan Ricci <naricc@microsoft.com>
2022-03-22 14:27:55 -05:00
Parker Bibus 1a9e7160d5
Rename OSAppTheme to AppTheme. (#45)
OSAppTheme has been renamed to AppTheme in MAUI Preview 14, this ensures that the app builds.
2022-03-22 12:04:04 -05:00
James Montemagno 4381e5ab13
Merge pull request #44 from eerhardt/RemoveAddHttpClient
Remove Microsoft.Extensions.Http from dotnet-podcasts
2022-03-21 16:29:05 -07:00
Eric Erhardt ebc154874d Change static HttpClient to instance.
This allows for the BaseAddress to be changed by Configuration in the future.
2022-03-21 14:00:50 -05:00
Eric Erhardt e0849b2f94 Remove AddHttpClient 2022-03-18 16:29:12 -05:00
Jonathan Peppers 392453be5f Revert "Merge remote-tracking branch 'naricc/main'"
This reverts commit a4058c1bd2, reversing
changes made to 3854c8a55b.
2022-03-17 14:58:25 -05:00
Parker Bibus a4058c1bd2 Merge remote-tracking branch 'naricc/main' 2022-03-16 15:35:10 -07:00
James Montemagno 3854c8a55b
Update Package.appxmanifest 2022-03-11 12:18:20 -08:00
James Montemagno aae52717b1
Update App.xaml 2022-03-11 12:16:47 -08:00
James Montemagno e6997bca33
Delete global.json 2022-03-11 12:06:18 -08:00