MIT License

项目介绍

microsoft/dotnet-podcasts 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 MIT License 许可证,目前获得 2.8k 个 Star、706 次 Fork。

仓库全名
microsoft/dotnet-podcasts
开源许可证
MIT License
Star 数
2.8k
Fork 数
706
未关闭 Issue
5

README 摘要

pagetype: sample description: ".NET reference application shown at .NET Conf 2021 & 2022 featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Power Apps, Playwright, Orleans, and more!" languages: csharp products: dotnet-core ef-core blazor orleans dotnet-maui azure-sql-database azure-storage azure-container-apps azure-container-registry azure-app-service-web playwright .NET Podcasts - Sample Application The…

完整内容见 GitHub 原始 README 或本页 。

常见问题

dotnet-podcasts 用什么语言开发?

主要使用 C# 编写,采用 MIT License 许可证,目前有 2.8k 个 Star。

dotnet-podcasts 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 dotnet-podcasts 的源码?

可以直接克隆仓库:git clone https://github.com/microsoft/dotnet-podcasts.git,默认分支为 main;安装与运行步骤见仓库 README。

dotnet-podcasts 最近还在维护吗?

仓库最近一次更新为 2024年5月3日,当前有 5 个未关闭 Issue;Star 数为 2.8k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
4258
价值分
1884
活跃状态
归档

语言占比

Bicep
C#
CSS
Dockerfile
HTML
JavaScript
PowerShell
TypeScript

README


page_type: sample description: “.NET reference application shown at .NET Conf 2021 & 2022 featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Power Apps, Playwright, Orleans, and more!” languages:

  • csharp products:
  • dotnet-core
  • ef-core
  • blazor
  • orleans
  • dotnet-maui
  • azure-sql-database
  • azure-storage
  • azure-container-apps
  • azure-container-registry
  • azure-app-service-web
  • playwright

.NET Podcasts - Sample Application

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 using Microsoft 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:

Additionally, we build an application using Microsoft 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 install Docker 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 on localhost:5003 and the SignalR Hub for listen together will run on localhost:5001.

Web, Mobile, & Desktop

The apps are configured to speak to localhost on the correct ports for each service. Simply open the Web 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 the Services solution and pick a service to run locally such as the Podcast.API.

Ensure that the following services are running in Docker, note that you only need the podcast.db and storage:

Configured Docker services

Local Deployment with Visual Studio

  1. First install Docker Desktop
  2. Clone the repository and navigate to the root directory in a terminal
  3. Open the solution NetPodcast.sln, set the start project to docker-compose and hit F5. To optimize debugging while running all services, please refer to Launch a subset of Compose services documentation.
  4. By default, the Podcast.Api’s swagger endpoint will be launched. Navigate to localhost: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 a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

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

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’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.

评论

暂无评论