On a traditional Asp.net site I usually do Server.MapPath in order to get the physical path of a website.
This works fine in the Template files of Webnodes - but not in the methods of generated WAF_Custom files since OnAfterUpdate etc. are executed by (Workflow?) threads without any HttpContext.
So my question is - how can I find the physical path in OnAfterUpdate() method?
I've looked around in WAF.Engine.WAFRuntime - but I haven't been able to locate it.. :)
/Njål
UPDATE: I was able to use WAFRuntime.ContextSession.Engine._startupLocalPath