Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Application_Start(object sender, EventArgs e)
- {
- AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
- Container = new UnityContainer();
- var section = (UnityConfigurationSection)ConfigurationManager.GetSection("unity");
- section.Configure(Container);
- Logger = Container.Resolve<ILogger>();
- Logger.Log("Application Start");
- }
Add Comment
Please, Sign In to add comment