Amazon announces a streamlined deployment experience for .NET applications

海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"We are happy to announce the general availability of a new deployment experience in both the Visual Studio and the .NET CLI. This follows the [preview announcement](https://aws.amazon.com/blogs/developer/reimagining-the-aws-net-deployment-experience/) from last year. The new deployment experience focuses on the type of application you want to deploy instead of individual AWS services by providing intelligent compute recommendations. You can find it in the AWS Toolkit for Visual Studio using the new “[**Publish to AWS**](https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/publish-experience.html)” wizard. It is also available via the .NET CLI by installing [**AWS Deploy Tool for .NET**](https://aws.github.io/aws-dotnet-deploy/). Together, they help easily transition from a prototyping phase in Visual Studio to automated deployments.\n\nOne of the major new features is [**deployment projects**](https://aws.amazon.com/blogs/developer/dotnet-deployment-projects/). This new concept lets you customize deployments inside Visual Studio or the CLI, including the UI, and share it with the rest of your team members. Deployment projects allow teams to come up with custom deployment scenarios and still provide their team with interactive or scriptable deployments.\n\n#### **What types of .NET applications are supported?**\nThe new deployment experience supports ASP.NET Core, Blazor WebAssembly, console applications (such as long lived message processing services), and tasks that need to run on a schedule.\n\nAt this time, the .NET Lambda functions are **not **supported. The existing Lambda deployment wizard and .NET CLI Amazon.Lambda.Tools are still our recommended deployment options for .NET Lambda applications.\n\n#### **Getting started in Visual Studio**\nTo get started in Visual Studio, install the latest version of the AWS Toolkit for Visual Studio from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.AWSToolkitforVisualStudio2022). Once the toolkit is installed and the AWS credentials are configured, you can right click in the Solution Explorer on the project to deploy by selecting the **Publish to AWS**… menu item.\n\n![image.png](https://dev-media.amazoncloud.cn/96a0e370169549e198656b0d544303a4_image.png)\n\nFrom there, the new wizard will navigate you to the AWS service that is best suited for your application. You can begin your deployment by simply clicking the **Publish** button. You can also customize the deployment by clicking the **Edit settings** button.\n\n![image.png](https://dev-media.amazoncloud.cn/d5efe20d503549b2b0db711c26b46579_image.png)\n\n#### **What about the old deployment experience?**\nThe old deployment experiences “Publish to AWS Elastic Beanstalk” and “Publish Container to AWS” are still in the the toolkit, but now they are marked as Legacy in the context menu. There are no plans to extend those wizards in the future, so it is recommended for toolkit users to migrate to the new “Publish to AWS” wizard. If there are missing features that are blocking you from migrating, please open an issue on [GitHub](https://github.com/aws/aws-toolkit-visual-studio).\n\n#### **Getting started from the .NET CLI**\nTo get started from the .NET CLI, you just need to run the following command to install the tooling from NuGet\n\nBash\n```\ndotnet tool install --global Aws.Deploy.Tools\n```\n\nOnce the tooling is installed, you can run the following command to start the deployment experience\n\nBash\n```\ndotnet aws deploy\n```\n\nThe deploy command will help you select the right AWS service to deploy to and help customize deployment settings. The experience between the CLI and Visual Studio is very similar, allowing you to deploy the same project from either environment.\n\nYou can also list your deployments with the```\ndotnet aws list-deploymentscommand\n```or delete a deployment usingdotnet```\naws delete-deployment.\n```Use the dotnet ```\naws --help```command to find more information about other available commands.\n\n#### **What’s next?**\nDuring the preview period, listening to our users about their experience with the new tooling has allowed us to improve it and add more features that were important for their day-to-day operations. We will continue to expand the feature scope to make sure that deploying .NET applications to AWS is as easy as possible. Please, upgrade to the latest version of the Visual Studio Toolkit or install the AWS Deploy Tool for .NET, try a few deployments, and let us know what you think by opening a GitHub issue.\n\nTo learn more, check out our new [Developer guide](https://aws.github.io/aws-dotnet-deploy/). The new .NET CLI tooling is open source and our [Github repo](https://github.com/aws/aws-dotnet-deploy) is a great place to provide feedback. Bug reports and feature requests welcome!","render":"<p>We are happy to announce the general availability of a new deployment experience in both the Visual Studio and the .NET CLI. This follows the <a href=\"https://aws.amazon.com/blogs/developer/reimagining-the-aws-net-deployment-experience/\" target=\"_blank\">preview announcement</a> from last year. The new deployment experience focuses on the type of application you want to deploy instead of individual AWS services by providing intelligent compute recommendations. You can find it in the AWS Toolkit for Visual Studio using the new “<a href=\"https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/publish-experience.html\" target=\"_blank\"><strong>Publish to AWS</strong></a>” wizard. It is also available via the .NET CLI by installing <a href=\"https://aws.github.io/aws-dotnet-deploy/\" target=\"_blank\"><strong>AWS Deploy Tool for .NET</strong></a>. Together, they help easily transition from a prototyping phase in Visual Studio to automated deployments.</p>\n<p>One of the major new features is <a href=\"https://aws.amazon.com/blogs/developer/dotnet-deployment-projects/\" target=\"_blank\"><strong>deployment projects</strong></a>. This new concept lets you customize deployments inside Visual Studio or the CLI, including the UI, and share it with the rest of your team members. Deployment projects allow teams to come up with custom deployment scenarios and still provide their team with interactive or scriptable deployments.</p>\n<h4><a id=\"What_types_of_NET_applications_are_supported_4\"></a><strong>What types of .NET applications are supported?</strong></h4>\n<p>The new deployment experience supports ASP.NET Core, Blazor WebAssembly, console applications (such as long lived message processing services), and tasks that need to run on a schedule.</p>\n<p>At this time, the .NET Lambda functions are **not **supported. The existing Lambda deployment wizard and .NET CLI Amazon.Lambda.Tools are still our recommended deployment options for .NET Lambda applications.</p>\n<h4><a id=\"Getting_started_in_Visual_Studio_9\"></a><strong>Getting started in Visual Studio</strong></h4>\n<p>To get started in Visual Studio, install the latest version of the AWS Toolkit for Visual Studio from the <a href=\"https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.AWSToolkitforVisualStudio2022\" target=\"_blank\">Visual Studio Marketplace</a>. Once the toolkit is installed and the AWS credentials are configured, you can right click in the Solution Explorer on the project to deploy by selecting the <strong>Publish to AWS</strong>… menu item.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/96a0e370169549e198656b0d544303a4_image.png\" alt=\"image.png\" /></p>\n<p>From there, the new wizard will navigate you to the AWS service that is best suited for your application. You can begin your deployment by simply clicking the <strong>Publish</strong> button. You can also customize the deployment by clicking the <strong>Edit settings</strong> button.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/d5efe20d503549b2b0db711c26b46579_image.png\" alt=\"image.png\" /></p>\n<h4><a id=\"What_about_the_old_deployment_experience_18\"></a><strong>What about the old deployment experience?</strong></h4>\n<p>The old deployment experiences “Publish to AWS Elastic Beanstalk” and “Publish Container to AWS” are still in the the toolkit, but now they are marked as Legacy in the context menu. There are no plans to extend those wizards in the future, so it is recommended for toolkit users to migrate to the new “Publish to AWS” wizard. If there are missing features that are blocking you from migrating, please open an issue on <a href=\"https://github.com/aws/aws-toolkit-visual-studio\" target=\"_blank\">GitHub</a>.</p>\n<h4><a id=\"Getting_started_from_the_NET_CLI_21\"></a><strong>Getting started from the .NET CLI</strong></h4>\n<p>To get started from the .NET CLI, you just need to run the following command to install the tooling from NuGet</p>\n<p>Bash</p>\n<pre><code class=\"lang-\">dotnet tool install --global Aws.Deploy.Tools\n</code></pre>\n<p>Once the tooling is installed, you can run the following command to start the deployment experience</p>\n<p>Bash</p>\n<pre><code class=\"lang-\">dotnet aws deploy\n</code></pre>\n<p>The deploy command will help you select the right AWS service to deploy to and help customize deployment settings. The experience between the CLI and Visual Studio is very similar, allowing you to deploy the same project from either environment.</p>\n<p>You can also list your deployments with the<code>dotnet aws list-deploymentscommand</code>or delete a deployment usingdotnet<code>aws delete-deployment.</code>Use the dotnet <code> aws --help</code>command to find more information about other available commands.</p>\n<h4><a id=\"Whats_next_45\"></a><strong>What’s next?</strong></h4>\n<p>During the preview period, listening to our users about their experience with the new tooling has allowed us to improve it and add more features that were important for their day-to-day operations. We will continue to expand the feature scope to make sure that deploying .NET applications to AWS is as easy as possible. Please, upgrade to the latest version of the Visual Studio Toolkit or install the AWS Deploy Tool for .NET, try a few deployments, and let us know what you think by opening a GitHub issue.</p>\n<p>To learn more, check out our new <a href=\"https://aws.github.io/aws-dotnet-deploy/\" target=\"_blank\">Developer guide</a>. The new .NET CLI tooling is open source and our <a href=\"https://github.com/aws/aws-dotnet-deploy\" target=\"_blank\">Github repo</a> is a great place to provide feedback. Bug reports and feature requests welcome!</p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭
contact-us