Adding code to the repository

We did not add any code to our repository; now, it's time to do that. To add code, you can either click on Code and upload the files directly from the web interface or go to Source Control from your Visual Studio IDE and check in the code after adding the repository. In this section, we will add our code using Visual Studio. To do so follow these steps:

  1. Open Visual Studio
  2. Create or open your existing project
  3. Open Team Explorer
  4. Click on Connect TFS server
  5. Add a TFS server if you can't find a server, and then provide a valid address for it
  6. Click Connect

The following screenshot shows a connection with FlixOneProductServices:

Connecting TFS server
  1. You will need to map the TFS repository to your local drive. ...

Get Building RESTful Web Services with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.