Skip to content

Latest commit

 

History

History
106 lines (65 loc) · 4.63 KB

README.md

File metadata and controls

106 lines (65 loc) · 4.63 KB

#Individual

alt text alt text

Das Dashboard von Aspire war zunächst nicht aufrufbar - Protokol musste in Code Spaces von HTTP auf HTTPS umgestellt werden: alt text

Dann ist Aspire-Dashboard ladbar über Link in Debugging-Console: alt text

Bei Zertifikatsfehlern (Code Spaces Github) - folgende Befehle im Terminal auf dem Codespace ausführen: dotnet tool update -g linux-dev-certs dotnet linux-dev-certs install siehe: https://learn.microsoft.com/de-de/aspnet/core/security/enforcing-ssl?view=aspnetcore-8.0&tabs=visual-studio%2Clinux-ubuntu#trust-the-aspnet-core-https-development-certificate-on-windows-and-macos

Auch interessant: dotnet/aspire#2914

WeatherApp auf spezifischem Port dotnet/aspire#3702

var weatherApi = builder.AddProject<Projects.AspireJavaScript_MinimalApi>("weatherapi") .WithHttpEndpoint(name: "weatherapi", port: 9999, isProxied: false) .WithExternalHttpEndpoints();

Sieht so aus alt text https://??.app.github.dev/weatherforecast Portprotokoll in Github Codespace Port Bereich: http

Swagger für WetterAPI https://??.app.github.dev/swagger/index.html alt text

@meneasysoft ➜ .../aspire-samples/samples/AspireWithJavaScript/AspireJavaScript.Vue (main) $ npm run build

https://??.app.github.dev/

Vue: https://??.app.github.dev/main.js

Minimal-API-Swagger

https://??.app.github.dev/swagger/index.html

AppHost dotnet workload restore [/workspaces/aspire-samples/samples/AspireWithJavaScript/AspireJavaScript.AppHost/AspireJavaScript.AppHost.csproj]

Via Code Space Console

dotnet run --project samples/AspireWithJavaScript/AspireJavaScript.MinimalApi/AspireJavaScript.MinimalApi.csproj

URL https://??.app.github.dev/weatherforecast

.NET Aspire Samples

CI (main)

Samples for .NET Aspire.

.NET Aspire is a stack for building resilient, observable, cloud-native apps with .NET.

Official Samples

Official samples hosted in this repo can be accessed via the Samples browser.

Sample highlights include:

eShop

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

.NET Aspire Links

License

.NET (including the aspire-samples repo) is licensed under the MIT 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 ASP.NET Core security topics for more information on security concerns related to hosting ASP.NET Core applications.

Contributing

We welcome contributions to this repository of samples related to official .NET Aspire hosting and components pieces (i.e. those pieces who's code lives in the Aspire repo and that ship from the Aspire NuGet account). It's generally a good idea to log 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 the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.