Find folder path when reading from disk #16
My application service call will read .css and .js files from disk, perform some customizations to the content, then generate and minified output file.
When using MVC or WebAPI, I usually just use the HttpContext to figure out my paths such as:
var pathToCssWidget = HttpContext.Server.MapPath("~/Content/");
How would I go about getting access to the HttpContext from a class derived from the ApplicationService?