I want to integrate azureml-sdk into some web-page.
But currently I can only find azureml-sdk-for-python.
Is there any release for azureml-sdk-for-dotnet/c-sharp?
Just like https://learn.microsoft.com/en-us/python/api/overview/azure/ml/?view=azure-ml-py
There are only 3 ways to use AzureML:
az ml cli
Python SDK
Microsoft's REST APIs
While working in Dotnet Core, the easiest way is to use the REST APIs, as then you don't need to rely on any package. Also, I believe that the python SDK is using these REST APIs in background. However, the REST APIs don't have the best documentation and its hard to find API params for some specific resources.
Another way would be to use Microsoft.PowerShell.SDK package and then run the az ml cli commands.
Lastly, you can use IronPython package (or something similar) to run the python sdk as well.
You can find documentation for each of the 3 methods here. (Check the "Reference" card on the page)
If you are building a .NET application and want to integrate ML, use ML.NET.
You could find the differences in the document.
Related
We have a console application running in C#, and we need to integrate a groovy script with that. Is there a way to do that? Of course I google it before coming here, and the only useful result I got, it was this one here below:
https://jnbridge.com/blog/groovy-to-net-integration
But we need to use C#, not any external libraries. So, basically what we need a way to integrate a groovy script in our C# code.
Thanks,
take a look at IKVM.NET I do think this is what you are wanting, "IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. IKVM is free software, distributed under a permissive free software license." this allows usage of java to C# bridge and vice versa.
I am interested to control a number of instruments which has an API written in C# .NET. Based on my experience, if I use IronPython then I can't use python packages like Numpy and Scipy. However, I wanted to see if there is another way to call the .net libraries and be able to use python to implement my control and data analysis algorithms?
I am searching for interfaces for a decklink video device for C# .Net using DirectShowLib.Net.
It seems, there are available, because they are used here:
blackmagic SDK in c#
Unfortunately there is no information, which library is used and the comment which ask for more information was ignored.
But I don't have an idea, where to find them. Would be nice, if someone can give me an hint.
SDK is available off Blackmagic website: Blackmagic Design SDKs. The sample code is mostly C++, however a part is in C# as well. The SDK has all IDL files on it and you can convert the interfaces into .NET compatible shape.
There are also third-party SDKs available, that may be more effective depending on your task. Such as this SDK for ingest & playout.
Sorry for posting to an old thread. Maybe someone finds it useful.
There is a DeckLink .NET wrapper at GitHub but I find it little use as C# Interop (wrapper) is automatically created if you reference the C:\Program Files (x86)\Blackmagic Design\Blackmagic Desktop Video\DeckLinkAPI.dll in Visual Studio.
I need to develop some CRM with phone functionality. We shall use Asterisk. I have found dll like Asterisk.NET but seams it is not supported. A PJLIB that has written in C++. Can you recommend dll for it? Thanks.
Found some:
http://code.google.com/p/sipeksdk/
http://code.google.com/p/pjsip4net/
http://rtpmobile.sitesled.com/download.html
If you have option to choose something other then Asterisk, then I will recommend you the FreeSwitch based Plivo Framework, which will provide you simple REST based APIs to integrate telephony services into your application.
Otherwise to build something upon Asterisk you should go with AMI (Asterisk Manager Interface) and AGI (Asterisk Gateway Interface)
Windows-7 introduced a concept of virtual folder, called 'Libraries'.
I am working on implementing a Library with my custom action. The constraint is that, I have to stick to .NET version 2 for this :(
While looking around, I didn't find any native (c/C++) API for doing this. I am planning to use Interop (p-Invoke) to make a library once I get native APIs.
Could any one point to a link or documentation which might help. If somehow I can do this directly from c# (with .NET v2), that would be great.
Thank you,
John
The MSDN topics that seem most pertinent are:
Inside Windows 7:Introducing Libraries
Windows Libraries
Windows 7 Libraries: Developer Resources
The library features are exposed through COM so there's no need for P/invoke.
However, since libraries only exist in Windows 7, and since Windows 7 has .net 3.5 as part of the OS, I would recommend that you put this part of your application in a .net 3.5 assembly. In fact the API CodePack assembly already does this for you.
Of course, since the CodePack is also delivered as source you could extract the necessary parts from there and do what is needed in order to build it against .net 2.0.
The concept of "virtual folder" exists already before Windows 7 and has AFAIK just been "refined"... you write you want to do this with your own custom handler...
IF you want to implement such a "virtual folder" and integrate it into Windows so that other applications can use it as a "virtual folder" then:
To implement and install a "shell extension" (which basically are a bunch of COM interfaces):
Remark: If the system you are running on doesn't have .NET 4 then Microsoft recommended NOT to use .NET for this because of the inherent restriction with the older versions that one process can't run multiple framework versions at the same time. Depending on the OS etc. case it could be recommended to implement this with C/C++.
Even with .NET 4 as pointed out in the comments the code injection problem remains - i.e. if any .NET app prior .NET 4 and/or with a different .NET versions than your shell extension accesses the file open dialog for example it can/will fail.
To circumvent that you need to implement a native proxy DLL which gets loaded into the respective processes (like Windows Explorer) and communicates with your .NET implementation via IPC.
In this specific case you need to build a shell extension which implements IShellLibrary.
That aside the implementation of shell extension is a really tough job... some links with information / samples / source code / libraries etc.:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb774328%28v=VS.85%29.aspx
http://blogs.msdn.com/b/codefx/archive/2010/09/14/writing-windows-shell-extension-with-net-framework-4-c-vb-net-part-1.aspx
http://www.ssware.com/ezshell/ezshell.htm
http://www.codeproject.com/KB/shell/ratingcolumn.aspx?q=shell+extensions+c%23
http://www.codeproject.com/KB/shell/shellextguideindex.aspx
http://www.nirsoft.net/utils/shexview.html
http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e/
To interact with a Windows 7 library see http://support.microsoft.com/kb/976027 and http://www.codeproject.com/KB/miscctrl/Windows7APICodePack.aspx and http://archive.msdn.microsoft.com/WindowsAPICodePack and http://www.codeproject.com/KB/cs/DDW7LibrariesLite.aspx . Some require .NET 3.5 but since 3.5 is just 2.0 plus some additional assemblies it might be an option...
Briefly searching in google, found this: How to programmatically manipulate Windows 7 shell libraries
if C# examples are not useful, it should be possible to export api methods used in c++ example.