Link the Generic Host guide from the other .NET docs pages for v7.0.0

Open Beginner friendly
#5,912 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
documentation

Research direction

Start with the listed .NET documentation pages and migration include files on the dotnet-v7 branch; compare their existing UseSentry references and .NET integration lists with the linked Generic Host guide. Add links or entries where specified, then review the pages to confirm the guide is discoverable from each relevant context.

Written by the indexing model from the issue text.

Description

.NET Docs Next Major State: Needs Discussion

getsentry/sentry-docs#20311 added the Generic Host guide (/platforms/dotnet/guides/extensions-hosting/) to the dotnet-v7 docs branch, for #5707. The Microsoft.Extensions.Logging guide links to it. The other pages that tell generic host apps to call UseSentry don't.

Where to add links

All paths are on dotnet-v7.

  • Azure Functions guide (docs/platforms/dotnet/guides/azure-functions-worker/index.mdx): it uses UseSentry from Sentry.Extensions.Hosting, but only links the package on NuGet.
  • Logs setup (platform-includes/logs/setup/dotnet.mdx): the paragraph on apps on the .NET Generic Host.
  • Logs integrations list (platform-includes/logs/integrations/dotnet.mdx): add a Generic Host entry for /platforms/dotnet/guides/extensions-hosting/logs/.
  • Product getting-started pages (docs/product/logs/getting-started/index.mdx and docs/product/metrics/getting-started/index.mdx): the .NET lists have ASP.NET Core, MAUI and Microsoft.Extensions.Logging, but not Generic Host.
  • Migration guide: the "Generic Host Apps Call UseSentry" entry (includes/migration/dotnet-v7/generic-host-apps-call-usesentry.mdx) and the overview (includes/dotnet-v7-migration-overview.mdx). logging-integrations-no-longer-initialize-sentry.mdx and update-all-sentry-packages-together.mdx also name the package.
  • Environment option (docs/platforms/dotnet/common/configuration/options.mdx), optional: it mentions Generic Host apps.

The .NET docs aren't versioned, so this merges into dotnet-v7 and ships with 7.0.0.

Dominant language
C#
Stars
774
Forks
256
Avg merge
1d 10h
Merged PRs (30d)
110

Getting set up

First steps

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

More from getsentry/sentry-dotnet

All issues in getsentry/sentry-dotnet

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.