Using IronMQ

When provisioning the IronMQ queue, the following configuration variables are injected in your application configuration:

<appSettings>
    <add key="IRON_MQ_TOKEN" value="token" />
    <add key="IRON_MQ_PROJECT_ID" value="id" />
</appSettings>

You can use these to configure the .NET client provided by Iron.io.

var _projectId = ConfigurationManager.AppSettings["IRON_MQ_PROJECT_ID"];
var _token = ConfigurationManager.AppSettings["IRON_MQ_TOKEN"];

_client = new Client(_projectId, _token);

We also provide a sample .NET application with a ASP.NET MVC frontend and backgroundworker back-end that use IronMQ to communicate tasks and results.