我的网站使用的是 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/