{"id":2523,"date":"2022-08-30T15:25:34","date_gmt":"2022-08-30T15:25:34","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/28\/razor-exception-compiling-template-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:34","modified_gmt":"2022-08-30T15:25:34","slug":"razor-exception-compiling-template-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/razor-exception-compiling-template-collection-of-common-programming-errors\/","title":{"rendered":"Razor exception compiling template-Collection of common programming errors"},"content":{"rendered":"<p>As you are using Postal in a non-web scenario, under the hood it is using our RazorEngine project. Currently, this means it is utilising the v2.1 release currently pushed on NuGet.<\/p>\n<p>The <code>@model<\/code> syntax isn&#8217;t supported natively in v2.1, but the upcoming v3 release includes this support, as well as other nice things like layouts, thread-safety etc. (https:\/\/github.com\/Antaris\/RazorEngine)<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-28 10:03:24. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>As you are using Postal in a non-web scenario, under the hood it is using our RazorEngine project. Currently, this means it is utilising the v2.1 release currently pushed on NuGet. The @model syntax isn&#8217;t supported natively in v2.1, but the upcoming v3 release includes this support, as well as other nice things like layouts, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2523","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2523"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2523\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}