fbpx

How to install ZeroMQ with C# and .NET binding and example on Microsoft Visual Studio 2012 or 2010

(Last Updated On: January 28, 2013)

How to install ZeroMQ with C# and .NET  binding and example on Microsoft Visual Studio 2012 or 2010

See towards the end which seems to be a decent tutorial from CodeProject.com

Download Zero MQ from: http://www.zeromq.org/distro:microsoft-windows
C# bindings: http://www.zeromq.org/bindings:clr or https://github.com/zeromq/clrzmq
You could also install the C# bindings (clrzmq) with NuGet:
http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c
Just download and optn the VSIX file with your Visual Studio.
Install clrmzq 3 with: http://packages.nuget.org/Packages/clrzmq
Use the NuGet package manager console:
http://docs.nuget.org/docs/start-here/using-the-package-manager-console
This process could fail dueif in Visual Studio 2012:
Install-Package : Could not install package ‘clrzmq 3.0.0-rc1’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v3.5’, b
ut the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<< clrzmq -Pre
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
For Visual Studio 2010, do the above but ensure to have a project solution open (i.e. Your ZeroMQ solution)
Install-Package : The current environment doesn’t have a solution open.
At line:1 char:16
+ Install-Package <<<< clrzmq -Pre
+ CategoryInfo : InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackageCommand

 

Try out C# ZeroMQ examples here: https://github.com/imatix/zguide

Working tutorial with examples:

http://www.codeproject.com/Articles/488207/ZeroMQ-via-Csharp-Introduction
The CodeProject seems to work ok on Visual Studio 2010 but is somewhat using outdated ZeroMQ DLLs.

See how I plan to use this for my HFT platform

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
share this recipe:
Facebook
Twitter
Pinterest

Still hungry? Here’s more

Are you interested in:

If so, CLICK HERE 

FREE 2 Hour Video! 

 

As you know with the crazy restrictive emergency laws being introduced in the last week, many moving their savings out of FIAT banks into cryptocurrency trading.

Here are some questions to get your started:

  • Create your own ‘bank’ anonymously with crypto
  • In the future, draw off your crypto saving with a Visa debit card
  • Trade using a European de-central exchange to trade perpetual contracts and other high performing coins
(All your info is kept private nor released!  Don’t forget to check to click your promo or spam inbox after the confirmation email is sent) 

Create your own  PRIVATE Bank