Suggestion: Eliminate HttpContext in Business Logic layer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
The BLL requires initialization of NopContext, which includes HttpContext dependencies. This prevent the BLL being called outside of a web request.

I came across this issue after extending TaskManager to run ad-hoc tasks with the intention of calling the Nop BLL from the task logic.

I would like to suggest that either NopContext be refactored to avoid dependencies on HttpContext, or the BLL be refactored to avoid NopContext dependencies.

Thanks for considering.

Gary
14 years ago
Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.