0

Same question as

How to Ignore Null values while serializing OData response

and

.NET Core: Remove null fields from API JSON response

Only difference is how to do it in .NetFramework 4.7.2 with HttpApplication.

Tried the attached solutions but they are for different .Net flavors.

3
  • At least the first one IS for the "legacy", classic, Windows-only .NET framework .... that should really work just fine. Commented Mar 13, 2024 at 21:36
  • That is using AspNet libs. My project is using System.Web.HttpApplication and System.Web.Http.HttpConfiguration. I need a solution using those. Commented Mar 14, 2024 at 1:35
  • Please provide enough code so others can better understand or reproduce the problem. Commented Mar 26, 2024 at 16:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.