azure-devops-dotnet-samples
.NET/C# samples for integrating with Azure DevOps Services and Azure DevOps Server (by microsoft)
sharpliner
Use C# instead of YAML to define your Azure DevOps pipelines (by sharpliner)
Our great sponsors
azure-devops-dotnet-samples | sharpliner | |
---|---|---|
7 | 15 | |
420 | 282 | |
- | 1.4% | |
0.0 | 5.2 | |
about 3 years ago | 8 days ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
azure-devops-dotnet-samples
Posts with mentions or reviews of azure-devops-dotnet-samples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-27.
-
Get List of Group members with ADO SDK?
Hi, maybe you could check the sample here, try to get every member of the group using graphClient.ListMembershipsAsync(parentGroupDescriptor, Microsoft.VisualStudio.Services.Graph.GraphTraversalDirection.Down).Result;
-
Getting all of the changesets that are linked to the specific work item?
Check the complete sample here.
-
Using windows credentials when using DevOpsAzure API
Refer to .NET GitHub Repo for detailed samples.
-
azure devops API : Test results
Checked the samples here, cannot found any samples about test results. You can open an issue on GitHub to request a sample.
-
.NET client for creating PR
Hi, you can use Microsoft.TeamFoundationServer.Client, it provides access to version control, work item tracking, build, and more via public REST APIs. There are many samples on GitHub, check out the Git samples page.
sharpliner
Posts with mentions or reviews of sharpliner.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-13.
-
Ask HN: What are your “scratch own itch” projects?
I didn't appreciate developing Azure Pipelines in YAML so I've created a library that lets you use C# instead.
Aside the apparent advantages of the strong typed environment, I was able to bake in many more features that make your life easier. Code reuse is also super easy.
https://github.com/sharpliner/sharpliner
-
Pipeline task scripts - inline vs file path?
I use a library called Sharpliner (https://github.com/sharpliner/sharpliner) which lets you use C# instead of YAML. It has features around sourcing scripts that you might appreciate - it can take scripts from embedded resources and inline them in the YAML which gives you best of the both worlds:
- Best way to learn YAML for Azure Pipelines?
-
Devs don’t want to do ops
Second, you might be into this: https://github.com/sharpliner/sharpliner
- Sharpliner - Use C# instead of YAML to define your Azure DevOps pipelines
-
Sharpliner: Use C# Instead of YAML to Define Your Azure DevOps Pipelines
For some of the problems you mention (variable contexts), there are some things that can be done (e.g. https://github.com/sharpliner/sharpliner/issues/125).
- New to YAML and AzDevOps - Advice on writing tests and pipelines using YAML?
-
CI / CD in YAML
In case you're just starting with YAML pipelines and you are using C# (which it seems you do), you can have a look at Sharpliner (https://github.com/sharpliner/sharpliner) which lets you use C# for pipelines. Sharpliner contains some useful shortcuts/macros such as If.IsPullRequest or If.IsBranch("main"), potentially If.And(IsPullRequest, IsBranch("main")) which makes this more readable and easy to use.
- Monthly 'Shameless Self Promotion' thread - 2022/03
-
Sharpliner - Use C# instead of YAML to define pipelines
I did sort of explore this possibility here: https://github.com/sharpliner/sharpliner/issues/7
What are some alternatives?
When comparing azure-devops-dotnet-samples and sharpliner you can also consider the following projects:
azure-devops-docs - This repo is the home of the official Azure DevOps documentation for Microsoft. GitHub Issues filed in this repository should be for problems with the documentation.
FeedTheMonkey - Desktop client for the TinyTinyRSS feed reader.