By dotCore
via dotnet.dzone.com
Published: Oct 08 2012 / 00:33
Server.MapPath is one of the most-used methods in ASP.NET. Lot of libraries/assemblies has used this method. The problem with using this method inside a library is that it will tie the users of this library with a ASP.NET intrinsic Server object that makes unit testing a little difficult.
Add your comment