I haven’t tested this out yet but will soon. Does anyone know if the rendering of views (razor.RenderToHtml) writes files to the filesystem? We have some “legacy” systems that use RazorEngine which does write to the filesystem on view compilation/rendering and I’m evaluating changing them for ServiceStack’s implementation which I think both use the underlying Microsoft.AspNet.Webpages (or razor) and am not sure the answer here. The reason is that file I/O on Azure’s web app’s is extremely slow, the files always have to be cleaned up/etc (razorengine), etc.
RenderToHtml()
just executes the compiled Razor view, it doesn’t write to the file system.