Questions tagged [csx]

For questions about Azure Functions C# scripts, previously known as C# script. For questions about C#, see the C# tag.

This tag is for questions about Azure Functions C# scripts.

Useful resources:

48 questions
0
votes
2 answers

System.InvalidOperationException when trying use binding name as parameter in an azure function

follow this tutorial chain-azure-functions-data-using-bindings, when using JavaScript it works, however created a new function app with .net as run time stack, added required cosmos db mappings, when sending GET request with query param…
ManiVI
  • 556
  • 1
  • 5
  • 18
0
votes
1 answer

CSX getting current submission instance

I'm trying to get current submission instance in csharp csx script. I need to invoke script method with reflection: using System.Reflection; void Foo() { } var foo = MethodBase.GetCurrentMethod().DeclaringType.GetMethod("Foo"); foo.Invoke(???,…
ghord
  • 13,260
  • 6
  • 44
  • 69
-1
votes
2 answers

How do I convert Console App's code block to Azure Function's code block?

I've written my sample console application and it's complied and get the data well. Now I want to test it as an Azure Function. The following are the code blocks in console app. How can I rewrite it as Azure's time-trigger function? Thanks. using…
zawhtut
  • 229
  • 2
  • 14
1 2 3
4