Hi all,
Just wat to give this request some more attention:
In the current version (7.6.1) the assembly task is different than in version 6. In version 6 the methods in the assembly were 'merged' into the Visualcron's memory when starting the service. This made execution fast, but there was a downside. When you wanted to change the code inside the assembly, Visualcron had to be restarted to see this changes.
The current version will look every time to the actual dll and sets up an environment to start the method within the dll. This takes more time to do, but you can change your dll any time and Visualcron pickes it up instantly.
For me the extra time to handle the assembly task is a pain. The task is in a loop and it runs 100+ times. The total time of my job went from a few minutes to more than an hour. So I went back to the .NET task to get my speed back.
The reason for using the assembly task for me was to have global .NET functions I could use. I use the same code in more jobs, so when I made a modification to the assembly, all my tasks used the code are up 2 date. Now when I'm not using the assembly task anymore this request is back in place.
---
I want to have a way to make my .NET methods global, so I can select a .NET method in a task which I created somewhere else in the application. Just like connections or notifications. When selecting a .net method, you have to fill in the parameters if needed. If I change the code, it should be changed in all tasks.
You have to alert the user if the method is used in other tasks and that the parameters could be cleared. There has to be some thought how to do this.
So lets talk about this, what do you all think?
Regards,
Erik
Uses Visualcron since 2006.