1
Vote

BuildUp and InstantiateInstance throw exceptions up the wazoo

description

A ResolutionException is thrown and caught unnecessarily during BuildUp and InstantiateInstance.

We're seeing 20-50 exceptions thrown for every page navigation on a project. Simply handling the null case instead of relying on exceptions during non-exceptional flows will reduce debugging headaches and most likely improve performance.

Oh and, I gots the codez. Pull request to follow if no objections.


MicroIoc.ResolutionException occurred
_HResult=-2146233088
_message=Failed to Derive type for SomeApp.Namespace#navigationService
HResult=-2146233088
Message=Failed to Derive type for SomeApp.Namespace#navigationService
Source=MicroIoc
StackTrace:
   at MicroIoc.MicroIocContainer.ResolveCore(Type type, String key)
InnerException:

[...repeated]

comments

radityagumay wrote Oct 11, 2013 at 4:52 PM

I has some issue like that. How i can resolve these issue?