Posted on: 9/3/2014 8:52:05 PM | Views : 438

hi for all , i want create plugins system in my project
i want run file.txt , like c# code!
example in C# (use visual studio):
var lines = System.IO.File.ReadAllLines(HttpContext.Current.Server.MapPath("/plugins/" + PluginName + "/plugin.txt"));StringToCsharp stc = new StringToCsharp(lines);stc.run("ns_" + PluginName,"cl_" + PluginName,"mtd_" + PluginName); and in file.txt(without visual studio - user add this? after upload my project on windows server host):
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Net; namespace ns_PluginName { public class cl_PluginName { public static string mtd_PluginName() { GetLastUserAction(); } public static string GetLastUserAction() ...

Go to the complete details ...