The Current implementation of RazorPageActivator (and asp.net 2.0 - preview) won't allow us to use some kind of plugable ServiceProvider. since it's not easy to mimic the implementation of RazorPageActivator (two internal classes) and it's not a best practice to extract it to external code (sync issues). when Properies are resolved by IServiceResolver from HttpContext.
Yes it's possible to override the IServiceProviderFactory<> but i rather not. (as SimpleInjector does not suuport it and i agree with them).
Do you believe that it will be possible to create a RazorPageActivator with virtual method on ResolveService ?
Hello All,
The Current implementation of RazorPageActivator (and asp.net 2.0 - preview) won't allow us to use some kind of plugable ServiceProvider. since it's not easy to mimic the implementation of RazorPageActivator (two internal classes) and it's not a best practice to extract it to external code (sync issues). when Properies are resolved by IServiceResolver from HttpContext. Yes it's possible to override the IServiceProviderFactory<> but i rather not. (as SimpleInjector does not suuport it and i agree with them).
Do you believe that it will be possible to create a RazorPageActivator with virtual method on ResolveService ?
Thanks