2
I have an application running c# with . net 4.5 on IIS 8. I’m editing a Controller (which is a .Cs file). However, I edited some things in this Controller and saw that these changes were not spreading.
I tried to edit the Action of this Controller, I tried to edit the parameters that this Controller passes to View by a variable "Viewbag".
None of the changes made effect, then I simply deleted everything I had in the Controller and still managed to access his actions.
So, is this some cache? Or what I found looking for in Google it "Compiles" my code.
How do I get him to compile again? Or how I make him compile with each change or compile alone with each access to the Controller?
Note: The application is running on an online server, not local. There I have access to IIS manager remotely.
You’re giving deploy every change in your project to IIS on the "online server"?
– Fernando Leal
First you should detail how your Deploy process is done on this "online server".
– Arthur Menezes
The server has a "Web Deploy", so every time I make any changes I must deploy this?
– StiveKnx
@Stiveknx, if you have not created any automated deployment mechanism, you should explicitly repeat the deployment process of your project to each new version you wish to send to "production" (online server)otherwise the effects of the change will remain only on your local project. (There is no magic. Hehe)
– Fernando Leal
Using IIS Express is no longer easy?
– Leonel Sanches da Silva