aspire-samples  by microsoft

Developer toolset samples for integrating distributed applications

Created 2 years ago
1,176 stars

Top 32.7% on SourcePulse

GitHubView on GitHub
Project Summary

<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> This repository offers sample applications for Microsoft Aspire, a developer-first toolset simplifying the integration of front-ends, APIs, containers, and databases into distributed applications. It targets developers building cloud-native applications by providing practical examples for orchestrating and connecting diverse services, reducing complexity and accelerating development.

How It Works

Samples illustrate Aspire's core concepts, centered on an "AppHost" (C# or TypeScript) that defines and orchestrates application components. These span JavaScript/TypeScript frontends (React, Vue, Angular, Svelte), backend APIs (Node.js, Python FastAPI, Go Gin, C#), and data stores (PostgreSQL, Redis, MongoDB, SQL Server). The AppHost manages service discovery, configuration, and deployment, often using Docker Compose.

Quick Start & Requirements

Setup is streamlined via a provided devcontainer configuration. Users can quickly start by cloning the repository and opening it in Visual Studio Code, then selecting "Reopen in Container," or by creating a GitHub Codespace. This pre-configures the development environment, including necessary tools and dependencies, minimizing local setup friction.

Highlighted Details

  • Polyglot Architecture: Seamless integration across C#, JavaScript, TypeScript, Python, and Go.
  • Comprehensive Scenarios: Covers frontend integration, backend services, database orchestration, cloud-native patterns (Azure Functions, event-driven), and AI integrations (OpenAI, RAG).
  • Deployment Flexibility: Supports local development ("Run only") and Docker Compose deployments.
  • Reference Application: Includes "eShop," a full-fledged e-commerce reference application.
  • Developer Experience: Emphasizes ease of use via devcontainer and Codespaces integration.

Maintenance & Community

Contributions are welcomed for official Aspire features. The repository adheres to the Contributor Covenant Code of Conduct and is associated with the .NET Foundation. Specific community channels or direct contributor/sponsorship details are not explicitly listed in the provided README text.

Licensing & Compatibility

The samples are licensed under the permissive MIT license. While the MIT license generally allows broad compatibility, the repository includes a strong disclaimer advising against using these samples for production or commercial use, as they are intended solely for illustrating concepts.

Limitations & Caveats

The provided samples are explicitly stated as illustrative and not production-ready. Users are cautioned against relying on them for commercial or operational deployment, as they may not represent best practices for security or stability in production environments.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
66
Issues (30d)
2
Star History
9 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Travis Fischer Travis Fischer(Founder of Agentic), and
10 more.

ToolJet by ToolJet

0.1%
38k
Low-code platform for building internal tools
Created 5 years ago
Updated 21 hours ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), and
27 more.

open-webui by open-webui

0.6%
138k
Self-hosted AI platform for local LLM deployment
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.