public FubuMvcPackageFacility() { var applicationPath = GetApplicationPath(); if (applicationPath.IsNotEmpty()) { // Development mode Loader(new LinkedFolderPackageLoader(GetApplicationPath(), folder => folder)); // Production mode with zip files and standalone assemblies (e.g., Spark.Web.FubuMVC) Loader(new ZipFilePackageLoader()); var standaloneLoader = new StandaloneAssemblyPackageLoader(new StandaloneAssemblyFinder()); Loader(standaloneLoader); } Activator(new VirtualPathProviderActivator()); }
public FubuMvcPackageFacility() { var applicationPath = GetApplicationPath(); if (applicationPath.IsNotEmpty()) { // Development mode Loader(new LinkedFolderPackageLoader(GetApplicationPath(), folder => folder)); // Production mode with zip files and standalone assemblies (e.g., Spark.Web.FubuMVC) Loader(new ZipFilePackageLoader()); var standaloneLoader = new StandaloneAssemblyPackageLoader(new StandaloneAssemblyFinder()); Loader(standaloneLoader); } Activator(new VirtualPathProviderActivator()); }