Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 6, 2024. It is now read-only.

.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!

License

NotificationsYou must be signed in to change notification settings

microsoft/dotnet-podcasts

Repository files navigation

page_typedescriptionlanguagesproducts
sample
.NET reference application shown at .NET Conf 2021 & 2022 featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Power Apps, Playwright, Orleans, and more!
csharp
dotnet-core
ef-core
blazor
orleans
dotnet-maui
azure-sql-database
azure-storage
azure-container-apps
azure-container-registry
azure-app-service-web
playwright

The .NET Podcast app is a sample application showcasing.NET,ASP.NET Core,Blazor,.NET MAUI,Azure Container Apps,Orleans,Playwright, and more.

In addition, we created an Approval App usingMicrosoft Power Apps to handle incoming podcast requests.

Logo

Application Architecture Diagram

.NET Podcast Application Diagram

Repositories

For this sample application, we build an app to listen to all your favorite .NET podcasts for all the ecosystems: Web, Android, iOS, macOS and Windows. You can find the different apps separated by folders in this repo:

  • Mobile & Desktop: Native .NET MAUI Application for iOS, Android, macOS, and Windows
  • Website: Blazor WebAssembly app and ASP.NET Core Razor Marketing website
  • Backend API: ASP.NET Core Web APIs & Minimal APIs, ingestion worker, and podcast update worker
  • Blazor Hybrid App: Sample hybrid application of .NET MAUI with Blazor.

Additionally, we build an application usingMicrosoft Power Apps to allow us to reject or accept incoming podcast requests:

Full Deployment with GitHub Actions

dotnet-podcasts repo is configured to deploy all services and websites automatically to Azure using GitHub Actions.Follow the detailed guidelines to setup GitHub Actions on your fork.

Local Deployment Quickstart

The easiest way to get started is to build and run the .NET Podcasts app service, database, and storage using Docker.

  1. First installDocker Desktop
  2. Clone the repository and navigate to the root directory in a terminal
  3. Run the following docker command (this may take some time to pull images, build, and deploy locally)
docker-compose up
  • For Apple arm64-based system:
docker-compose -f docker-compose.arm64.yml -f docker-compose.override.yml up

This will deploy and start all services required to run the web, mobile, and desktop apps. The Web API will run onlocalhost:5003 and the SignalR Hub for listen together will run onlocalhost:5001.

Web, Mobile, & Desktop

The apps are configured to speak tolocalhost on the correct ports for each service. Simply open theWeb solution or the.NET MAUI solution and run the app.

Ensure that you have the following services running in Docker (podcast.api, listentogether.hub, podcast.updater.worker, podcast.db, storage):

Configured Docker services

Backend Services

Open theServices solution and pick a service to run locally such as thePodcast.API.

Ensure that the following services are running in Docker, note that you only need thepodcast.db andstorage:

Configured Docker services

Local Deployment with Visual Studio

  1. First installDocker Desktop
  2. Clone the repository and navigate to the root directory in a terminal
  3. Open the solutionNetPodcast.sln, set the start project todocker-compose and hit F5. To optimize debugging while running all services, please refer toLaunch a subset of Compose services documentation.
  4. By default, the Podcast.Api's swagger endpoint will be launched. Navigate tolocalhost:5002 for the web application. If you see any errors, wait for a while and refresh the page.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to aContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant usthe rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to providea CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructionsprovided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted theMicrosoft Open Source Code of Conduct.For more information see theCode of Conduct FAQ orcontactopencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsofttrademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.Any use of third-party trademarks or logos are subject to those third-party's policies.

About

.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp