Produces Data Annotation
<p>I've been learning about Web API recently, and making plans to increase the scalability of my MVC apps, using it. When I finally got into creating a Web API controller, though, I discovered a <code>[Produces("application/json")]</code> annotation applied to the controller class. I haven't been able to figure out what that annotation does. I want the controller to only accept json input, so is this tag helpful to me?</p>