Skip to content

Commit 2a6dc59

Browse files
colindembovskyBillWagnerpkulikovDeadBushSanpaisampreeth-inkulu
authored
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](microsoft/testfx@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](microsoft/testfx@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](microsoft/testfx@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](microsoft/testfx@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](microsoft/testfx@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](microsoft/testfx@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](microsoft/testfx@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](dotnet/roslyn@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](dotnet/roslyn@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](dotnet/roslyn@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](dotnet/roslyn@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](dotnet/roslyn@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](dotnet/roslyn@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](microsoft/testfx@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](octokit/octokit.net@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](octokit/octokit.net@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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](devlooped/moq@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](devlooped/moq@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](microsoft/vstest@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](microsoft/vstest@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](microsoft/vstest@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 4b812a1, reversing changes made to 665e058. * Revert "Grammar edits" This reverts commit d9a3353. * 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]>
1 parent 2658874 commit 2a6dc59

File tree

6 files changed

+66
-6
lines changed

6 files changed

+66
-6
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Continuous integration and deployment with GitHub Actions overview
3+
description: See how GitHub Actions is a great platform for .NET DevOps
4+
author: colindembovsky
5+
ms.date: 03/04/2021
6+
---
7+
# Continuous integration and deployment with GitHub Actions
8+
9+
GitHub has long been the home for millions of open-source developers around the globe. Most developers associate source control with GitHub. However, GitHub is an evolving platform that can be used for more than just synchronizing Git repositories.
10+
11+
## GitHub Actions
12+
13+
GitHub Actions is a workflow engine that can automate workflows for nearly all events that occur on GitHub. Actions is a great solution for Continuous Integration/Continuous Deployment (CI/CD) pipelines.
14+
15+
In this section of articles, you'll learn how to create an Actions workflow. The workflow will build, test, and deploy a .NET web app to Azure Web Apps.
16+
17+
> [!NOTE]
18+
> Before you begin, complete the **Publish the app's code to GitHub** and **Disconnect local Git deployment** sections of the [Continuous integration and deployment with Azure DevOps](cicd.md) section to publish your code to GitHub. Then proceed to the [Build](actions-build.md) article.
19+
20+
In the [Build](actions-build.md) article, you'll create the initial workflow to build and test the .NET app. You'll:
21+
22+
> [!div class="checklist"]
23+
24+
> * Learn the basic structure of a GitHub Action workflow YAML file.
25+
> * Use a template to create a basic build workflow that builds a .NET app and executes unit tests.
26+
> * Publish the compiled app so that it's ready for deployment.
27+
28+
In the [Deploy](actions-build.md) article, you'll:
29+
30+
> [!div class="checklist"]
31+
32+
> * Learn about environments in GitHub Actions.
33+
> * Create two environments and specify environment protection rules.
34+
> * Create environment secrets for managing environment-specific configuration.
35+
> * Extend the workflow YAML file to add deployment steps.
36+
> * Add a manual dispatch trigger.
37+
38+
## Secure code with CodeQL
39+
40+
In addition to building and deploying code, [GitHub Advanced Security](https://docs.github.com/github/getting-started-with-github/about-github-advanced-security) offers tools for "shifting left" with security. That is, integrating security early on in the software delivery lifecycle. [CodeQL](https://codeql.github.com/docs/codeql-overview/about-codeql/) is a code scanning language that runs queries to find potential vulnerabilities or quality issues in your code. CodeQL is run using an Actions workflow.
41+
42+
In the [CodeQL](actions-codeql.md) article, you'll:
43+
44+
> [!div class="checklist"]
45+
46+
> * Create a Code Scanning Action.
47+
> * Edit the workflow file to include custom scan settings.
48+
> * See scanning results.
49+
50+
## Compare and contrast GitHub Actions and Azure Pipelines
51+
52+
GitHub Actions and Azure Pipelines have a common lineage and are similar in many respects. However, you should understand the differences before selecting a platform for building, testing, and deploying apps. In the [Comparison](actions-vs-pipelines.md) article, you'll deep dive into these platforms and compare and contrast them. You'll also learn how to select the correct platform for your CI/CD needs.

docs/architecture/devops-for-aspnet-developers/actions-vs-pipelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Before you compare GitHub Actions and Azure Pipelines, you should consider the b
2626
2727
## Agents and runners
2828

29-
Before you examine pipelines themselves, you should consider how these pipelines _execute_. Both GitHub Actions and Azure Pipelines are really _orchestration engines_: when a pipeline is triggered, the system finds an "agent" and tells the agent to execute the jobs defined in the pipeline file.
29+
Before you examine pipelines themselves, you should consider how these pipelines _execute_. Both GitHub Actions and Azure Pipelines are really _orchestration engines_. When a pipeline is triggered, the system finds an "agent" and tells the agent to execute the jobs defined in the pipeline file.
3030

3131
Azure Pipelines run on _agents_. The agent is written in .NET, so it will run wherever .NET can run: Windows, macOS, and Linux. Agents can even run in containers. Agents are registered to a [pool](/azure/devops/pipelines/agents/pools-queues?view=azure-devops&preserve-view=true) in Azure Pipelines or to a repository or organization in GitHub. Agents can be _hosted_ or _private_.
3232

docs/architecture/devops-for-aspnet-developers/cicd.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ ms.custom: "devx-track-csharp, mvc, seodec18"
88
no-loc: [appsettings.json, "ASP.NET Core Identity", cookie, Cookie, Blazor, "Blazor Server", "Blazor WebAssembly", "Identity", "Let's Encrypt", Razor, SignalR]
99
uid: azure/devops/cicd
1010
---
11-
# Continuous integration and deployment
11+
# Continuous integration and deployment with Azure DevOps
12+
13+
> [!NOTE]
14+
> This section details continuous integration and deployment with Azure DevOps. GitHub Actions is a workflow engine built into GitHub that can also be used for continuous integration and deployment. To follow the guide for building and deploying to Azure using GitHub, complete the **Publish the app's code to GitHub** and **Disconnect local Git deployment** sections below and then proceed to the [GitHub Actions section](actions-index.md).
1215
1316
In the previous chapter, you created a local Git repository for the Simple Feed Reader app. In this chapter, you'll publish that code to a GitHub repository and construct an Azure DevOps Services pipeline using Azure Pipelines. The pipeline enables continuous builds and deployments of the app. Any commit to the GitHub repository triggers a build and a deployment to the Azure Web App's staging slot.
1417

docs/architecture/devops-for-aspnet-developers/deploying-to-app-service.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In this section, you'll accomplish the following tasks:
2424

2525
## Download and test the app
2626

27-
The app used in this guide is a pre-built ASP.NET Core app, [Simple Feed Reader](https://github.com/Azure-Samples/simple-feed-reader/). It's a Razor Pages app that uses the `Microsoft.SyndicationFeed.ReaderWriter` API to retrieve an RSS/Atom feed and display the news items in a list.
27+
The app used in this guide is a pre-built ASP.NET Core app, [Simple Feed Reader](https://github.com/dotnet-architecture/simple-feed-reader/). It's an ASP.NET Core Razor Pages app that uses the `Microsoft.SyndicationFeed.ReaderWriter` API to retrieve an RSS/Atom feed and display the news items in a list.
2828

2929
Feel free to review the code, but it's important to understand that there's nothing special about this app. It's just a simple ASP.NET Core app for illustrative purposes.
3030

@@ -35,7 +35,7 @@ From a command shell, download the code, build the project, and run it as follow
3535
1. Clone the code to a folder on your local machine.
3636

3737
```console
38-
git clone https://github.com/Azure-Samples/simple-feed-reader/
38+
git clone hhttps://github.com/dotnet-architecture/simple-feed-reader/
3939
```
4040

4141
2. Change your working folder to the *simple-feed-reader* folder that was created.

docs/architecture/devops-for-aspnet-developers/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ uid: azure/devops/index
1212

1313
[![Cover Image](./media/cover-large.png)](https://aka.ms/devopsbook)
1414

15-
By [Cam Soper](https://twitter.com/camsoper) and [Scott Addie](https://twitter.com/scottaddie)
15+
By [Cam Soper](https://twitter.com/camsoper), [Scott Addie](https://twitter.com/scottaddie), and [Colin Dembovsky](https://twitter.com/colindembovsky)
1616

1717
This guide is available as a [downloadable PDF e-book](https://aka.ms/devopsbook).
1818

@@ -40,10 +40,14 @@ Learn where to acquire the tools used in this guide.
4040

4141
Learn the various methods for deploying an ASP.NET Core app to Azure App Service.
4242

43-
### [Continuous integration and deployment](xref:azure/devops/cicd)
43+
### [Continuous integration and deployment with Azure DevOps](xref:azure/devops/cicd)
4444

4545
Build an end-to-end continuous integration and deployment solution for your ASP.NET Core app with GitHub, Azure DevOps Services, and Azure.
4646

47+
### [Continuous integration and deployment with GitHub Actions]
48+
49+
Build an end-to-end continuous integration and deployment solution for your ASP.NET Core app with GitHub, GitHub Actions, and Azure, including code scanning for security and quality using CodeQL.
50+
4751
### [Monitor and debug](xref:azure/devops/monitor)
4852

4953
Use Azure's tools to monitor, troubleshoot, and tune your application.

docs/architecture/devops-for-aspnet-developers/toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- name: Next steps - DevOps with ASP.NET Core and Azure
1313
href: next-steps.md
1414
- name: CI/CD with GitHub Actions
15+
href: actions-index.md
1516
items:
1617
- name: Comparison of GitHub Actions and Azure Pipelines
1718
href: actions-vs-pipelines.md

0 commit comments

Comments
 (0)