Guest User

Untitled

a guest
Dec 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. private void Application_Start(object sender, EventArgs e)
  2. {
  3. AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
  4.  
  5.  
  6. Container = new UnityContainer();
  7.  
  8. var section = (UnityConfigurationSection)ConfigurationManager.GetSection("unity");
  9.  
  10. section.Configure(Container);
  11.  
  12. Logger = Container.Resolve<ILogger>();
  13. Logger.Log("Application Start");
  14. }
Add Comment
Please, Sign In to add comment