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

License

NotificationsYou must be signed in to change notification settings

dotnet/aspire-samples

Repository files navigation

CI (main)

Samples forAspire.

Aspire is a developer-first toolset that streamlines integrating front-ends, APIs, containers, and databases with your apps.Learn more about Aspire here.

Samples in this repository

Sample NameLanguages UsedTechnologies UsedDescription
Aspire ShopC#ASP.NET Core, Redis, PostgreSQL, ContainersDistributed e-commerce sample app demonstrating Aspire integration.
Integrating a Node.js AppJavaScript, C#Node.jsExample of integrating aNode.js backend with Aspire.
Integrating Frontend AppsJavaScript, TypeScript, C#React, Vue, AngularDemonstrates integration of popular frontend frameworks such asReact,Vue, etc.
Integrating Python AppsPython, JavaScriptFastAPI, ReactExample of integrating aFastAPI backend and a JavaScript frontend with Aspire.
Integrating a Go AppGoGin, ContainersShows how to add aGo Gin app being built via Dockerfile to Aspire.
Integrating OrleansC#OrleansSample for distributed actor model integration withOrleans.
Persisting Data with Volume MountsC#Containers, Azure Storage, SQL ServerDemonstrates using volume mounts for data persistence in containers.
Working with Database ContainersC#, SQLPostgreSQL, MongoDB, SQL ServerShows how to initialize and use database containers.
Running EF Core MigrationsC#ASP.NET Core, Entity Framework CoreExample of runningEntity Framework Core migrations in Aspire apps.
Integrating Client AppsC#Windows Forms, WPFDemonstrates integration of Windows client apps usingWindows Forms orWPF.
Custom Metrics VisualizationC#Prometheus, GrafanaShows how to collect and visualize custom metrics usingGrafana.
Standalone Aspire dashboardC#Aspire DashboardDemonstrates using the standaloneAspire dashboard container to visualize OpenTelemetry from any application.
Custom Aspire hosting resourcesC#Aspire AppHostDemonstrates authoring custom hosting resources with Aspire.
HealthChecksUIC#ASP.NET Core, Containers, Docker ComposeDemonstrates resources with separate isolated endpoints for health checks.
Azure FunctionsC#ASP.NET Core, Blazor, Azure Functions, Azure Blob StorageShows how to integrateAzure Functions with Aspire.

eShop

eShop is a reference application implementing an eCommerce web site on a services-based architecture using Aspire.

Aspire Links

License

These samples are licensed under theMIT license.

Disclaimer

The sample applications provided in this repository are intended to illustrate individual concepts that may be beneficial in understanding the underlying technology and its potential uses. These samples may not illustrate best practices for production environments.

The code is not intended for operational deployment. Users should exercise caution and not rely on the samples as a foundation for any commercial or production use.

See the following links for more information on best practices and security considerations when hosting applications:

Contributing

We welcome contributions to this repository of samples related to official Aspire features and integrations (i.e. those pieces whose code lives in theAspire repo and that ship from theAspire NuGet account). It's generally a good idea tolog an issue first to discuss any idea for a sample with the team before sending a pull request.

Code of conduct

This project has adopted the code of conduct defined by theContributor Covenant to clarify expected behavior in our community. For more information, see the.NET Foundation Code of Conduct.

Using Devcontainer and Codespaces

This repository includes a devcontainer configuration to help you quickly set up a development environment using Visual Studio Code and GitHub Codespaces.

Setting up Devcontainer

  1. Install Visual Studio Code: If you haven't already, download and installVisual Studio Code.

  2. Install Dev Containers extension: Open Visual Studio Code and go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window. Search for "Dev Containers" and install the extension.

  3. Clone the repository: Clone this repository to your local machine.

  4. Open the repository in Visual Studio Code: Open Visual Studio Code and use theFile > Open Folder menu to open the folder where you cloned this repository.

  5. Reopen in Container: Once the repository is open, you should see a notification prompting you to reopen the folder in a container. Click the "Reopen in Container" button. If you don't see the notification, you can also use theRemote-Containers: Reopen in Container command from the Command Palette (Ctrl+Shift+P).

Using GitHub Codespaces

  1. Open the repository on GitHub: Navigate to this repository on GitHub.

  2. Create a Codespace: Click the "Code" button and then click the "Open with Codespaces" tab. Click the "New codespace" button to create a new Codespace.

  3. Wait for the Codespace to start: GitHub will set up a new Codespace with the devcontainer configuration defined in this repository. This may take a few minutes.

  4. Start coding: Once the Codespace is ready, you can start coding directly in your browser or open the Codespace in Visual Studio Code.

The devcontainer configuration includes all the necessary tools and dependencies to run the samples in this repository. You can start coding and running the samples without having to install anything else on your local machine.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors42


[8]ページ先頭

©2009-2026 Movatter.jp