This project is read-only.

How to get physical path of application in background?

Topics: Core, General
Jan 25, 2012 at 11:42 AM


In controller we can use Server.MathPath("~").But this cannot use in background.How I can do it?Thanks!


Jan 26, 2012 at 5:48 AM

There is a site setting for that. From the work context, you can get the site, and then As<> it into the part that has the setting.