You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any method with [HttpPost], [HttpPut] etc. attributes in a subclass of Controller (ASP.NET MVC / ASP.NET Core) or ApiController (ASP.NET WebAPI) should be detected.
Possibly also any public instance method even without those attributes.
Using weakly typed objects such as
JObject
(fromNewtonsoft.Json
) in a WebAPI should result in an error or warning.Example:
Any method with
[HttpPost]
,[HttpPut]
etc. attributes in a subclass ofController
(ASP.NET MVC / ASP.NET Core) orApiController
(ASP.NET WebAPI) should be detected.Possibly also any public instance method even without those attributes.
The error should span the parameter declaration.
No code-fix applicable.
Corresponding WTG Work Item: WI00253834
The text was updated successfully, but these errors were encountered: