New rule S6960 for C#: Controllers should not have too many responsibilities #9089
Closed
14 tasks done
Labels
Area: C#
C# rules related issues.
Sprint: ASP.NET Web API
ASP.NET rules for Web API
Type: New Rule
Implementation for a rule that HAS been specified.
Projects
Milestone
RSPEC PR: SonarSource/rspec#3845
Parts:
Func<service>
andLazy<service>
: Service should not be well-knownIHttpClientFactory
(consider as well-known dependency)[ ] IntroduceS6960IncludeAttribute
andS6960ExcludeAttribute
abstract
controllers (because of scenarios like this one)[ ]Exclude inherited methods (because there is no option than to implement them)this is canceled by previous taskThe text was updated successfully, but these errors were encountered: