Skip to content

Commit a1c84bd

Browse files
Sumit GhoshnishanilcolindembovskyBethMassiscottaddie
authored
Releases - DevOps for ASP.NET Core Developers eBook V1.1 (#23784)
* Included DevOps with ASP.NET Core and Azure eBook (#23098) * Included DevOps with ASP.NET Core and Azure eBook * Fixed lint error. * Update docs/architecture/toc.yml Co-authored-by: Nish Anil <[email protected]> Co-authored-by: Nish Anil <[email protected]> * Included toc yaml for devops ebook * Devops ebook (#23137) * Initial import of chapter and images * Updating image paths and styling * Update master to main * Remove update of .NET framework after upgrade * Linting updates * Linting updates * Linting update * Update page url in index * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Beth Massi <[email protected]> * Update spelling Co-authored-by: Scott Addie <[email protected]> * Adding comma Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Contractions Co-authored-by: Scott Addie <[email protected]> * Contractions and update of "click" to "select" Co-authored-by: Scott Addie <[email protected]> * Grammar fix Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix emphasis Co-authored-by: Scott Addie <[email protected]> * Add emphasis Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Make active Co-authored-by: Scott Addie <[email protected]> * Add comma Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Update case Co-authored-by: Scott Addie <[email protected]> * Add missing word Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix URL Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Indenting snippets * Various review changes * Update grammar Co-authored-by: Scott Addie <[email protected]> * Change "click" to "select" * Various final edits Co-authored-by: Sumit Ghosh <[email protected]> Co-authored-by: Beth Massi <[email protected]> Co-authored-by: Scott Addie <[email protected]> * Adding GitHub Actions .NET Deployment Article (#23332) * Initial import of chapter and images * Updating image paths and styling * Update master to main * Remove update of .NET framework after upgrade * Linting updates * Linting updates * Linting update * Update page url in index * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Beth Massi <[email protected]> * Update spelling Co-authored-by: Scott Addie <[email protected]> * Adding comma Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Contractions Co-authored-by: Scott Addie <[email protected]> * Contractions and update of "click" to "select" Co-authored-by: Scott Addie <[email protected]> * Grammar fix Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix emphasis Co-authored-by: Scott Addie <[email protected]> * Add emphasis Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Make active Co-authored-by: Scott Addie <[email protected]> * Add comma Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Update case Co-authored-by: Scott Addie <[email protected]> * Add missing word Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix URL Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Indenting snippets * Various review changes * Update grammar Co-authored-by: Scott Addie <[email protected]> * Change "click" to "select" * Various final edits * Adding deployment article * Linting * Linting * Linting * Linting * Style updates * Fix casing on title Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Various edits for review * More edits for review process * More edits * edit pass Co-authored-by: Sumit Ghosh <[email protected]> Co-authored-by: Beth Massi <[email protected]> Co-authored-by: Scott Addie <[email protected]> * CodeQL Article (#23392) * Initial import of chapter and images * Updating image paths and styling * Update master to main * Remove update of .NET framework after upgrade * Linting updates * Linting updates * Linting update * Update page url in index * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Beth Massi <[email protected]> * Update spelling Co-authored-by: Scott Addie <[email protected]> * Adding comma Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Contractions Co-authored-by: Scott Addie <[email protected]> * Contractions and update of "click" to "select" Co-authored-by: Scott Addie <[email protected]> * Grammar fix Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix emphasis Co-authored-by: Scott Addie <[email protected]> * Add emphasis Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Make active Co-authored-by: Scott Addie <[email protected]> * Add comma Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Update case Co-authored-by: Scott Addie <[email protected]> * Add missing word Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix URL Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Indenting snippets * Various review changes * Update grammar Co-authored-by: Scott Addie <[email protected]> * Change "click" to "select" * Various final edits * Adding deployment article * Linting * Linting * Linting * Linting * Starting to add codeql * Style updates * Initial codeql article * Fix casing on title Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Linting * Linting * Various edits for review * More edits for review process * Casing and spelling updates * More edits * edit pass * Edits for review process * More edits for review * Remove bullet * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Another round of edits * Fix click Co-authored-by: Sumit Ghosh <[email protected]> Co-authored-by: Beth Massi <[email protected]> Co-authored-by: Scott Addie <[email protected]> * DevOps eBook: GitHub Actions vs Azure Pipelines (#23441) * Initial import of chapter and images * Updating image paths and styling * Update master to main * Remove update of .NET framework after upgrade * Linting updates * Linting updates * Linting update * Update page url in index * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Beth Massi <[email protected]> * Update spelling Co-authored-by: Scott Addie <[email protected]> * Adding comma Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Contractions Co-authored-by: Scott Addie <[email protected]> * Contractions and update of "click" to "select" Co-authored-by: Scott Addie <[email protected]> * Grammar fix Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix emphasis Co-authored-by: Scott Addie <[email protected]> * Add emphasis Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Make active Co-authored-by: Scott Addie <[email protected]> * Add comma Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Update case Co-authored-by: Scott Addie <[email protected]> * Add missing word Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix URL Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Indenting snippets * Various review changes * Update grammar Co-authored-by: Scott Addie <[email protected]> * Change "click" to "select" * Various final edits * Adding deployment article * Linting * Linting * Linting * Linting * Starting to add codeql * Style updates * Initial codeql article * Adding actions v pipelines article * Fix casing on title Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Linting * Linting * Linting * Various edits for review * More edits for review process * Casing and spelling updates * Spelling and casing * More edits * edit pass * Edits for review process * More edits for review * Remove bullet * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Another round of edits * Fix click * Edits to grammar * Fix casing * Fix acronym * Grammar edits * More review changes * edit pass * react to build suggestions * fix broken ToC link * Update docs/architecture/devops-for-aspnet-developers/toc.yml Co-authored-by: Sumit Ghosh <[email protected]> Co-authored-by: Beth Massi <[email protected]> Co-authored-by: Scott Addie <[email protected]> Co-authored-by: David Pine <[email protected]> * Devops ebook: Actions index (#23462) * update metadata (#22916) I had added the wrong ms.custom value * update links to ECMA standards (#22942) * update links to ECMA standards ECMA launched an updated website early this year. This PR updates links to ECMA 334 (C#), ECMA 335 (CLI), and TR-84 (XML data formats) * fix build error. Missing opening parenthesis in link. * clarify defensive copies (#22996) Fixes #21691 - Clarify the rules for defensive copies Fixes #22955 - Provide link to conceptual doc with examples. * remove discussion of Task-returning non-async methods (#23001) Fixes #16187 The usage of synchronous Task-returning methods is not generally recommended. See https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#prefer-asyncawait-over-directly-returning-task The examples were valid, but can cause hard-to-diagnose issues. As we add more advanced async scenarios, this scenario belongs there, with more details about when it is and isn't appropriate. (`using` in the non-async method is the primary mistake to run into). * How to compare strings: correct the list of ordinal-comparison operations (#23007) * fix typo (#23033) `GenEnvVariable` didn't appear in csharp/tutorials/AsyncStreams/start/IssuePRreport/IssuePRreport/Program.cs . so I think it's typo, I'm just getting start in c# and not sure this should be `GetEnvVariable`. Some of issue mention GetEnvVariable and didn't say it's typo , so sorry if it's already correct. Also sorry for my suck English. * Adding hyperlink to reference types (#23038) * Discards article: Fix the section about the discard pattern (#23039) * Discards article: Fix the section about the discard pattern * Update docs/csharp/discards.md Co-authored-by: Bill Wagner <[email protected]> Co-authored-by: Bill Wagner <[email protected]> * fix wrong URL (#23047) [C# Reference] URL is wrong. It's same with [C# Programming Guide] URL as above. * Bump MSTest.TestAdapter (#23053) Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump MSTest.TestFramework (#23051) Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump MSTest.TestFramework (#23056) Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump MSTest.TestAdapter (#23059) Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump MSTest.TestAdapter (#23061) Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update additional-resources.md (#23077) * Bump MSTest.TestAdapter (#23055) Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump MSTest.TestFramework (#23062) Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.CodeAnalysis (#23092) Bumps [Microsoft.CodeAnalysis](https://github.com/dotnet/roslyn) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.CodeAnalysis.CSharp.Workspaces (#23090) Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.CodeAnalysis.CSharp.Workspaces (#23091) Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.CodeAnalysis.CSharp.Workspaces (#23087) Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix non compilable code (#23095) * Fix non compliable code The sample code doesn't compile. * Update docs/core/diagnostics/distributed-tracing.md Co-authored-by: Youssef Victor <[email protected]> * Apply suggestions from code review Co-authored-by: Youssef Victor <[email protected]> Co-authored-by: Youssef Victor <[email protected]> Co-authored-by: Bill Wagner <[email protected]> * Bump Microsoft.CodeAnalysis.CSharp.Workspaces (#23089) Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.CodeAnalysis.CSharp.Workspaces (#23086) Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove dotnet-trace ps from memory leak tutorial (#23074) * Bump MSTest.TestFramework (#23060) Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.1.2 to 2.2.1. - [Release notes](https://github.com/microsoft/testfx/releases) - [Commits](https://github.com/microsoft/testfx/compare/v2.1.2...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump coverlet.collector (#22935) Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add section about EF Core events in well known events doc (#22828) * Add section about EF Core events in well known events doc * linter error * Update docs/core/diagnostics/well-known-event-providers.md Co-authored-by: John Salem <[email protected]> Co-authored-by: John Salem <[email protected]> * Update download path (#22909) * Update download path * feedback * feedback Co-authored-by: Bill Wagner <[email protected]> * set topic type to reference for WCF diagnostics (#22819) * delete unimplemented rule doc (#22799) * Change EventPipe environment variables that went out of sync (#22947) * Parallel.ForEach should not be used for IO bound tasks (#22957) * Parallel.ForEach with CPU intensive operations * Refactored as per the code review comments * Fix ICorProfilerInfo9 .NET Core version, Fix COR_PRF_REJIT_FLAGS .NET Core version (#22964) * Correct ICorProfilerInfo9 available since .NET Core 2.1 * Correct that COR_PRF_REJIT_FLAGS was available in .NET Core 3.0 (ICorProfilerInfo10) * Cleanup .NET Core 2.2 include * Fix link to CA2247 (#22963) * update VS 'talk to us' link text (#23002) * Fix WF cookbook links (#23018) * Add preview 2 nullability changes (#23019) * Bump Octokit (#22933) Bumps [Octokit](https://github.com/octokit/octokit.net) from 0.49.0 to 0.50.0. - [Release notes](https://github.com/octokit/octokit.net/releases) - [Changelog](https://github.com/octokit/octokit.net/blob/main/ReleaseNotes.md) - [Commits](https://github.com/octokit/octokit.net/compare/v0.49.0...v0.50.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Octokit (#22934) Bumps [Octokit](https://github.com/octokit/octokit.net) from 0.49.0 to 0.50.0. - [Release notes](https://github.com/octokit/octokit.net/releases) - [Changelog](https://github.com/octokit/octokit.net/blob/main/ReleaseNotes.md) - [Commits](https://github.com/octokit/octokit.net/compare/v0.49.0...v0.50.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Require space before DU constructor arguments (#23094) * Bump Microsoft.NET.Test.Sdk (#22973) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22974) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22975) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk in /samples/snippets/csharp/xunit-test (#22976) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22977) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22979) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove DNX content (#22919) * Add breaking change from 2.0-2.1 (#22917) * breaking change from 2.0-2.1 * Update includes/core-changes/msbuild/2.1/dotnetclitoolreference.md Co-authored-by: Genevieve Warren <[email protected]> * Update includes/core-changes/msbuild/2.1/dotnetclitoolreference.md * Update msbuild file * Update msbuild file date * Update toc/title Co-authored-by: Genevieve Warren <[email protected]> * Bump Microsoft.NET.Test.Sdk (#22980) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22982) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22981) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22984) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22986) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Moq (#22978) Bumps [Moq](https://github.com/moq/moq4) from 4.16.0 to 4.16.1. - [Release notes](https://github.com/moq/moq4/releases) - [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md) - [Commits](https://github.com/moq/moq4/compare/v4.16.0...v4.16.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Moq (#22985) Bumps [Moq](https://github.com/moq/moq4) from 4.16.0 to 4.16.1. - [Release notes](https://github.com/moq/moq4/releases) - [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md) - [Commits](https://github.com/moq/moq4/compare/v4.16.0...v4.16.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22987) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add missing prefixes for dotnet tool install (#23042) * Bump Microsoft.NET.Test.Sdk (#22990) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.NET.Test.Sdk (#22989) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add a note to dotnet nuget add source (#22938) * Explain pseudo-code (#22693) * Fix line numbers for syntax highlighting (#23025) * Fix line numbers for syntax highlighting * Update docs/standard/security/cryptography-model.md * Numeric parsing precision breaking change (#23046) * Added rationale section per #22886 (#22907) * Added rationale section per #22886 * Apply suggestions from code review Co-authored-by: Bill Wagner <[email protected]> * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Bill Wagner <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> * Add details about "." in env var name (#22915) * Added cross-platform bits for env vars, and note/link re: . in names * Pre-commit hook, applied automatic markdownlint CLI fixes * Apply suggestions from code review * Create version-sweeper workflow YML file (#22931) * Create version-sweep.yml * Update .github/workflows/version-sweep.yml * added link for porting ebook in dotnet arch (#22965) * Porting eBook: add upgrade references (#22930) * add upgrade references * fix trailing spaces * Apply suggestions from code review Co-authored-by: David Pine <[email protected]> Co-authored-by: David Pine <[email protected]> * Explain Dockerfile in detail (#23012) * Address #22941 * Clean up, revery some of the crazy auto formating. * Even more auto format fixes * Fix MD linter violation * Update image syntax, this gives the grey border by default which was missing. * Remove second explaination, as it is a bit redundant. * Initial import of chapter and images * Updating image paths and styling * Update master to main * Remove update of .NET framework after upgrade * Linting updates * Linting updates * Linting update * Update page url in index * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix grammar Co-authored-by: Sumit Ghosh <[email protected]> * Fix spelling Co-authored-by: Sumit Ghosh <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Beth Massi <[email protected]> * Update spelling Co-authored-by: Scott Addie <[email protected]> * Adding comma Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Change click to select Co-authored-by: Scott Addie <[email protected]> * Contractions Co-authored-by: Scott Addie <[email protected]> * Contractions and update of "click" to "select" Co-authored-by: Scott Addie <[email protected]> * Grammar fix Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix emphasis Co-authored-by: Scott Addie <[email protected]> * Add emphasis Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Make active Co-authored-by: Scott Addie <[email protected]> * Add comma Co-authored-by: Scott Addie <[email protected]> * Fix grammar Co-authored-by: Scott Addie <[email protected]> * Update case Co-authored-by: Scott Addie <[email protected]> * Add missing word Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Fix URL Co-authored-by: Scott Addie <[email protected]> * Fix spelling Co-authored-by: Scott Addie <[email protected]> * Indenting snippets * Various review changes * Update grammar Co-authored-by: Scott Addie <[email protected]> * Change "click" to "select" * Various final edits * Adding deployment article * Linting * Linting * Linting * Linting * Starting to add codeql * Style updates * Initial codeql article * Adding actions v pipelines article * Adding Actions index page * Fix casing on title Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Fix casing Co-authored-by: Scott Addie <[email protected]> * Update markdownlint.yml * Linting * Linting * Linting * Linting * Various edits for review * More edits for review process * Casing and spelling updates * Spelling and casing * Casing updates * More edits * edit pass * Updating main index * Edits for review process * More edits for review * Remove bullet * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Scott Addie <[email protected]> * Another round of edits * Fix click * Edits to grammar * Fix casing * Fix acronym * Grammar edits * More review changes * Adding retain version to URLs * Grammar edits * Grammer fix * Revert "Merge branch 'master' into devops-ebook-actions-index" This reverts commit 4b812a135511a1a0a485f7c2c4c4d4aa20e03448, reversing changes made to 665e0581defb9620002faa4bb26e9b05dfe41d57. * Revert "Grammar edits" This reverts commit d9a33533e80d3504b5b7ff57ea0569f34e017ddf. * Various style edits * edit pass * react to build suggestions * fix broken ToC link * Update docs/architecture/devops-for-aspnet-developers/toc.yml * edit pass Co-authored-by: Bill Wagner <[email protected]> Co-authored-by: Petr Kulikov <[email protected]> Co-authored-by: DeadBushSanpai <[email protected]> Co-authored-by: sampreeth1999 <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Youssef Victor <[email protected]> Co-authored-by: Paulo Morgado <[email protected]> Co-authored-by: Sung Yoon Whang <[email protected]> Co-authored-by: John Salem <[email protected]> Co-authored-by: Maira Wenzel <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Surender Singh <[email protected]> Co-authored-by: Morgan Creekmore <[email protected]> Co-authored-by: Christer van der Meeren <[email protected]> Co-authored-by: Andy De George <[email protected]> Co-authored-by: Tom Dykstra <[email protected]> Co-authored-by: David Pine <[email protected]> Co-authored-by: Sreenivasulu Kalluru <[email protected]> Co-authored-by: Steve Smith <[email protected]> Co-authored-by: Sumit Ghosh <[email protected]> Co-authored-by: Beth Massi <[email protected]> Co-authored-by: Scott Addie <[email protected]> * Edit pass on GitHub Actions eBook content * Adjust the DevOps for ASP.NET Core Developers eBook TOC (#23552) * Update the DevOps for ASP.NET Core devs eBook, TOC * Pre-commit hook, applied automatic markdownlint CLI fixes * Updates based on rendered preview. * Added missing UID * Fix for devops-ebook (#23568) * Included next page link for index page * Fixed previous and next link in each pages * Fixed title for DevOps e-book * Fixed lint error * Updated index page (#23771) * Update docs/architecture/devops-for-aspnet-developers/monitoring.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/monitoring.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/monitoring.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-build.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-codeql.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-deploy.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-deploy.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-vs-pipelines.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-vs-pipelines.md Co-authored-by: Youssef Victor <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-vs-pipelines.md Co-authored-by: Youssef Victor <[email protected]> * Included review suggestions * Fixed lint errors * Included further suggestions * Removed unncessary codefence * Apply suggestions from code review Co-authored-by: David Pine <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-deploy.md Co-authored-by: David Pine <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-deploy.md Co-authored-by: David Pine <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-deploy.md Co-authored-by: David Pine <[email protected]> * Update docs/architecture/devops-for-aspnet-developers/actions-deploy.md Co-authored-by: David Pine <[email protected]> * Changed default branch from master to main * Updated cicd content * Fixed build related warning * Fixed indentation * Apply suggestions from code review * Apply suggestions from code review Fix broken links and add preserve view query string parameter. Co-authored-by: Nish Anil <[email protected]> Co-authored-by: Colin Dembovsky <[email protected]> Co-authored-by: Beth Massi <[email protected]> Co-authored-by: Scott Addie <[email protected]> Co-authored-by: David Pine <[email protected]> Co-authored-by: Bill Wagner <[email protected]> Co-authored-by: Petr Kulikov <[email protected]> Co-authored-by: DeadBushSanpai <[email protected]> Co-authored-by: sampreeth1999 <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Youssef Victor <[email protected]> Co-authored-by: Paulo Morgado <[email protected]> Co-authored-by: Sung Yoon Whang <[email protected]> Co-authored-by: John Salem <[email protected]> Co-authored-by: Maira Wenzel <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Surender Singh <[email protected]> Co-authored-by: Morgan Creekmore <[email protected]> Co-authored-by: Christer van der Meeren <[email protected]> Co-authored-by: Andy De George <[email protected]> Co-authored-by: Tom Dykstra <[email protected]> Co-authored-by: Sreenivasulu Kalluru <[email protected]> Co-authored-by: Steve Smith <[email protected]> Co-authored-by: Scott Addie <[email protected]>
1 parent dfa6277 commit a1c84bd

File tree

99 files changed

+2066
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2066
-3
lines changed
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
---
2+
title: DevOps with .NET and GitHub Actions - Build a .NET Web App
3+
description: Start your journey of DevOps with .NET and GitHub Actions by building a .NET web app
4+
author: colindembovsky
5+
ms.date: 03/04/2021
6+
---
7+
# Build a .NET web app using GitHub Actions
8+
9+
[GitHub Actions](https://github.com/features/actions) allow you to automate workflows in response to events that are triggered in GitHub. A common workflow is Continuous Integration (CI), but Actions can automate other processes. For example, sending welcome emails when people join a repository.
10+
11+
To explore moving code to the cloud, you'll build a GitHub Actions workflow file. The workflow file will be used for the Simple Feed Reader app you've already deployed to Azure App Service.
12+
13+
In this article, you will:
14+
> [!div class="checklist"]
15+
>
16+
> * Learn the basic structure of a GitHub Action workflow YAML file.
17+
> * Use a template to create a basic build workflow that builds the .NET app and executes unit tests.
18+
> * Publish the compiled app so that it's ready for deployment.
19+
20+
## Workflow structure
21+
22+
Workflows are defined in YAML files, and contain several common nodes:
23+
24+
- a `name`
25+
- a trigger, defined by an `on` section
26+
- one or more `job` sections composed of one or more `steps`
27+
- optional attributes such as `environment` variables
28+
29+
Jobs are run on *runners*. You can use *hosted runners*, which are spun up by GitHub during the workflow and then thrown away. Hosted runners are great because you don't have to maintain your own build infrastructure. For workflows that require a specific build environment, or for running workflows on a private network, you can also use *private* runners. To create a private runner, install the runner on any machine that supports .NET.
30+
31+
Each `job` will specify what runner GitHub should use to execute the `steps`. You can also specify dependencies between jobs using the `needs` attribute. Deployment jobs can also specify an `environment` to target.
32+
33+
The `steps` node can be as easy as inline commands, or they can be actions. Most CI workflows will have a combination of `run` steps (for executing scripts) and actions. Individual actions are pulled into the workflow by referencing the GitHub Action repository (and optionally a tag or commit hash for specific versions) and specifying any parameters using the `with` keyword.
34+
35+
> [!TIP]
36+
> For more information, see [GitHub Actions YAML syntax](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions).
37+
38+
## Create a basic build workflow
39+
40+
A primary principle of effective DevOps is to "build once, and deploy many times". You'll start by creating a workflow to build a basic .NET app. In the next step, you'll publish the output to prepare for deployment.
41+
42+
1. Navigate to your GitHub repository and select the **Actions** tab.
43+
1. GitHub detects that there's .NET code in the repository and suggests a .NET workflow template. Select **Set up this workflow** to create a new YAML workflow file:
44+
45+
![Creating a new workflow](./media/actions/build/new-action.jpg)
46+
47+
**Figure 1**: Creating a new workflow.
48+
49+
1. Commit the file onto the `main` branch. Since you've defined a trigger condition for *commits to main*, this commit should trigger the workflow to run.
50+
51+
![Commit the YAML file](./media/actions/build/commit-workflow.jpg)
52+
53+
**Figure 2**: Commit the YAML file.
54+
55+
1. Select the **Actions** tab again. You should see a running workflow. Once the workflow has completed, you should see a successful run.
56+
57+
![Successful build view](./media/actions/build/build-action-success.jpg)
58+
59+
**Figure 3**: Successful build view.
60+
61+
1. Opening the logs, you can see that the .NET build succeeded and the tests ran and passed.
62+
63+
![Checking the logs](./media/actions/build/build-action-success-logs.jpg)
64+
65+
**Figure 4**: Checking the logs.
66+
67+
> [!NOTE]
68+
> If any of the tests fail, the workflow will fail.
69+
70+
## Dissect the workflow file
71+
72+
Let's examine the workflow YAML file you have so far:
73+
74+
```yml
75+
name: .NET
76+
77+
on:
78+
push:
79+
branches: [ main ]
80+
pull_request:
81+
branches: [ main ]
82+
83+
jobs:
84+
build:
85+
86+
runs-on: ubuntu-latest
87+
88+
steps:
89+
- uses: actions/checkout@v2
90+
- name: Setup .NET
91+
uses: actions/setup-dotnet@v1
92+
with:
93+
dotnet-version: 5.0.x
94+
- name: Restore dependencies
95+
run: dotnet restore
96+
- name: Build
97+
run: dotnet build --no-restore
98+
- name: Test
99+
run: dotnet test --no-build --verbosity normal
100+
```
101+
102+
Notice the following things:
103+
104+
1. There's a `name` that names the workflow.
105+
1. The `on` object specifies when this workflow should run. This workflow has two events that trigger it: `push` to `main` and `pull_request` to `main`. Each time someone commits to `main` or creates a pull request (PR) to `main`, this workflow will execute.
106+
1. There's a single `job` called `build`. This build should run on a hosted agent. `ubuntu_latest` specifies the most recent Ubuntu hosted agent.
107+
1. There are five steps:
108+
1. `actions/checkout@v2` is an action that checks out the code in the repository onto the runner.
109+
1. `actions/setup-dotnet@v1` is an action that sets up the .NET CLI. This step also specifies a `name` attribute for the logs and the `dotnet-version` parameter within the `with` object.
110+
1. Three `run` steps that execute `dotnet restore`, `dotnet build`, and `dotnet test`. `name` attributes are also specified for these `run` steps to make the logs look pretty.
111+
112+
## Publish the output
113+
114+
Now that you've successfully built and tested the code, add steps that publish the output so you can deploy the web app.
115+
116+
1. Navigate to the *.github/workflows/dotnet.yml* file and select the pencil icon to edit it.
117+
118+
![Edit the YAML file](./media/actions/build/click-edit.jpg)
119+
120+
**Figure 5**: Edit the YAML file.
121+
122+
1. Add the following `Publish` step below the `Test` step. The step runs the `dotnet publish` command to publish the web app:
123+
124+
```yml
125+
- name: Test
126+
run: dotnet test --no-build --verbosity normal # <-- this is the current bottom line
127+
128+
- name: Publish
129+
run: dotnet publish SimpleFeedReader/SimpleFeedReader.csproj -c Release -o website
130+
```
131+
132+
1. This publishes the web app to a folder on the hosted agent. Now you'll want to *upload* the site as a build artifact that can be deployed to Azure. To complete this activity, you'll use an existing action.
133+
1. On the list of actions in the **Actions Helper** pane on the right, search for `artifact`. Select on the `Upload a Build Artifact (By actions)` action.
134+
135+
![Accessing the Actions helper](./media/actions/build/search-upload-artifact.jpg)
136+
137+
**Figure 6**: Accessing the snippet helper.
138+
139+
1. Edit the version to `v2.2.2` to display a sample snippet. Select the clipboard icon to copy the snippet and paste it into the workflow below the publish step.
140+
141+
![Copying a snippet](./media/actions/build/copy-snippet.jpg)
142+
143+
**Figure 7**: Copying a snippet.
144+
145+
1. Edit the YAML for this step to look as follows:
146+
147+
```yml
148+
- name: Upload a Build Artifact
149+
uses: actions/[email protected]
150+
with:
151+
name: website
152+
path: SimpleFeedReader/website/**
153+
if-no-files-found: error
154+
```
155+
156+
1. Commit the file.
157+
1. Once the workflow completes, you'll see the artifact from the **Home** tab:
158+
159+
![Viewing artifacts in the summary page](./media/actions/build/view-uploaded-artifact.jpg)
160+
161+
**Figure 8**: Viewing artifacts in the summary page.
162+
163+
### Final workflow file
164+
165+
The final workflow file should look something like this:
166+
167+
```yml
168+
name: .NET
169+
170+
on:
171+
push:
172+
branches: [ main ]
173+
pull_request:
174+
branches: [ main ]
175+
176+
jobs:
177+
build:
178+
179+
runs-on: ubuntu-latest
180+
181+
steps:
182+
- uses: actions/checkout@v2
183+
- name: Setup .NET
184+
uses: actions/setup-dotnet@v1
185+
with:
186+
dotnet-version: 5.0.x
187+
- name: Restore dependencies
188+
run: dotnet restore
189+
- name: Build
190+
run: dotnet build --no-restore
191+
- name: Test
192+
run: dotnet test --no-build --verbosity normal
193+
- name: Publish
194+
run: dotnet publish SimpleFeedReader/SimpleFeedReader.csproj -c Release -o website
195+
- name: Upload a Build Artifact
196+
uses: actions/[email protected]
197+
with:
198+
name: website
199+
path: SimpleFeedReader/website/**
200+
if-no-files-found: error
201+
```
202+
203+
>[!div class="step-by-step"]
204+
>[Previous](actions-vs-pipelines.md)
205+
>[Next](actions-deploy.md)
Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
---
2+
title: DevOps with .NET and GitHub Actions - Secure code with CodeQL
3+
description: Add security scanning to your .NET code with GitHub Actions and CodeQL
4+
author: colindembovsky
5+
ms.date: 03/04/2021
6+
---
7+
8+
# Secure .NET Code with CodeQL and GitHub Actions
9+
10+
[CodeQL](https://codeql.github.com/docs/codeql-overview/about-codeql/) is a static code analysis engine that can automate security and quality checks. With CodeQL, you can perform *variant analysis*, which uses known vulnerabilities as seeds to find similar issues. CodeQL is part of [GitHub Advanced Security](https://docs.github.com/github/getting-started-with-github/about-github-advanced-security) that includes:
11+
12+
> [!div class="checklist"]
13+
>
14+
> * Code scanning&mdash;find potential security vulnerabilities in your code.
15+
> * Secret scanning&mdash;detect secrets and tokens that are committed.
16+
> * Dependency scanning&mdash;detect vulnerabilities in packages that you consume.
17+
18+
CodeQL [supports some of the most popular programming languages and compilers](https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/):
19+
20+
- C/C++
21+
- Java
22+
- C#
23+
- Python
24+
- Go
25+
- JavaScript
26+
- TypeScript
27+
28+
CodeQL is a powerful language and security professionals can create custom queries using CodeQL. However, teams can benefit immensely from the large open-source collection of queries that the security community has created without having to write any custom CodeQL.
29+
30+
In this article, you'll set up a GitHub workflow that will scan code in your repository using CodeQL. You will:
31+
32+
> [!div class="checklist"]
33+
>
34+
> * Create a code scanning action.
35+
> * Edit the workflow file to include custom scan settings.
36+
> * See scanning results.
37+
38+
> [!NOTE]
39+
> To see security alerts for your repository, you must be a repository owner.
40+
41+
## Create the code scanning workflow
42+
43+
You can use a starter workflow for code scanning by navigating to the **Security** tab of your repository.
44+
45+
1. Navigate to your GitHub repository and select the **Security** > **Code Scanning Alerts**. The top recommended workflow should be CodeQL Analysis. Select **Set up this workflow**.
46+
47+
![Create a new code scanning workflow](./media/actions/codeql/setup-workflow.jpg)
48+
49+
**Figure 1:** Create a new code scanning workflow.
50+
51+
1. A new workflow file is created in your *.github/workflows* folder.
52+
1. Select **Start Commit** on the upper right to save the default workflow. You can commit to the `main` branch.
53+
54+
![Commit the file](./media/actions/codeql/start-commit.jpg)
55+
56+
**Figure 2:** Commit the file.
57+
58+
1. Select the **Actions** tab. In the left-hand tree, you'll see a **CodeQL** node. Select this node to filter for CodeQL workflow runs.
59+
60+
![View the CodeQL workflow runs](./media/actions/codeql/codeql-run.jpg)
61+
62+
**Figure 3:** View the CodeQL workflow runs.
63+
64+
Take a look at the workflow file while it runs. If you remove the comments from the file, you'll see the following YAML:
65+
66+
```yml
67+
name: "CodeQL"
68+
69+
on:
70+
push:
71+
branches: [ main ]
72+
pull_request:
73+
branches: [ main ]
74+
schedule:
75+
- cron: '40 14 * * 6'
76+
77+
jobs:
78+
analyze:
79+
name: Analyze
80+
runs-on: ubuntu-latest
81+
82+
strategy:
83+
fail-fast: false
84+
matrix:
85+
language: [ 'csharp' ]
86+
87+
steps:
88+
- name: Checkout repository
89+
uses: actions/checkout@v2
90+
91+
- name: Initialize CodeQL
92+
uses: github/codeql-action/init@v1
93+
with:
94+
languages: ${{ matrix.language }}
95+
96+
- name: Autobuild
97+
uses: github/codeql-action/autobuild@v1
98+
99+
- name: Perform CodeQL Analysis
100+
uses: github/codeql-action/analyze@v1
101+
```
102+
103+
Notice the following things:
104+
105+
1. The workflow `name` is `CodeQL`.
106+
1. This workflow triggers on `push` and `pull_request` events to the `main` branch. There's also a `cron` trigger. The `cron` trigger lets you define a schedule for triggering this workflow and is randomly generated for you. In this case, this workflow will run at 14:40 UTC every Saturday.
107+
108+
> [!TIP]
109+
> If you edit the workflow file and hover over the cron expression, a tooltip will show you the English text for the cron expression.
110+
111+
1. There's a single job called `analyze` that runs on the `ubuntu-latest` hosted agent.
112+
1. This workflow defines a `strategy` with a `matrix` on the array of `language`. In this case, there's only `csharp`. If the repository contained other languages, you could add them to this array. This causes the job to "fan out" and create an instance per value of the matrix.
113+
1. There are four steps, starting with `checkout`.
114+
1. The second step initializes the CodeQL scanner for the `language` this job is going to scan. CodeQL intercepts calls to the compiler to build a database of the code while the code is being built.
115+
1. The `Autobuild` step will attempt to automatically build the source code using common conventions. If this step fails, you can replace it with your own custom build steps.
116+
1. After building, the CodeQL analysis is performed, where suites of queries are run against the code database.
117+
1. The run should complete successfully. However, there appear to be no issues.
118+
119+
![No results to the initial scan](./media/actions/codeql/no-results.jpg)
120+
121+
**Figure 4:** No results to the initial scan.
122+
123+
## Customize CodeQL settings
124+
125+
The CodeQL scan isn't reporting any security issues. That's expected with this basic sample. CodeQL can also scan for *quality* issues. The current workflow is using the default `security-extended` suite. You can add quality scanning in by adding a configuration file to customize the scanning suites. In this step, you'll configure CodeQL to use the `security-and-quality` suites.
126+
127+
> [!INFORMATION]
128+
> For other CodeQL configuration options, see [Configuring CodeQL code scanning in your CI system](https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-codeql-code-scanning-in-your-ci-system).
129+
130+
1. Navigate to the *.github* folder in the **Code** tab and select **Add File**:
131+
132+
![Create a new file](./media/actions/codeql/create-new-file.jpg)
133+
134+
**Figure 5:** Create a new file.
135+
136+
1. Enter *codeql/codeql-config.yml* as the name. This creates the file in a folder. Paste in the following code:
137+
138+
```yml
139+
name: "Security and Quality"
140+
141+
queries:
142+
- uses: security-and-quality
143+
```
144+
145+
![Create the CodeQL config file](./media/actions/codeql/codeql-config.jpg)
146+
147+
**Figure 6:** Create the CodeQL configuration file.
148+
149+
1. Select **Commit to main** at bottom of the editor to commit the file.
150+
1. Edit the CodeQL workflow to use the new configuration file. Navigate to *.github/workflows/codeql-analysis.yml* and select the pencil icon. Add a new property to the `with` section as shown below:
151+
152+
```yml
153+
- name: Initialize CodeQL
154+
uses: github/codeql-action/init@v1
155+
with:
156+
languages: ${{ matrix.language }}
157+
config-file: ./.github/codeql/codeql-config.yml # <-- add this line
158+
```
159+
160+
1. Select **Start Commit** and commit to the `main` branch.
161+
162+
## Review the security alerts
163+
164+
> [!IMPORTANT]
165+
> You must be a repository owner to view security alerts.
166+
>
167+
> This sample repository is small. As such, it doesn't contain any major security or quality issues. However, "real world" repositories will likely have some issues.
168+
169+
When the last CodeQL workflow run completes, you should see two issues in the **Security** tab:
170+
171+
![View security alerts](./media/actions/codeql/security-alerts.jpg)
172+
173+
**Figure 7:** View security alerts.
174+
175+
1. Select the first alert to open it.
176+
1. In this case, the alert is for a generated file that isn't committed to the repository. For that reason, the preview is unavailable.
177+
1. Notice the tags that are applied. These tags can be used for filtering issues.
178+
1. Select **Show more** under the rule information to show help and recommendations.
179+
180+
![Open an alert](./media/actions/codeql/alert.jpg)
181+
182+
**Figure 8:** Open an alert.
183+
184+
1. Selecting **Dismiss** will open options for dismissing this issue:
185+
186+
![Dismiss an alert](./media/actions/codeql/dismiss.jpg)
187+
188+
**Figure 9:** Dismiss an alert.
189+
190+
>[!div class="step-by-step"]
191+
>[Previous](actions-deploy.md)
192+
>[Next](monitoring.md)

0 commit comments

Comments
 (0)