How to publish site made in Visual Studio?

5

I created a site in MVC in Visual Studio 2017.

I want to know how to generate the necessary files for the website to work and in what folder I should include them.

    
asked by anonymous 20.06.2017 / 02:46

1 answer

4

To publish a site in Visual studio 2017

Right click on top of your project and then click publish

ThenchooseaFolderandgiveapathtothefolderorleavethedefaultandthenclickpublish

TopublishtoiisgotoC:\inetpub\wwwrootcreateafolderandcopytheentirecontentsofthepublishOutputfoldertothisfolder

CreatesiteinIIS

Configurethesitename,thefolderpathyoucreatedinwwwroot,andtheportifyouneedtochange(rememberthatyoumayneedtoopenthefirewall),andthenclickok

    
20.06.2017 / 03:07