John Smith
John Smith

Reputation: 57

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.

Upvotes: 2

Views: 3095

Answers (3)

Zahid Mustafa
Zahid Mustafa

Reputation: 185

All your Business logics including controllers, models and core etc are converted to dll and by Assembly name dll is created in bin (released or debug folder)

Upvotes: 0

Chandan Kumar
Chandan Kumar

Reputation: 4638

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.

Upvotes: 0

Sumantha Poojary
Sumantha Poojary

Reputation: 124

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

Upvotes: 4

Related Questions