简体   繁体   中英

FTP Publishing Visual Studio 2013

I'm going to host my ASP.NET MVC website in GoDaddy. It says that I have to publish it first before I can host it. I'm following this link ( http://www.c-sharpcorner.com/article/how-to-host-your-Asp-Net-mvc-website-on-godaddy-server/ ) for hosting my website. But when I check the content of my File Manager in my GoDaddy account, some folders of my project is not there (like the App_Data, App_Start, Models) Why is that? Thank you in advance.

I checked the guide you used to publish your website. On step 16 it said to check "Exclude files from App_Data folder". If you check this App_Data folder does not get published. If you want to publish files in app-data folder then uncheck it while publishing.

Secondly, when a website is published, a .dll file is created for each project, so all your classes in app_start and models folder are already included in that .dll. You can find the .dll file in bin folder by the name of your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM