HttpContext.Current, I hate you.
What if you have some legacy code that you cannot refactor and that contains references to HttpContext.Current ? What if you are writing unit tests for your code and it has references to that legacy code? Option 1: refactor the calls to the legacy code with the proxy pattern and continue writing the...
2013, Mar 28 — 1 minute read