Hi Martin
For POC starting now i am trying to upload the file here it is image/video to azure blob storage.
The C# console application written is uploading the file (from folder specified) and upload it to container in storage account.
To simplify:
I have one of the console app working as expected (Able to upload the file from local computer to container).
There is a process about referencing the C# in X++ so wanted to know if this is possible ?
Like if i reference this C# code -> say create it as C# class library and then reference it in X++ solution. How i can do that?
in simple ways what are the steps i need to follow:
1 Create a visual studio solution selecting the Finance and operation template.
2 Create a Xpp project
3 Create a c# class library (Add the same code in it ) - Name AzureBlobOperation ==> All operation like selecting the file from desktop to uploading the file to container is written in
C# class library (i just wanted to reference and use this in X++ code )
4 Add reference of this C# class library to the X++ project.
5 Now create an X++ class (AzureBlobupload) - add reference of this C# class library - using AzureBlobOperation
6 Creating method inside X++ class (AzureBlobupload)
7. call these methods inside the main method of the X++ class (AzureBlobupload)
8. Finally run the class in the Visual studio
I am not sure if this is possible or how i can write the methods in X++ which perform operation like Select file from desktop / upload file to container in X++ class.
Once i can complete this one POC then can try the other option of authenticating using the client id and client secret