开发者

how to load webapplication on server

I have made a web app开发者_运维知识库lication using Visual studio 2008. till now it was running on my local host..

Now i want to load it onto the server so that it can run on my company server.

How do i do that..??

Thanks


In visual studio:

  1. Under the Build menu, select Publish
  2. In the publish dialog, select a location to publish your application to ex: \\server\c$\inetpub\wwwroot
  3. Set your publish options. I reccomend using the "Only files needed to run this application" setting
  4. Click the Publish button

You will have to mark your deployment directory as an application in IIS for IIS to run your code. See this MSDN article for details on how to do this.


You just need to copy it into the IIS directory on that server, usually c:\inetpub\wwwroot. Make sure you have asp.net installed.


You can use the project menu and copy it to a remote server (specifically the machine that will host this project, in addition a web server). Or you can just go to the remote machine, add a new site and store the .aspx pages and all related images on the web servers inetpub\wwwroot folder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜