publishing ASP.NET MVC website

♀尐吖头ヾ 提交于 2019-12-11 06:54:41

问题


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

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/

This is the FTP URL

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.

any help please?


回答1:


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.

Have a look at the following references:

  1. Packaging of the project: http://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx
  2. Importing of the package http://www.iis.net/learn/publish/using-web-deploy/import-a-package-through-iis-manager

You can also define a web deploy in your visual studio



来源:https://stackoverflow.com/questions/20234015/publishing-asp-net-mvc-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!