title: Windows Service: How to load balance the requests
body: <p>My current solution looks like this:
  On my computer I have a windows service that holds a persistent connenction to Microsoft Dynamics.
  Using a Service Reference, my client software calls the service and sends a request to Microsoft Dynamics.</p>
  
  <p>That works fine.</p>
  
  <p>What I need to do is:</p>
  
  <ul>
  <li>a service (or many services) that holds 10 persistent connections to Microsoft Dynamics</li>
  <li>load balanced access to the connections from many clients, so the requests can be handled parallel</li>
  </ul>
  
  <p>Do you have any suggestions, how this is realizable?
  Everything should be programmed in C#.</p>
  
  <p>//edit:</p>
  
  <p><a href="http://joefreeman.co.uk/blog/2010/03/creating-a-setup-project-for-a-windows-wcf-service-with-visual-studio/" rel="nofollow">http://joefreeman.co.uk/blog/2010/03/creating-a-setup-project-for-a-windows-wcf-service-with-visual-studio/</a></p>
  
  <p>I use this service and added the connection-stuff I found here: <a href="http://blogs.msdn.com/b/cesardelatorre/archive/2007/07/06/accessing-dynamics-ax-4-0-from-net-using-the-dynamics-ax-net-business-connector.aspx" rel="nofollow">http://blogs.msdn.com/b/cesardelatorre/archive/2007/07/06/accessing-dynamics-ax-4-0-from-net-using-the-dynamics-ax-net-business-connector.aspx</a></p>