Azure-Samples / Azure-Samples/ms-identity-docs-code-dotnet

Peg package versions in project files

Aperta Adatta ai principianti
#127 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
65
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

@OwenRichards1 ... Hello! I was checking some cross-links in the ASP.NET Core docs, and I noticed that several Azure samples (in different repos) are floating versions against our best practices guidelines ...

https://github.com/search?q=repo%3AAzure-Samples%2Fms-identity-docs-code-dotnet+%22.*\%22%22&type=code

One of them ... the one that I was checking a cross-link on ... is one that you performed an upgrade on ...

https://github.com/Azure-Samples/ms-identity-docs-code-dotnet/blob/main/spa-blazor-wasm/BlazorWasm.csproj

Would you (or someone) mind pegging the package refs to "`8.0.0`." I realize that there's no 8.1 (and likely never going to be one) and that floating will just roll-forward the patch release. However, patches roll forward automatically anyway, and we (on the ASP.NET Core engineering side) don't recommend showing devs samples that adopt the practice of floating versions due to stability/security concerns. We consider it a dangerous habit to form.

In addition to that sample, we'd like to get the others updated as well to patch to their floating package versions. They lie across different repos, and I'm not sure if one person can update all four of them based on this one issue or if three more issues should be opened (one on each of the other three sample repos).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da spa-blazor-wasm/BlazorWasm.csproj e ispeziona i riferimenti ai pacchetti che attualmente usano versioni mobili. Cerca nel repository altri riferimenti a pacchetti con versioni mobili nei file di progetto, quindi fissa i riferimenti richiesti a 8.0.0 e verifica che gli esempi interessati possano ancora essere ripristinati o compilati correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
build-system
Tipo di issue
Refactoring
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.