We have an umbraco 8 instance with a custom class which inherits Ihttpmodule. This class sets some header settings for each http request.
We want to make these settings maintainable within umbraco. But if I try to read these settings from umbraco from within the class which inherits Ihttpmodule it does not work.
It will come up with the following error: No factory has been set.
I read something about the base class umbracomodule, which ensures the initialization of the umbraco context. Maybe I can use this, but I am not sure how to use this one.
Ihttpmodule not able to access umbraco context
Hello,
We have an umbraco 8 instance with a custom class which inherits Ihttpmodule. This class sets some header settings for each http request.
We want to make these settings maintainable within umbraco. But if I try to read these settings from umbraco from within the class which inherits Ihttpmodule it does not work.
It will come up with the following error: No factory has been set.
I read something about the base class umbracomodule, which ensures the initialization of the umbraco context. Maybe I can use this, but I am not sure how to use this one.
Can some one help me please?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.