发布ASP.NET MVC网站 [英] publishing ASP.NET MVC website

查看:212
本文介绍了发布ASP.NET MVC网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的ASP.NET(MVC)应用程序..我要发布

My ASP.NET(MVC) application .. i need to publish it

我试着用的FileZilla 。我所做的是我出版了code到我的文件夹中的本地计算机,并上传在下面的网址中的所有文件,但给了服务器应用程序错误

i tried with FIlezilla. What i did was i published the code to my local machine in Folder and uploaded all the files in below URL but gave server application error

http://justpassapp.azurewebsites.net/admin/

这是FTP 网址

我试过FTP发布..Entered凭据,我发表了网站,但它说,您没有权限查看该目录或页面。

I tried FTP publish ..Entered Credentials and i published the site but it says-You do not have permission to view this directory or page.

任何帮助吗?

推荐答案

在Visual Studio中使用发布设置。通过使用Web平台安装程序提供给您的微软Web部署-package来压​​缩您的解决方案,并通过在Azure上的IIS导入压缩的解决方案。

Use the publishing settings in your Visual studio. Use the "Microsoft Web Deploy"-package provided to you by the Web Platform Installer to zip your solution and import the zipped solution by using the IIS on Azure.

看一看以下参考资料:


  1. 项目的包装:
    <一href=\"http://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx\">http://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx

  2. 的包导入
    <一href=\"http://www.iis.net/learn/publish/using-web-deploy/import-a-package-through-iis-manager\">http://www.iis.net/learn/publish/using-web-deploy/import-a-package-through-iis-manager

您还可以定义Web部署你的视觉工作室

You can also define a web deploy in your visual studio

这篇关于发布ASP.NET MVC网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆