Hi All,
We're developing a scheduler for our new .net application to control reporting / update programs / month end procedures etc. and we were discussing the best way to achieve this...
The main requirement is that we need to execute any method in the BLL layer that could be in different namespaces and classes. The type and number of parameters will also vary.
One solution that I've quickly tested and seems to work is generating some dynamic code using the properties of the job (Assembly Path, Business DLL, Class, Method, Namespace, Parameters), compiling the code and then executing it. The only trouble with this is that compiling code creates an overhead on CPU / RAM.
What other methods could we use? Could we achieve the same using WCF? We have the 3.5 framework available to us for this project.
Any suggestions and a brief explaination would be greatly appreciated!
Andrew
We're developing a scheduler for our new .net application to control reporting / update programs / month end procedures etc. and we were discussing the best way to achieve this...
The main requirement is that we need to execute any method in the BLL layer that could be in different namespaces and classes. The type and number of parameters will also vary.
One solution that I've quickly tested and seems to work is generating some dynamic code using the properties of the job (Assembly Path, Business DLL, Class, Method, Namespace, Parameters), compiling the code and then executing it. The only trouble with this is that compiling code creates an overhead on CPU / RAM.
What other methods could we use? Could we achieve the same using WCF? We have the 3.5 framework available to us for this project.
Any suggestions and a brief explaination would be greatly appreciated!
Andrew