kaushal sharma
kaushal sharma

Reputation: 1

Does FeatureGate attribute causes overhead?

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.

Upvotes: 0

Views: 109

Answers (0)

Related Questions