Shannon
9710e6f9e2
refactors where the container is created
2015-01-21 13:21:36 +11:00
Shannon
13a4d5c81c
WIP - have added LightInject as a fast and tiny IoC container that is embedded. Have updated all required SingleObjectResolverBase and non lazy ManyObjectResolverBase to use a Container implementation. Have updated the boot managers to use IoC to instantiate all their requirements. This is so much nicer now by using IoC to ctor all of the objects in these resolvers we can get ctor injection OOTB so no more singletons. Need to create resolver to support the lazy resolver with IoC next. Updated IContentFinders, IThumbnailProviders to use ctor injection.
2015-01-21 12:48:08 +11:00
Shannon
519b06fe30
Moves logging interface to Logging namespace called ILogger, creates a resolver for it, updates the boot process to ensure it exists first and anything during the boot process that is logging ensures that if it is not resolved that it logs elsewhere. Wraps LogHelper to use the ILogger based on the resolver. Updates all services that used LogHelper to have an ILogger injected into them. This is really only the start, there's a ton of places that use LogHelper (508) other places so we'll need to start looking at changing those over. All base classes will need to expose an Ilogger so people can use that.
2015-01-07 17:23:24 +11:00
Shannon
d0fc3ddba5
ensures applicationeventsresolver is disposed of in the correct place.
2014-03-12 18:11:05 +11:00
Morten Christensen
84ef216d57
Merge
2013-05-17 05:51:49 -02:00
Morten Christensen
ecfe51134d
Updating the internal standalone context, and adding one that is limited to the core assembly to limit dependencies.
2013-05-17 05:51:22 -02:00
Shannon Deminick
b6f52bf782
Changed the profiler over to use resolvers again. We no longer will call MiniProfiler directly.
...
Added an HtmlHelper extension which is used to render the profiler html output.
Added an HtmlHelper property to the new base page too.
2013-05-13 20:10:28 -10:00
Shannon Deminick
cb8d080f1d
Removes the abstraction on the profiler, no need for a resolver, it will work in unit tests and we can override the provider if needed.
...
Added better support for MVC profiling by using the built in ProfilingViewEngine and ProfilingActionFilter.
2013-05-12 19:05:49 -10:00
Shannon Deminick
67b57dea50
Changes profiler over to use a resolver and uses an interface for it. Changes core over to use a
...
LogProfiler and the web project to use a web profiler (MiniProfiler). Fixes medium trust implementation,
adds performance check for binding to begin request, changes Web profiler over to be decoupled from the
umbraco application objects (binds to events by itself)
2013-05-12 15:25:46 -10:00
NielsHartvig@UMBRACORATI.localdomain
980cd20e4c
Adjustments to profiling
2013-05-10 10:24:25 -02:00
NielsHartvig@UMBRACORATI.localdomain
f04916c9a9
Adds MiniProfiler support
2013-05-10 10:15:30 -02:00
Shannon Deminick
7fc4822bbe
Fixes merge issues. Fixes Fixes for cmsContentXml table since the Content type heirarchy tables are different in v6.
2013-04-25 19:26:06 -10:00
Shannon Deminick
65980e8c76
Fixes: #U4-1546 - Moves IApplicationEventHandler to Umbraco.Core and creates UmbracoApplicationBase object in the Core. Changes
...
signatures of IApplicationEventHandler methods to accept an UmbracoApplicationBase object instead of UmbracoApplication. This allows
us to execute all IApplicationEventHandler's outside of the web context. Added unit test to support booting the application outside of the
web context.
2013-01-29 09:45:12 +06:00