Restoring controllers and models folders

Edouard

New member
Joined
Jul 18, 2023
Messages
1
Programming Experience
3-5
I deployed my ASP.Net core website with C# and all the CONTROLLERS and MODELS folders are converted into dll files, how to restore them?
In my deployed Folder, i just do have these :
1689668965181.png
 
Yes, that is expected behavior. You deploy compiled code. You don't deploy your source code.

You could use use a disassembler to try to get your original code, but there are no guarantees that you will get everything back like comments, original variable names, indentation, or file organization.

Why would you want to deploy your source code?
 
But in the bad old days, you would know which code was compiled into the bin directory, and which code needed to be deployed so that it would be compiled on the fly. But even back then, there was an option to tell Visual Studio to pre-compile the code so that you didn't have to deploy the source code.
 
Back
Top Bottom