Server.MapPath in a helper class library

The Server.MapPath will not work directly when used from a class library directly.

System.Web.HttpContext.Current.Server.MapPath should be used instead

Comments

Popular posts from this blog

Read full agreement and then say "I agree"

IE10 breaking changes compatibility

Microsoft and internet explorer strategies