I have to publish my asp.net mvc site to the customer server. Which files should I publish to avoid to distribute the project source code?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Have you tried a right-click on your project an build a deployment package? VS will pack all files you need. And for the Client server use msdeploy to publish
And next time use the search cause you will find lots of posts about this:
Best way to deploy a VS-2008 web project
How to deploy my asp.net project in IIS?
Is it possible to deploy asp.net mvc project on IIS server without installing of mvc?