Developing ASP.NET MVC Web Applications — Question 42

You are developing an ASP.NET application.
You need to minimize the amount of data in all HTTP responses.
What should you do?

Answer options

Correct answer: B

Explanation

Enabling compression in IIS effectively reduces the size of HTTP responses by compressing the data before sending it to the client, which is why option B is correct. While minifying, bundling, or hosting files on Azure can help optimize performance, they do not directly minimize the data size in HTTP responses as compression does.