Just started a new small project using Umbraco 4.6.1 in combintaion with Razor instead of xslt. It's very powerfull and I really think this is the future!
Developing the razor files is just a very slow process because all razor files seems te be cached in very agressive way. Changes I make to the razor file are not shown. The only solution is restart app pool to see the changes.
I have pretty much the same question/problem. Seems that when in VS2010, I need to stop and restart the project to get the changes to take affect. My guess is that this will change as newer releases are made (hopefully), otherwise this will be a painfully slow code/test/debug cycle though I am excited about the possibility of forgoing XSLT in favor of Razor.
No, I am running the project in VS2010, and using the built-in Cassini webserver, but I am editing the razor files thru the umbraco interface. I was running under a fullblown IIS 7.5, but found the recycling of the app-pool/website tedious - but I had the same problem that you are.
Razor files and caching
Just started a new small project using Umbraco 4.6.1 in combintaion with Razor instead of xslt. It's very powerfull and I really think this is the future!
Developing the razor files is just a very slow process because all razor files seems te be cached in very agressive way. Changes I make to the razor file are not shown. The only solution is restart app pool to see the changes.
What am I doing wrong?
I have pretty much the same question/problem. Seems that when in VS2010, I need to stop and restart the project to get the changes to take affect. My guess is that this will change as newer releases are made (hopefully), otherwise this will be a painfully slow code/test/debug cycle though I am excited about the possibility of forgoing XSLT in favor of Razor.
The cache is cleared when editing/saving in Umbraco,so editing in an external editor is not really an option.
No, I am running the project in VS2010, and using the built-in Cassini webserver, but I am editing the razor files thru the umbraco interface. I was running under a fullblown IIS 7.5, but found the recycling of the app-pool/website tedious - but I had the same problem that you are.
I'm in the same situation too, is they a way through this?
If you are using an external editor, try to edit & save the web.config (add a space and save). This should rebuild the cache.
is working on a reply...