GithubHelp home page GithubHelp logo

isabella232 / dotnet-podcasts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/dotnet-podcasts

0.0 0.0 0.0 14.85 MB

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

License: MIT License

JavaScript 1.03% Smalltalk 0.01% C# 49.17% PowerShell 0.20% CSS 16.86% HTML 30.21% Dockerfile 0.96% Bicep 1.56%

dotnet-podcasts's Introduction

page_type description languages products
sample
.NET 6 reference application shown at .NET Conf 2021 featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, and more!
csharp
dotnet-core
ef-core
blazor
dotnet-maui
azure-sql-database
azure-storage
azure-container-apps
azure-container-registry
azure-app-service-web

.NET Podcasts - Sample Application

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

You can browse a live running version of the .NET Podcasts app powered by ASP.NET Core and Blazor.

Logo

Application Architecture Diagram

.NET Podcast Application Diagram

Repositories

For this sample application, we build an app to listen 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.

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:5000 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.

dotnet-podcasts's People

Contributors

aborrego-plain avatar antborari avatar brunck avatar codeluggage avatar danroth27 avatar dependabot[bot] avatar eerhardt avatar ievangelist avatar ilmalte avatar jamesmontemagno avatar jonathanpeppers avatar jongalloway avatar joseasync avatar kurnakovv avatar loopedbard3 avatar mairaw avatar mertsch avatar microsoft-github-operations[bot] avatar microsoftopensource avatar miguebarrera avatar naricc avatar nishanil avatar pulimento avatar redth avatar robgibbens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.