Set NullValueHandling at a controller level
<p>For the moment part, i would like to exclude null values from my api response, so in my startup.cs file, i have this.</p>

<pre><code>services.AddMvc()
    .AddJsonOptions(options =&gt;
    {
        // Setup json serializer
        options.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver();
        options.SerializerSettings.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore;
    });
</code></pre>

<p>But is it possible to state that on 1 or more controllers, i actually want to include NULL values??</p>