问题
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:
- Packaging of the project: http://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx
- 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