
{"id":395,"date":"2009-12-14T13:24:01","date_gmt":"2009-12-14T18:24:01","guid":{"rendered":"http:\/\/www.ikriv.com\/blog\/?p=395"},"modified":"2009-12-14T13:24:01","modified_gmt":"2009-12-14T18:24:01","slug":"scripting-net-apps","status":"publish","type":"post","link":"https:\/\/ikriv.com\/blog\/?p=395","title":{"rendered":"Scripting .NET Apps"},"content":{"rendered":"<p>What are the options? This is what I found so far:<br \/>\n* Dynamically compile C# or VB.NET code into an assembly and execute it &#8211; I used this route before<br \/>\n* Implement Windows Scripting Host interfaces. Found a couple of links (see below), but no full implementation<br \/>\n* Use DLR<br \/>\n* Use a number of &#8220;Script.NET&#8221; like projects<\/p>\n<p>Scripting using WSH:<br \/>\nCodeProject: <a href=\"http:\/\/www.codeproject.com\/KB\/cs\/ZetaScriptingHost.aspx\">C# interface defintions<\/a><br \/>\n<a href=\"http:\/\/google.com\/search?q=site%3Addj.com+%22.NET+Scripting+Hosts%22\">DDJ article series on building Active Scripting Host in C#<\/a><br \/>\nIn particular, <a href=\"http:\/\/www.ddj.com\/cpp\/184406066\">part four<\/a> seems to be of interest.<\/p>\n<p>Unfortunately, there is no ready-to-use download, and it seems like a lot of work. Yes, I am a lazy guy and I have a tight deadline \ud83d\ude42<\/p>\n<p>UPD: found 8 year old VB.NET scripting sample <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms974577.aspx\">ScriptPad<\/a> from MSDN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are the options? This is what I found so far: * Dynamically compile C# or VB.NET code into an assembly and execute it &#8211; I used this route before <a href=\"https:\/\/ikriv.com\/blog\/?p=395\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[3,4],"tags":[],"class_list":["entry","author-ikriv","post-395","post","type-post","status-publish","format-standard","category-dotnet","category-hack"],"_links":{"self":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=395"}],"version-history":[{"count":0,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions"}],"wp:attachment":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}