Question

Partha0123 Das on Tue, 14 May 2019 07:39:58


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.

Replies

SadiqhAhmed-MSFT on Tue, 14 May 2019 10:51:00


Hi Partha0123 Das,

Please post your query in the developers community forum - https://developercommunity.visualstudio.com/spaces/21/index.html to connect with the right experts.