title: Create a service that connects to remote database and uses public key encryption
body: <p>I have been searching all day and reading many tutorials and still I am confused. I am working on a project that has the following requirements as specified by the client (customer - not to be confused with client app):</p>
  
  <ol>
  <li>Connect to a remote server and verify that connection was successful.</li>
  <li>Connect to Web service on said server via SOAP.</li>
  <li>Authenticate with service using public key encryption</li>
  <li>Upon successful authentication, push a list of products and categories to a MSSQL database on remote server via the Web service.</li>
  </ol>
  
  <p>The client is a Winforms application written in C#. So far, I have created a WCF Service Application with separate services for the products and categories but I cannot figure the rest out.</p>
  
  <p>Can anyone point me in the direction of a tutorial or tutorials that cover these requirements?</p>
  
  <p>Many thanks in advance!</p>
  
  <p>Joe</p>