Does FeatureGate attribute causes overhead?

36 Views Asked by At

I have been implementing feature flag management with .Net 6 solution and i came across FeatureGate attribute can be used to guard API controller or an API endpoint. I was wondering :

  1. Does FeatureGate attribute use reflection in any sense.
  2. If Yes then does it cause any overhead or slows down the application.

I have been using FeatureGate attribute but someone pointed out that it uses reflection internally and can cause overhead.

0

There are 0 best solutions below