So ... I have a business object / manager that will generate emails.
These letters will contain links to various content on the website ... and therefore should understand MVC routing .. or at least how to create URLs for the website ...
However, my business object will not have access to RequestContext, etc., and email generation is not necessarily the result of a web request to a website (I have a dispatcher that runs on a background thread that will generate emails)
Any ideas on how I can generate my URLs without accessing the request, and therefore cannot use the URLHelper ...
Thoughts?
source
share