How can I use VAF to replace VBScript in a Run Script in a state in a workflow

From what I read I should develop Vault Application Framework code over VBScript. 

However I don´t understand how to run VAF in a script to run when a document reaches the workflow state. 

I am not used to C# but it is my understanding that I develop the code in visual studio. Then I register the code in M-Files somehow.

Is there a step by step example to follow? 

Parents Reply Children
No Data