Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniiiol/0f5c8f3cc8725d329e27e4c7bb6bb16f to your computer and use it in GitHub Desktop.
Save daniiiol/0f5c8f3cc8725d329e27e4c7bb6bb16f to your computer and use it in GitHub Desktop.
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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment