Is RazorEngine thread safe?

Mar 19, 2012 at 1:58 PM

I found a following post on SO:

http://stackoverflow.com/questions/6444277/using-razorengine-to-parse-razor-templates-concurrently

 

The result of this discussion is: RazorEngine is not thread safe?

 

May you please confirm that the authors of this library  are aware that the code is not thread safe, (or write something undernith SO post, so people will see your point of view).

 

If the code is not thread safe, users should be notified about it.

Mar 19, 2012 at 2:44 PM

I just saw a comment by a current PM of this project - Matthew Abbott, sorry, I haven't seen this comment before on SO post, by default it is hidden (one needs to hit 'show more comments'). Basically it answers the question - devs are aware that the code is not thread safe, and are going to address a problem in a next release.

Aug 10, 2012 at 6:44 AM

Any news on a fix for this issue? I'm trying to use RazorEngine in a WebAPI project and only the first request works! All future requests try and use the template from the first request, and fail because the model is the wrong type.