Multiple choice iis-server

This is NOT a good way to boost ASP.NET application performance:

  1. Trap exceptions instead of using them to direct program flow.

  2. Disable session state, unless you actively plan to use it.

  3. Use storied procedures instead of ad hoc queries when accessing back-end SQL data.

  4. Never leave caching turned on.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

NEVER leaving caching enabled is obviously detrimental to performance - caching is a key optimization. The distractors have typos but identify bad practices: using exceptions for control flow (trap exceptions) is inefficient; disabling unused session state is ACTUALLY good practice; and 'storied procedures' is a garbled 'stored procedures' which ARE better than ad-hoc queries. The claimed answer D is correct as the 'NOT good' option.