Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Razor messages in trace

$
0
0

Can anyone explain to me the following messages I get from my razor macros in the trace:

Checking the RazorDataTypeModelTypes cache to see if the GUID 67db8357-ef57-493e-91ac-936d305e0f2a has a Model...  GUID [id] does not have a DataTypeModel - falling back to ConvertPropertyValueByDataType.

 

Should I be concerned?  I noticed on one macro where it navigates the tree looking for the closest property to be set, this was taking quite a long time (nearly a second) and was wondering if I could be doing in a way for better performance.  FYI the code:

var metaDesc = Model.AncestorsOrSelf().Where("metaDescription.ToString() != string.Empty").Last().metaDescription;

where I look for the closest node that has the metaDescription tag set.

SO back to my original posting - does it matter that my properties do not have a DataTypeModel?  Shouild I be including a 'using' or inherits in my macro scripts to help performance?


Viewing all articles
Browse latest Browse all 72689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>