Need to create a folder(and a file inside it) using C# inside Azure DevOps repository - be it Git or TFVC RRS feed

  • Question

  • From Azure DevOps portal, I can manually add file/ folder into repository irrespective of the fact that source code is cloned or not.

    However I want to programatically create a folder and a file inside that folder within a repository from C# code of my ASP .net Core application.

    Is there a Azure DevOps service REST API or any other way to do that? I'll use BASIC authentication through PAT token only.

    NOTE: I'm restricted to clone the source code in local repository and the repository is a private one.

    Please help me to achieve this.

    Tuesday, May 14, 2019 7:39 AM

All replies