Last active
June 10, 2016 08:21
-
-
Save daniiiol/f8c994c7ebb2c255f8e2b185c5499eaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void RegisterTypes(IWindsorContainer container) | |
{ | |
var rootPath = HostingEnvironment.MapPath("~/"); | |
var basePath = PathInfo.Combine(PathInfo.Create(rootPath), PathInfo.Create(ConfigurationManager.AppSettings["NitroNet.BasePath"])).ToString(); | |
new DefaultCastleWindsorModule(basePath).Configure(container); | |
new SitecoreCastleWindsorModule().Configure(container); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment