In a bid to spice up cloud-native improvement in .NET, Microsoft has introduced built-in container assist for the .NET SDK.
Container pictures now are a supported output sort of the Microsoft .NET SDK, the corporate mentioned in a bulletin on August 25. Builders can create containerized variations of functions by utilizing dotnet publish
. The SDK’s container pictures expertise debuts in a preview part for Linux-x64 picture deployments. Plans name for including assist for Home windows pictures and different architectures.
Additionally, assist has not but been applied for authentication, Microsoft mentioned, with this being a high-priority merchandise. Within the meantime, builders can push to their native Docker daemon after which use docker tag
and docker push
to push the generated picture to the deliberate vacation spot.
Containers, Microsoft mentioned, have change into one of many best methods to distribute and run a wide range of functions and providers within the cloud. The .NET Runtime already has been hardened for containers.
Launch candidates of the .NET 7 software program improvement platform will add new picture metadata, assist for pushing pictures to distant registries, and assist for Home windows pictures. .NET 7 is due as a manufacturing launch in November.
Copyright © 2022 IDG Communications, Inc.