Latest update to Microsoft’s cloud-ready stack for building distributed applications also adds the ability to launch Python-based services. Credit: Shutterstock Microsoft has released .NET Aspire 8.1, an update to the cloud-ready stack for building distributed applications that adds support for building container images from Dockerfiles, as well as support for launching Python-based services. NET Aspire 8.1 was unveiled on July 23. Developers can find instructions on installing .NET Aspire at learn.microsoft.com. For building containers, .NET Aspire 8.1 adds two extensions, AddDockerfile(...) and WithDockerfile(...), that allow .NET Aspire to automatically build a Dockerfile when the app host runs. This enables developers to quickly edit Dockerfiles and rely on .NET Aspire to build them without having to manually build these themselves, Microsoft said. In addition to Dockerfile build support, Microsoft has added the ability to provide build arguments and build secrets. For launching Python-based services, .NET Aspire 8.1 adds the AddPythonProject(...) extension method. Python support in .NET Aspire builds on the virtual environment (venv) tool. Launching Python projects from .NET Aspire also requires having the Aspire.Hosting.Python package installed. With .NET Aspire 8.1 release, Microsoft said it would not be shipping an update of the Visual Studio IDE that includes the new workload. Therefore, developers should use installation instructions to update and install .NET Aspire. .NET Aspire is provided through a collection of NuGet packages that handle cloud-native concerns. Other improvements featured in .NET Aspire 8.1: A new WaitForResourceAsync(...) API is intended to make it easier to write test cases that need to wait for resources to initialize. Also, support has been added for MSTest and NUnit in test project templates. Hosting packages for Keycloak and Elasticsearch components are featured in preview. A hosting package has been added for Garnet, an open-source cache-store system by Microsoft Research that is compatible with the RESP protocol. A hosting package has been added for the Milvus vector database. Support has been added for Azure WebPubSub. Related content feature Can Wasm replace containers? WebAssembly revolutionized browser apps, and promises to upend the server stack. How will it impact containers and Kubernetes? Six experts weigh in. By Bill Doerrfeld Nov 11, 2024 12 mins Containers Kubernetes Cloud Native feature How Kubecost shines a light on GPU efficiency GPU monitoring differs significantly from the monitoring of general CPU and memory resources, and requires a different approach. Here’s how Kubecost meets the challenge. By Kai Wombacher Oct 21, 2024 6 mins Containers Kubernetes Cloud Native analysis Secure Azure Kubernetes with Advanced Container Networking Services Microsoft bundles open source security and observability tools for its managed cloud-native platform. By Simon Bisson Oct 17, 2024 7 mins Containers Kubernetes Microsoft Azure analysis Microsoft’s Drasi: A lightweight approach to event-driven programming Microsoft’s open-source data change processing platform promises a whole new way of building and managing cloud applications that generate a constant flow of events. By Simon Bisson Oct 10, 2024 9 mins Kubernetes Cloud Native Development Libraries and Frameworks Resources Videos