@@ -38,35 +38,34 @@ Sentry captures data by using an SDK within your application's runtime. These ar
3838
3939Install the ** NuGet** package to add the Sentry dependency:
4040
41- <OnboardingOption optionId = " profiling" >
41+ <OnboardingOption optionId = " error-monitoring" >
42+
43+ ``` shell {tabTitle:.NET Core CLI}
44+ dotnet add package Sentry -v {{@inject packages.version(' sentry.dotnet' ) }}
45+ ```
4246
43- <Alert >
47+ ``` powershell {tabTitle:Package Manager}
48+ Install-Package Sentry. -Version {{@inject packages.version('sentry.dotnet') }}
49+ ```
4450
45- Sentry profiling for .NET is available in Alpha on .NET 8.0 and newer.
51+ </ OnboardingOption >
4652
47- </ Alert >
53+ < OnboardingOption optionId = " profiling " >
4854
4955 ``` shell {tabTitle:.NET Core CLI}
50- dotnet add package Sentry -v {{@inject packages.version(' sentry.dotnet' ) }}
5156 dotnet add package Sentry.Profiling -v {{@inject packages.version(' sentry.dotnet.profiling' ) }}
5257 ```
5358
5459 ``` powershell {tabTitle:Package Manager}
55- Install-Package Sentry -Version {{@inject packages.version('sentry.dotnet') }}
5660 Install-Package Sentry.Profiling -Version {{@inject packages.version('sentry.dotnet.profiling') }}
5761 ```
5862
59- ``` shell {tabTitle:Paket CLI}
60- paket add Sentry --version {{@inject packages.version(' sentry.dotnet' ) }}
61- paket add Sentry.Profiling --version {{@inject packages.version(' sentry.dotnet.profiling' ) }}
62- ```
6363</OnboardingOption >
6464
6565## Configure
6666
6767To capture all errors, even the one during the startup of your application, you should initialize the Sentry .NET SDK as soon as possible.
6868
69-
7069``` csharp
7170SentrySdk .Init (options =>
7271{
@@ -89,4 +88,4 @@ SentrySdk.Init(options =>
8988
9089This snippet includes an intentional error, so you can test that everything is working as soon as you set it up.
9190
92- <PlatformContent includePath = " getting-started-verify" />
91+ <PlatformContent includePath = " getting-started-verify" />
0 commit comments