I am trying to get the base URL from the worker role. I can't get it from there.
How do I get the base URL in this situation?
I have found this property:
Application.Current.Host.Source
but, in order for this to work, I need the reference System.Windows.dll which is in the Silverlight folder. Since I am not using Silverlight for this part of the application I am not sure if I should use it here or find another way.
What do you think?