I need to build a URL for self-ping action. I want to initialize that URL from Application_Start, which doesn’t have HttpContext (on ISS 7.0 integrated mode).
I have code to build absolute Action URL using HttpContext, now I need the same but use HttpRuntime instead.
1 Answer