Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have updated my API Controller and made the changes to the live site. Can anyone help to why the site isn't picking up the updated controller?
I am using Umbraco Web API Controller to return some news but when i copy the new file over, the call isn't returning the updated version. What am i missing?
Thank you :)
Did you upload dll or just .cs file? Which folder did you use? App_Code or Controllers?
Just the CS file in the Controller folder.
Gary, you have to use /bin folder for compiled dlls or App_Code folder for .cs files.
These folders are reserved by .net for binaries and custom code
So if i update my site's Dll, will this pick up the change? Or do i need to change where i create / save my controllers?
it will pick up if you update dll or .cs file in app_code
depends on how did you deploy your files previous time
is it originally in dll?
I managed to update my sites Dll in the production environment and this seemed to then pick up the change.
Thank you for your help.
You are welcome, happy to help!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted