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.
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 |
| Pipeline | Pipeline io_uring | Non-pipelined | Non-pipelined io_uring | |
|---|---|---|---|---|
| CPU | 99 | 50 (-50%) | 97 | 48 (-50%) |
| RPS | 2,592,670 | 2,878,222 (+11%) | 497,429 | 631,976 (+26%) |
| Working set | 79 | 81 | 79 | 81 |
| Latency (mean) | 1.28 | 0.98 | 1.07 | 1.47 |
| Latency (99th) | n/a | 7.57 | 14.8 | 14.67 |