c# - Use dependency injection BuildUp after Server.Transfer in ASP.NET -


i have automated setup of dependency injection asp.net web forms application. use unity , have services build on page request using [dependency] attribute.

having solution unityhttpmodule the example works when using server.transfer() dependencies not build target page. lifecycle events are not executed again , seems there not more try use buildup on base page.

is there recommended way of handling this?

i had similar problem. try create injections using page factories.

http://weblogs.asp.net/ricardoperes/asp-net-web-forms-extensibility-handler-factories


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -