Skip to content

ASP.NET Core docs should use WebApplication.CreateBuilder #4354

@jamescrosswell

Description

@jamescrosswell

Description

The docs here for getting started:
https://docs.sentry.io/platforms/dotnet/guides/aspnetcore/configuration/options/

...currently describe how to configure Sentry using ASP.NET Core 2.x (WebHost.CreateDefaultBuilder) and ASP.NET Core 3.0 (Host.CreateDefaultBuilder) but not via the modern default for net6.0 and later (WebApplication.CreateBuilder).

We should keep up with the times in our docs and samples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeDocs

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions