{"id":2507,"date":"2022-08-30T15:25:26","date_gmt":"2022-08-30T15:25:26","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/27\/create-any-file-with-razor-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:26","modified_gmt":"2022-08-30T15:25:26","slug":"create-any-file-with-razor-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/create-any-file-with-razor-collection-of-common-programming-errors\/","title":{"rendered":"Create any file with Razor-Collection of common programming errors"},"content":{"rendered":"<p>Yes you can, just take a look at the RazorEngine on codeplex. Razor is just a templating engine that could be used in any application including console, desktop, &#8230; and it is not tightly coupled coupled to an <code>HttpContext<\/code> like the WebForms <em>pseudo<\/em> view engine.<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-27 08:42:32. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Yes you can, just take a look at the RazorEngine on codeplex. Razor is just a templating engine that could be used in any application including console, desktop, &#8230; and it is not tightly coupled coupled to an HttpContext like the WebForms pseudo view engine. Originally posted 2014-01-27 08:42:32.<\/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-2507","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2507","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=2507"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2507\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}