protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RegisterGlobalFilters(GlobalFilters.Filters);
#if DEBUG
HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();
#endif
new RouteConfigurator().RegisterRoutes();
ModelBinders.Binders.DefaultBinder = new UCDArchModelBinder();
AutomapperConfig.Configure();
NHibernateSessionConfiguration.Mappings.UseFluentMappings(typeof(Answer).Assembly);
IWindsorContainer container = InitializeServiceLocator();
}