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.
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.
Right click on top of your project and then click publish
ThenchooseaFolderandgiveapathtothefolderorleavethedefaultandthenclickpublish
TopublishtoiisgotoC:\inetpub\wwwroot
createafolderandcopytheentirecontentsofthepublishOutputfoldertothisfolder
CreatesiteinIIS
Configurethesitename,thefolderpathyoucreatedinwwwroot,andtheportifyouneedtochange(rememberthatyoumayneedtoopenthefirewall),andthenclickok