Creating multiple (15+) HTTP Response filters, Inheritance vs. Composition w/ Injection

前端 未结 1 1825
庸人自扰
庸人自扰 2021-01-14 19:32

First a little back story on what I am trying to accomplish.

I am in the process of creating a custom HTTP Module whose purposes is to intercept messages to multiple

1条回答
  •  执笔经年
    2021-01-14 20:32

    Solution 2 is obviously preferable. However, it seems that the major crux of the problem lies in the construction of the Filters themselves. Hopefully there is a lot of reusable composition within the Filter implementations. Can a new filter be "configured" from composite parts?

    0 讨论(0)
提交回复
热议问题