title: ASP.NET Core WebUI and WebAPI relations
body: <p>I have a solution which has 2 projects: WebUI and WebAPI.</p>
  
  <ul>
  <li>WebUI: There is only FroneEnd part with Angular2. It doesn't know about database.</li>
  <li>WebAPI: This is RESTful API's which has database connection string and services.</li>
  </ul>
  
  <p>Question: Can anybody describe how I can make requests from WebUI to WebAPI in a CORRECT way. Set default ports, links, use configuration or else.
  Thanks =)</p>
  
  <p><a href="https://i.stack.imgur.com/E4PLo.png" rel="nofollow noreferrer">Project structure</a></p>