Hello Dominique,
When you say "other references from C#", do you mean that you are unable to use some of the classes documented in the eCLR Programming Reference? (This programming reference is included in the "Documentation" folder in the Visual Studio Solution Explorer, for every solution created using the PLCnext add-in for Visual Studio). This reference contains the complete list of classes that you should be able to use in your C# project. If you cannot access some of these classes in your C# project, please let me know which one(s) you are having problems with.
Note that the eCLR only contains a sub-set of the complete .NET framework that you would find on a PC, because the eCLR is designed specifically for deterministic, real-time programs. System.Net.Http is currently not one of the classes that is available in the eCLR.
There are a few possibilities to work around this - for example, you could implement the HTTP protocol yourself on a TCP socket; or you could execute your HTTP requests in a non-realtime PLCnext component written in C++; or you could execute your HTTP requests in an external C# application running on .NET core.
Hope this helps.
Martin.
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support