microsoft / microsoft/azure-devops-auth-samples

Update the samples from .Net Framework to Dotnet 8

Open
#123 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
277
Forks
307
Avg merge
3d 18h
Merged PRs (30d)
2

Description

Most of the samples are .Net Framework, please update the samples to use Dotnet 8.
For some samples there will be no difference, But ClientLibraryConsoleAppSample isn't working anymore, since there is no authentication popup support for dotnet anymore, or working NTLM.

And I had to use a lot of googling to get it working using Azure.Identity.InteractiveBrowserCredential, the scope "499b84ac-1321-427f-aa17-267ca6975798/.default" and VssOAuthAccessTokenCredential

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the sample directories and start with ClientLibraryConsoleAppSample, which the issue identifies as broken on modern .NET. Check how the samples target .NET and how authentication is configured with Azure.Identity.InteractiveBrowserCredential, the stated scope, and VssOAuthAccessTokenCredential. Done means the samples are updated for .NET 8 and the affected authentication flow works.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
authentication, developer-experience
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.