title: integration asp.net application with quickbooks desktop edition
body: <p>I have an asp.net application and i want to connect it to quickbooks desktop edition , in the web application i want to do the below :
  1- get Customers list from quickbooks.
  2- create new invoice and save send it to quickbooks.</p>
  
  <p>this is what i found of sample code but i would like to what is the value that i have to set in the AppId parameters in the (sessionManager.BeginSession("", ENOpenMode.omDontCare);).</p>
  
  <pre><code>private void getCustomers()
  {
  bool sessionBegun = false;
          bool connectionOpen = false;
          QBSessionManager sessionManager = null;
  
          try
          {
              //Create the session Manager object
              sessionManager = new QBSessionManager();
  
              //Create the message set request object to hold our request
              IMsgSetRequest requestMsgSet = sessionManager.CreateMsgSetRequest("US", 8,      0);
              requestMsgSet.Attributes.OnError = ENRqOnError.roeContinue;
  
              //Connect to QuickBooks and begin a session
              sessionManager.OpenConnection(@"D:\A to Z Wholesale Inc.QBW", "QuickBooks Integration Demo");
              connectionOpen = true;
              sessionManager.BeginSession("", ENOpenMode.omDontCare);
              sessionBegun = true;
  
              ICustomerAdd customerAddRq = requestMsgSet.AppendCustomerAddRq();
              customerAddRq.Name.SetValue("Amer");
              ICustomerQuery customer = requestMsgSet.AppendCustomerQueryRq();
              //Send the request and get the response from QuickBooks
              IMsgSetResponse responseMsgSet = sessionManager.DoRequests(requestMsgSet);
              IResponse response = responseMsgSet.ResponseList.GetAt(0);
              ICustomerRet customerRet = (ICustomerRet)response.Detail;
          }
          catch (Exception ex)
          {
  
          }
          finally
          {
              //End the session and close the connection to QuickBooks
              if (sessionBegun)
              {
                  sessionManager.EndSession();
              }
              if (connectionOpen)
              {
                  sessionManager.CloseConnection();
              }
          }
  </code></pre>
  
  <p>}</p>