Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Porting eBook #27512

Merged
merged 48 commits into from
Dec 14, 2021
Merged

Conversation

ardalis
Copy link
Contributor

@ardalis ardalis commented Dec 12, 2021

sync porting-ebook-net6 with main before reviewing

ardalis and others added 30 commits November 15, 2021 13:58
* Update cs5001.md (dotnet#27080)

* Update cs5001.md

* Update docs/csharp/misc/cs5001.md

Co-authored-by: David Pine <david.pine@microsoft.com>

* Remove redundant nullable operator (dotnet#27023)

* Remove redundant nullable operator

Remove redundant nullable operator for reference type. String is a reference type and always nullable,

* Make undesired error more clear

Co-authored-by: Bill Wagner <wiwagn@microsoft.com>

Co-authored-by: Bill Wagner <wiwagn@microsoft.com>

* update version

* fix typo

Co-authored-by: Machiel visser <16868513+machielvisser@users.noreply.github.com>
Co-authored-by: David Pine <david.pine@microsoft.com>
Co-authored-by: Artur Khutak <rd.artyrchik@gmail.com>
Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
changed short description to shortDescription in the comments to avoid confusion.
…dotnet#27040)

* Add details about overloading == and != operators

* Apply suggestions from code review

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
When the code sample `InsertNewlinesEveryTenTextElements` is run, the first newline is 11 characters long when it is meant to be 10. This commit fixes that by making the `textElementCount` start at 1.
* Update linux-fedora.md

* Update linux-fedora.md
Facts cannot be stated in an imperative form. Otherwise, I would call it a "tip".
* Add with-expressions to anonymous types

Fixes dotnet#26770

With-expressions can be used with anonymous types.

* code review
Bumps [Humanizer](https://github.com/Humanizr/Humanizer) from 2.11.10 to 2.13.14.
- [Release notes](https://github.com/Humanizr/Humanizer/releases)
- [Changelog](https://github.com/Humanizr/Humanizer/blob/main/release_notes.md)
- [Commits](Humanizr/Humanizer@v2.11.10...v2.13.14)

---
updated-dependencies:
- dependency-name: Humanizer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…otnet#27118)

* Update ExampleAsyncDisposable.cs

* Update ExampleConjunctiveDisposable.cs
* Add documentation for CA2255 (new in .NET 6)

* Address pr feedback
Copy link
Member

@IEvangelist IEvangelist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you @ardalis - I just have a few suggestions.

@IEvangelist
Copy link
Member

Additionally, @ardalis - there are two other issues that need to be addressed before merging:

  • Warning | Line 30 of
    docs/architecture/porting-existing-aspnet-apps/incremental-migration-strategies.md

    Invalid file link: '../../core/compatibility/6.0'.

  • Suggestion | Line 10 of
    docs/architecture/porting-existing-aspnet-apps/migrate-aspnet-core-2-1.md

    Absolute link 'https://docs.microsoft.com/lifecycle/products/microsoft-net-framework' will be broken in isolated environments. Replace with a relative link.

ardalis and others added 4 commits December 13, 2021 11:44
Co-authored-by: David Pine <david.pine@microsoft.com>
…cture.md

Co-authored-by: David Pine <david.pine@microsoft.com>
@ardalis
Copy link
Contributor Author

ardalis commented Dec 13, 2021

I think it's all good now.

@IEvangelist IEvangelist merged commit 90d94d6 into dotnet:porting-ebook-net6 Dec 14, 2021
@ardalis ardalis deleted the ardalis/porting-ebook branch February 2, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.