title: Getting 404 response from web api
body: <ol>
  <li><p>I have webapi and method:</p>
  
  <pre><code>public class ArticlesController : ApiController
  {
       //
       // GET: api/values
       public IEnumerable&lt;Article&gt; Get()
       {
           using (CollectionsEntities entities = new CollectionsEntities())
           {
                return entities.Articles.ToList&lt;Article&gt;();
           }
       }
   }
  </code></pre></li>
  </ol>
  
  <p>It works fine, and check it in browser: </p>
  
  <p><img src="https://i.stack.imgur.com/Y7Hai.png" alt="webapi works"></p>
  
  <ol start="2">
  <li><p>I create a client:</p>
  
  <pre><code>public static class CollectionClient
  {
      private static readonly HttpClient client;
  
      public static Uri ServerBaseUri
      {
          get { return new Uri("http://localhost:10779/api/"); }
      }
  
      public static Boolean IsDirty { get; private set; }
  
      static CollectionClient()
      {
          IsDirty = true;
          client = new HttpClient(new DemoHttpMessageHandler());
      }
  
      // get all articles
      public static async Task&lt;List&lt;Article&gt;&gt; GetAllArticlesAsync()
      {
          client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
          Uri serverUril = new Uri(ServerBaseUri, "Articles");            
          var response = await client.GetAsync(serverUril);
  
          response.EnsureSuccessStatusCode();
  
          var articles = await response.Content.ReadAsAsync&lt;List&lt;Article&gt;&gt;();
          IsDirty = false;
          return articles;   
      }
  }
  </code></pre></li>
  </ol>
  
  <p>The response gets 404 status code:
  <img src="https://i.stack.imgur.com/eg1WV.png" alt="enter image description here"></p>
  
  <p><code>ID_CAP_NETWORKING</code> is checked to make sure it can access internet.
  Could anybody give me a hand? Thanks in advance!</p>