sharpliner
azure-devops-dotnet-samples
Our great sponsors
sharpliner | azure-devops-dotnet-samples | |
---|---|---|
15 | 7 | |
281 | 420 | |
1.1% | - | |
5.2 | 0.0 | |
7 days ago | almost 3 years ago | |
C# | C# | |
MIT License | MIT License |
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.
sharpliner
-
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.
-
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
azure-devops-dotnet-samples
-
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.
What are some alternatives?
FeedTheMonkey - Desktop client for the TinyTinyRSS feed reader.
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.
gatus - ⛑ Automated developer-oriented status page
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
changedetection.io - The best and simplest free open source web page change detection, website watcher, restock monitor and notification service. Restock Monitor, change detection. Designed for simplicity - Simply monitor which websites had a text change for free. Free Open source web page change detection, Website defacement monitoring, Price change notification
azure-devops-migration-tools - Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
glacier_deep_archive_backup - Extremely low cost, off-site backup/restore using AWS S3 Glacier Deep Archive
Plotly.Blazor - This library packages the well-known charting library plotly.js into a razor component that can be used in a Blazor project.
Spodcast - Spodcast is a caching Spotify podcast to RSS proxy. Using Spodcast you can follow Spotify-hosted netcasts/podcasts using any player which supports RSS, thus enabling the use of older hardware which is not compatible with the Spotify (web) app.
RssDotnet - A list of my favourite dotnet RSS feeds
git-credential-manager - Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
BugGuardian - BugGuardian: Easily track you exceptions on Azure DevOps and TFS