amazon-web-services - 在aws上部署asp.net core 1.0网站

标签 amazon-web-services asp.net-core-mvc web-deployment asp.net-core-1.0

我的网站使用的是 asp.net core 1.0 和 angular 2。我在 amazon aws 上有一个帐户,其中有一个正在运行的 ec2 实例 (windows)。现在我想将这个网站部署到那个实例。 我的项目结构是这样的

website
.
...src
   .
   ..Bussinesslayer
   ..DataAccesslayer
   ..webapp   <------startup project
     .
     ..wwwroot

如何在aws上部署本站

最佳答案

我找到了一种发布到 aws 的方法

步骤

1. Select your startup project 
2. Goto Buid > Publish < Selected Startup project >
3. Create a profile and provide location to local drive ( C:/ or d:/)
4. After publish is successfull just copy the entire content of the folder and paste in aws wwwroot folder 

您的网站现已上线:)

关于amazon-web-services - 在aws上部署asp.net core 1.0网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38520464/

相关文章:

amazon-web-services - 无效的 base64 : "{"instances": [ {"in0":[863] ,"in1":[882]}]}"when testing Amazon SageMaker model endpoint using the AWS CLI

amazon-web-services - Cloudformation资源创建/删除超时时间

mysql - 创建 Elastic Beanstalk 环境时,有什么方法可以在创建时在 RDS MySQL 实例中创建触发器和存储过程吗?

c# - Asp.NET Core MVC 基于角色的授权

email - 使用 Microsoft graph 发送带有附件的电子邮件。微软代码示例不清楚

asp.net-core - 为什么在我的项目中 wwwroot 中不存在 bin 文件夹?

django - Heroku 服务器中 Procfile 和 Procfile.Windows 之间的区别

java - 在 Glassfish Web 部署后执行代码

amazon-web-services - AWS ApiGateway Lambda 代理访问授权方

visual-studio-2010 - 自动发布 Web 应用程序的最佳方法