Is it possible for a Webforms class to call an MVC2 action controller that returns a string?
My Webforms class is a proxy class for an external webservice, and so I have no JavaScript code - the properties thatI need must be retrieved in the code-behind!
The proxy class is in use by other projects in my solution, so I preferably do not want to move it into the MVC project. The proxy gathers a few properties, among them the full path to a PDF.
The PDF has not yet been generated when the proxy needs it, and the responsibility of generating it lies on the MVC project. Because of this, I need to call an action controller that generates a PDF and returns its path.