PR: #14981 · Branch: sebros/polyglot-hosting → release/13.2
Issue: #14978
Reviewed by: GPT-5.3-Codex and Claude Opus 4.6
| Category | Count |
|---|
Based on PR #13978 - Testing conducted on January 21, 2026
This guide documents the requirements and setup instructions for running Aspire AppHosts in Python, Go, Java, and Rust using the new polyglot SDK support.
| Console.WriteLine("Don't do that!!!"); |
| import * as http from 'http'; | |
| import { EventHubProducerClient, EventHubConsumerClient } from '@azure/event-hubs'; | |
| import { ServiceBusClient } from '@azure/service-bus'; | |
| import { CosmosClient } from '@azure/cosmos'; | |
| import { BlobServiceClient, ContainerClient } from '@azure/storage-blob'; | |
| import { QueueServiceClient, QueueClient } from '@azure/storage-queue'; | |
| import { TableServiceClient } from '@azure/data-tables'; | |
| import * as tedious from 'tedious'; | |
| import Redis from 'ioredis'; | |
| import { SearchIndexClient, AzureKeyCredential } from '@azure/search-documents'; |
| From d1449e14b396fa7b29f55ff7e1e1f4ebe8f69ad3 Mon Sep 17 00:00:00 2001 | |
| From: Sebastien Ros <sebastienros@gmail.com> | |
| Date: Wed, 14 Aug 2024 11:09:27 -0700 | |
| Subject: [PATCH] Patch format files | |
| --- | |
| .editorconfig | 6 ++++-- | |
| .gitattributes | 4 ---- | |
| Directory.Packages.props | 1 + | |
| src/OrchardCore.Build/OrchardCore.Commons.props | 5 ++++- |
| using NCalc.Domain; | |
| using Parlot.Fluent; | |
| using System; | |
| using static Parlot.Fluent.Parsers; | |
| namespace NCalc | |
| { | |
| public class NCalcParser2 | |
| { | |
| public static readonly Parser<LogicalExpression> Expression; |
| using System.Collections.Generic; | |
| public class MyCollection<T> : IEnumerable<T> | |
| { | |
| private readonly List<T> _collection = new List<T>(); | |
| public IEnumerator<T> GetEnumerator() => _collection.GetEnumerator(); | |
| IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); | |
| } |
| PS C:\code\runtime> ./build.cmd libs -c Release -arch arm64 -os linux | |
| Determining projects to restore... | |
| Tool 'coverlet.console' (version '1.7.2') was restored. Available commands: coverlet | |
| Tool 'dotnet-reportgenerator-globaltool' (version '4.5.8') was restored. Available commands: reportgenerator | |
| Tool 'microsoft.dotnet.xharness.cli' (version '1.0.0-prerelease.21404.1') was restored. Available commands: xharness | |
| Tool 'microsoft.visualstudio.slngen.tool' (version '6.0.1') was restored. Available commands: slngen | |
| Restore was successful. | |
| All projects are up-to-date for restore. | |
| Determining projects to restore... |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Text.Json; | |
| namespace testfs | |
| { | |
| class Program | |
| { | |
| public static void Main(string[] args) |
| imports: | |
| - https://raw.githubusercontent.com/dotnet/crank/master/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml | |
| - https://raw.githubusercontent.com/dotnet/crank/master/src/Microsoft.Crank.Jobs.Wrk/wrk.yml | |
| jobs: | |
| sample: | |
| source: | |
| repository: https://github.com/SixLabors/ImageSharp.Web | |
| # branchOrCommit: master | |
| branchOrCommit: crank |