This is a perfect method to get what I need from the view tier (aspx). How can I get access to this from within a controller or domain class? Don't want to break MVC ...
I need a more generic way to get the path to bin so I can make sure I'm looking there from within my web application as well as within execution of my NUnit TestFixtures.
Thanks again,
Phil
Main Topics
Browse All Topics





by: ApexCoPosted on 2009-05-26 at 09:33:44ID: 24474882
Server.MapPath("~/bin") can directly get the private bin dir of the current running asp.net application.