简体   繁体   中英

Why can't I see the Controllers folder within my deployed MVC web app directory?

I have recently purchased a shared web hosting package, provided by GoDaddy, and deployed my own MVC web application to it.

My problem is that, when on the control panel (Plesk) provided by the host, I can't find the Controllers folder that contains all the behind code.

Is there a reason for this folder being hidden?

I'm guessing it's because the files within this folder are being used by the server all the time and can't be accessed/changed incase it f--ks everything up... But I am not sure about it because I am quite new to web hosting.

Thanks for any assistance in advance.

All your cs files including controllers will be compiled into DLL files. Please open "bin" directory to find all your DLLs.

When you deploy, u ll not get controller, because it contains c# code which changed to dll available inside bin folder.

Not Only Controller, the other folders which are having C# code like "App_Start"...and etc...will be changed to dll and will be available inside bin folder.

In the case of Model/s, if you are using Entity framework, then, the .edmx file will be available inside the Model folder.

您的所有业务逻辑(包括控制器,模型和核心等)都将转换为dll,并通过程序集名称dll在bin(已发布或调试文件夹)中创建

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