Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arjanvanmaren 1 post 21 karma points
    Feb 03, 2020 @ 19:41
    Arjanvanmaren
    0

    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?

  • 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.

Please Sign in or register to post replies