On IIS 7 I have an application running which uses Entity Framework Web API.
When I copy and replace one of the .cshtml
(HTML and JS) files in the Views folder, the change is applied instantly.
But when I replace one of the controllers, changes take no effect.
I restarted the IIS using the GUI, via Run | IISReset
command and after this didn't work even restarted the computer. However, IIS still uses the old version of the controller.
How can I make IIS "recompile" the project and use the new controller version?
Update: Replacing the bin directory helped me out. Is there still another way to recompile directly on IIS?