title: How to update the Proxy for WCF Service
body: <p>I want to insert the record into table using Service.I had one Service already and i written new function and implemented in service but not able to get it into my web application.In short i want to get the latest function written in service to be in my web application.
  <img src="https://i.stack.imgur.com/BZNCF.png" alt="enter image description here"></p>
  
  <p>It is one of Project under my web application that refers to service.
  <img src="https://i.stack.imgur.com/Dkdlt.png" alt="enter image description here"></p>
  
  <p>and this is my Service project and I have written one new function as follows</p>
  
  <pre><code> public void InsertVISDetails(VISInfo visInfo)
          {
              try {
                      using (SqlConnection conn = new SqlConnection(CONNECTION_STRING)) {
                                  using (var cmd = new SqlCommand()) {
                                      cmd.CommandType = CommandType.StoredProcedure;
                                      cmd.CommandText = "usp_Insert_VISDimention_userActivity";
                                      cmd.Parameters.AddWithValue("@Page",visInfo.Page);
                                      cmd.Parameters.AddWithValue("@LoginDate",visInfo.LoginDate);
                                      cmd.Parameters.AddWithValue("@ElapsedTime",visInfo.ElapsedTime);
                                      cmd.Connection = conn;
                                      conn.Open();
                                      cmd.ExecuteNonQuery();
                                  }
                              }
                  } catch (Exception) {
              }    
          }
  </code></pre>
  
  <p>This new function I want to invoke in my web application</p>