I have a class in my Class Library that's doing all sorts of validations and consistency checks for files before returning the result to the Web, and it used to work fine in WebForms with:
System.Web.HttpContext.Current.Server.MapPath("myFilePath here");
But now that I'm doing the same with MVC, the routing is messing up the MapPath. How can I get the "base" path of the application in the Class Library using MvC?