Posted On: Jul 6, 2022
We are happy to announce the general availability of the new streamlined deployment experience for .NET applications. With sensible defaults for all deployment settings, you can now get your .NET application up and running in just one click, or with a few easy steps - without needing deep expertise in AWS. You will receive recommendations on the optimal compute for your application, giving you more confidence in your initial deployments. You can find it in the AWS Toolkit for Visual Studio using the new “Publish to AWS” wizard. It is also available via the .NET CLI by installing AWS Deploy Tool for .NET.
Key capabilities:
- Compute recommendations - get the compute recommendations and learn which AWS compute is best suited for your application.
- Dockerfile generation – the Dockerfile will be auto-generated if required by your chosen AWS compute.
- Auto packaging and deployment – your application will be built and packaged as required by the chosen AWS compute. The tooling will provision the necessary infrastructure and deploy your application using AWS CDK.
- Repeatable and shareable deployments – you can generate well organized and documented AWS CDK deployment projects and start modifying them to fit your specific use-case. Then version control them and share with your team for repeatable deployments.
- CI/CD integration – turn off the interactive features and use different deployment settings to push the same application bundle to different environments.
- Help with learning AWS CDK for .NET! – gradually learn the underlying AWS tools that it is built on, such as the AWS CDK.
You can deploy ASP.NET Core applications, long running services, scheduled tasks, and Web Assembly applications that are built with .NET Core 3.1 and above including the .NET 7 preview. At the time of this release, we support deployments to Amazon Elastic Container Service (Amazon ECS) using AWS Fargate compute engine, AWS App Runner, and AWS Elastic Beanstalk. We also support hosting Blazor WebAssembly applications in Amazon S3 using Amazon CloudFront as a content delivery network (CDN).
To get started in Visual Studio, install the latest version of the AWS Toolkit for Visual Studio from the Visual Studio Marketplace. The new wizard assumes a minimal experience-level with AWS services and offers convenient features, including one-click deployments. To learn more, visit our blog post and the Developer Guide for AWS toolkit for Visual Studio.
The same deployment functionality is also available in the .NET CLI via the AWS Deploy Tool for .NET. The AWS Toolkit for Visual Studio leverages it under the covers and exposes it in the IDE. To get started with the .NET CLI, install the tool using aws.deploy.tools Nuget package. To learn more, visit our documentation. Let us know what you think by submitting feature requests and issues on GitHub.