public ActionResult Index() { string[] pluginFiles = Directory.GetFiles(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Plugins"), "*.dll"); List <Plugin> plugins = _pluginServices.GetPluginsInFolder(Server.MapPath("~/Plugins")); return(View(plugins)); }