How to publish aspnet.mvc site? [closed]

2019-09-04 04:45发布

问题:

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?