I need to call or at least pass parameters into C# function from within VBScript function (or suitable workaround) on Microsoft Azure Website Hosting i.e.:
Function VBScriptFnc(param_1, param_2, param_3)
Dim flag;
flag = 1
'call the C# function or somehow pass parameters into C# function'
csharpFunction(param_1, param_2, param_3)
VBScriptFnc = flag
End Function
VBScript has 5 windows into the .NET world:
The most straightforward option on a website is to use a GET or POST because you will steer clear of the mine fields of ACL and COM registration, but if you must go down another road I would say that PowerShell is your best bet, followed by COM interop as a third choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With