Much of the legacy ASP.NET code I’ve seen is littered with calls to methods on the HttpServerUtility class, Server.MapPath(…) is one such method. This makes it really hard to test. Much of the legacy ASP.NET code I’ve seen is littered with calls to methods on the HttpServerUtility class, [code... [More]
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.