[英]How to publish my visual studio 2013 C# .NET MVC Website to Azure?
I have created a project using C#.NET MVC 4.0 and I want to publish the project (website) to my azure account... I cannot see any way of publishing my project to my windows azure? 我已经使用C#.NET MVC 4.0创建了一个项目,并且想要将该项目(网站)发布到我的Azure帐户...我看不到任何将项目发布到Windows Azure的方法吗? I have followed the Cloud service set up guide only to be utterly confused at how I link it up to my existing project?
我一直遵循Cloud Service设置指南,只是对如何将其链接到现有项目感到困惑。
Any help? 有什么帮助吗?
So overview is, I have a project (MVC web application) and I just want to publish it to azure so that it works like a website others can view. 因此,概述是,我有一个项目(MVC Web应用程序),我只想将其发布为天蓝色,以便它像其他人可以查看的网站一样工作。
我会尝试右键单击“项目Project Explorer
部分中的Project Explorer
然后按照“ Publish
或“ Deploy
查找内容。
One of the easiest ways of getting your MVC project "out there" is to go to the Azure portal, and create a new "Web Site". 使MVC项目“移出”最简单的方法之一就是转到Azure门户,并创建一个新的“网站”。 The difference between Azure Websites and Azure Cloud Services are answered in other questions here on Stack.
堆栈上的其他问题回答了Azure网站和Azure云服务之间的区别。 Here is how you can do it with Azure Websites:
使用Azure网站的方法如下:
Another option is to deploy directly from sourcecontrol eg. 另一个选择是直接从sourcecontrol部署,例如。 GitHub.
GitHub上。 Follow the wizard in the Azure portal.
按照Azure门户中的向导进行操作。 In the website dashboard, hit the link "Set up deployment from source control".
在网站仪表板中,单击链接“从源代码管理设置部署”。
是的,转到azure门户-创建网站并使其处于启动模式,然后进入Visual Studio选择发布-从azure网站导入-只需输入您的凭据,VS就会自动获取设置并显示我们创建的网站-只需从列表中选择即可。就是这样-无需明确下载发布配置文件。
This video series the last part explains really well how to deploy to Azure, with all the small details involved. 该视频系列的最后一部分非常好地解释了如何部署到Azure,并涉及了所有小细节。
Series: 系列:
http://www.pluralsight.com/courses/mvc4-building http://www.pluralsight.com/courses/mvc4-building
Direct link to relevant vid: 直接链接到相关的vid:
http://www.pluralsight.com/training/player?author=scott-allen&name=mvc4-building-m10-deploy&mode=live&clip=0&course=mvc4-building http://www.pluralsight.com/training/player?author=scott-allen&name=mvc4-building-m10-deploy&mode=live&clip=0&course=mvc4-building
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.