From b85f04c562976fb27871e590566753124b9c9192 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Thu, 6 Jun 2024 10:12:36 +0200 Subject: [PATCH 1/6] chore: add asp.net core webapi template sample --- .../Controllers/WeatherForecastController.cs | 32 +++++++++++++++ .../Program.cs | 25 +++++++++++ .../Properties/launchSettings.json | 41 +++++++++++++++++++ ...Samples.AspNetCore.WebAPI.Profiling.csproj | 16 ++++++++ ...y.Samples.AspNetCore.WebAPI.Profiling.http | 6 +++ .../WeatherForecast.cs | 12 ++++++ .../appsettings.Development.json | 8 ++++ .../appsettings.json | 9 ++++ 8 files changed, 149 insertions(+) create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Controllers/WeatherForecastController.cs create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Properties/launchSettings.json create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.http create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/WeatherForecast.cs create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.Development.json create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.json diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Controllers/WeatherForecastController.cs b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Controllers/WeatherForecastController.cs new file mode 100644 index 0000000000..7aa2cf6bfa --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Controllers/WeatherForecastController.cs @@ -0,0 +1,32 @@ +using Microsoft.AspNetCore.Mvc; + +namespace Sentry.Samples.AspNetCore.WebAPI.Profiling.Controllers; + +[ApiController] +[Route("[controller]")] +public class WeatherForecastController : ControllerBase +{ + private static readonly string[] Summaries = new[] + { + "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" + }; + + private readonly ILogger _logger; + + public WeatherForecastController(ILogger logger) + { + _logger = logger; + } + + [HttpGet(Name = "GetWeatherForecast")] + public IEnumerable Get() + { + return Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = Summaries[Random.Shared.Next(Summaries.Length)] + }) + .ToArray(); + } +} diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs new file mode 100644 index 0000000000..48863a6d6c --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs @@ -0,0 +1,25 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. + +builder.Services.AddControllers(); +// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle +builder.Services.AddEndpointsApiExplorer(); +builder.Services.AddSwaggerGen(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (app.Environment.IsDevelopment()) +{ + app.UseSwagger(); + app.UseSwaggerUI(); +} + +app.UseHttpsRedirection(); + +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Properties/launchSettings.json b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Properties/launchSettings.json new file mode 100644 index 0000000000..c68e102117 --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Properties/launchSettings.json @@ -0,0 +1,41 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:54744", + "sslPort": 44391 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "http://localhost:5154", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "https://localhost:7117;http://localhost:5154", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj new file mode 100644 index 0000000000..232f521129 --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj @@ -0,0 +1,16 @@ + + + + net8.0 + enable + enable + + + + + + + + + + diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.http b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.http new file mode 100644 index 0000000000..4d531a410b --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.http @@ -0,0 +1,6 @@ +@Sentry.Samples.AspNetCore.WebAPI.Profiling_HostAddress = http://localhost:5154 + +GET {{Sentry.Samples.AspNetCore.WebAPI.Profiling_HostAddress}}/weatherforecast/ +Accept: application/json + +### diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/WeatherForecast.cs b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/WeatherForecast.cs new file mode 100644 index 0000000000..310af09a2a --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/WeatherForecast.cs @@ -0,0 +1,12 @@ +namespace Sentry.Samples.AspNetCore.WebAPI.Profiling; + +public class WeatherForecast +{ + public DateOnly Date { get; set; } + + public int TemperatureC { get; set; } + + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + + public string? Summary { get; set; } +} diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.Development.json b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.Development.json new file mode 100644 index 0000000000..0c208ae918 --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.json b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.json new file mode 100644 index 0000000000..10f68b8c8b --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} From 451aabdedb33f8d5d8d0abf1c1ab75c877738877 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Thu, 6 Jun 2024 10:12:46 +0200 Subject: [PATCH 2/6] enable profiling --- .../Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs index 48863a6d6c..dde356bb5d 100644 --- a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Program.cs @@ -1,5 +1,13 @@ var builder = WebApplication.CreateBuilder(args); +builder.WebHost.UseSentry(o => +{ + o.Dsn = "https://eb18e953812b41c3aeb042e666fd3b5c@o447951.ingest.sentry.io/5428537"; + o.AddIntegration(new ProfilingIntegration()); + o.ProfilesSampleRate = 0.1; + o.TracesSampleRate = 1.0; +}); + // Add services to the container. builder.Services.AddControllers(); From 1072079872c17ef1317d3fd4b3bb87320a8f3eac Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Thu, 6 Jun 2024 10:29:01 +0200 Subject: [PATCH 3/6] update sln --- Sentry.sln | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Sentry.sln b/Sentry.sln index f218520720..e0fe3df1a2 100644 --- a/Sentry.sln +++ b/Sentry.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -173,6 +173,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Hangfire", "src\Sent EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Hangfire.Tests", "test\Sentry.Hangfire.Tests\Sentry.Hangfire.Tests.csproj", "{46E40BE8-1AB0-4846-B0A2-A40AD0272C64}" EndProject +Project("{{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Samples.AspNetCore.WebAPI.Profiling", "samples\Sentry.Samples.AspNetCore.WebAPI.Profiling\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "{A5B26C14-7313-4EDC-91E3-287F9374AB75}" +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{233D34AB-970E-4913-AA1E-172E833FB5B2}" ProjectSection(SolutionItems) = preProject README.md = README.md @@ -502,6 +504,10 @@ Global {46E40BE8-1AB0-4846-B0A2-A40AD0272C64}.Debug|Any CPU.Build.0 = Debug|Any CPU {46E40BE8-1AB0-4846-B0A2-A40AD0272C64}.Release|Any CPU.ActiveCfg = Release|Any CPU {46E40BE8-1AB0-4846-B0A2-A40AD0272C64}.Release|Any CPU.Build.0 = Release|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -587,5 +593,6 @@ Global {407C477D-69C0-4B02-8A68-EE6B5A81C696} = {21B42F60-5802-404E-90F0-AEBCC56760C0} {EADF25F5-8D02-4747-AB54-5F2BAA648471} = {230B9384-90FD-4551-A5DE-1A5C197F25B6} {46E40BE8-1AB0-4846-B0A2-A40AD0272C64} = {6987A1CC-608E-4868-A02C-09D30C8B7B2D} + {A5B26C14-7313-4EDC-91E3-287F9374AB75} = {21B42F60-5802-404E-90F0-AEBCC56760C0} EndGlobalSection EndGlobal From da0ccaee85e1fc3051f5acf0645e75416b007208 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Thu, 6 Jun 2024 11:36:16 +0200 Subject: [PATCH 4/6] feat: implicit using Sentry.Profiling --- .../Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj | 3 +++ samples/Sentry.Samples.Console.Profiling/Program.cs | 1 - .../Sentry.Samples.Console.Profiling.csproj | 3 +++ src/Sentry.Profiling/buildTransitive/Sentry.Profiling.targets | 4 ++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj index 232f521129..6ca934c5fc 100644 --- a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj @@ -10,7 +10,10 @@ + + + diff --git a/samples/Sentry.Samples.Console.Profiling/Program.cs b/samples/Sentry.Samples.Console.Profiling/Program.cs index ef94176029..0139831af1 100644 --- a/samples/Sentry.Samples.Console.Profiling/Program.cs +++ b/samples/Sentry.Samples.Console.Profiling/Program.cs @@ -1,5 +1,4 @@ using System.Diagnostics; -using Sentry.Profiling; internal static class Program { diff --git a/samples/Sentry.Samples.Console.Profiling/Sentry.Samples.Console.Profiling.csproj b/samples/Sentry.Samples.Console.Profiling/Sentry.Samples.Console.Profiling.csproj index 5b8ef066da..ddd04493b5 100644 --- a/samples/Sentry.Samples.Console.Profiling/Sentry.Samples.Console.Profiling.csproj +++ b/samples/Sentry.Samples.Console.Profiling/Sentry.Samples.Console.Profiling.csproj @@ -9,4 +9,7 @@ + + + diff --git a/src/Sentry.Profiling/buildTransitive/Sentry.Profiling.targets b/src/Sentry.Profiling/buildTransitive/Sentry.Profiling.targets index 06859eec33..77d521f2c9 100644 --- a/src/Sentry.Profiling/buildTransitive/Sentry.Profiling.targets +++ b/src/Sentry.Profiling/buildTransitive/Sentry.Profiling.targets @@ -1,4 +1,8 @@ + + + + From 6120fec1d8e1457fbaa0ddc169f0a55ee352a26d Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Wed, 2 Oct 2024 09:39:04 +0200 Subject: [PATCH 5/6] update webapi heap limit --- .../runtimeconfig.template.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/runtimeconfig.template.json diff --git a/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/runtimeconfig.template.json b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/runtimeconfig.template.json new file mode 100644 index 0000000000..a07d7c12b2 --- /dev/null +++ b/samples/Sentry.Samples.AspNetCore.WebAPI.Profiling/runtimeconfig.template.json @@ -0,0 +1,5 @@ +{ + "configProperties": { + "System.GC.HeapHardLimit": 209715200 + } +} From 151513e7e9823a2bc536e6694fdcb46cb2b548db Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Wed, 2 Oct 2024 12:54:26 +0200 Subject: [PATCH 6/6] chore: update solution filters --- .generated.NoMobile.sln | 9 ++++++++- Sentry-CI-Build-Linux.slnf | 1 + Sentry-CI-Build-Windows.slnf | 1 + Sentry-CI-Build-macOS.slnf | 1 + SentryAspNetCore.slnf | 1 + SentryNoMobile.slnf | 1 + 6 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.generated.NoMobile.sln b/.generated.NoMobile.sln index e212ca2dd2..b16047a37a 100644 --- a/.generated.NoMobile.sln +++ b/.generated.NoMobile.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -173,6 +173,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Hangfire", "src\Sent EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Hangfire.Tests", "test\Sentry.Hangfire.Tests\Sentry.Hangfire.Tests.csproj", "{46E40BE8-1AB0-4846-B0A2-A40AD0272C64}" EndProject +Project("{{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Samples.AspNetCore.WebAPI.Profiling", "samples\Sentry.Samples.AspNetCore.WebAPI.Profiling\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "{A5B26C14-7313-4EDC-91E3-287F9374AB75}" +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{233D34AB-970E-4913-AA1E-172E833FB5B2}" ProjectSection(SolutionItems) = preProject README.md = README.md @@ -508,6 +510,10 @@ Global {8298202C-9983-4D0A-851D-805539EE481A}.Debug|Any CPU.Build.0 = Debug|Any CPU {8298202C-9983-4D0A-851D-805539EE481A}.Release|Any CPU.ActiveCfg = Release|Any CPU {8298202C-9983-4D0A-851D-805539EE481A}.Release|Any CPU.Build.0 = Release|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A5B26C14-7313-4EDC-91E3-287F9374AB75}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -594,5 +600,6 @@ Global {EADF25F5-8D02-4747-AB54-5F2BAA648471} = {230B9384-90FD-4551-A5DE-1A5C197F25B6} {46E40BE8-1AB0-4846-B0A2-A40AD0272C64} = {6987A1CC-608E-4868-A02C-09D30C8B7B2D} {8298202C-9983-4D0A-851D-805539EE481A} = {230B9384-90FD-4551-A5DE-1A5C197F25B6} + {A5B26C14-7313-4EDC-91E3-287F9374AB75} = {21B42F60-5802-404E-90F0-AEBCC56760C0} EndGlobalSection EndGlobal diff --git a/Sentry-CI-Build-Linux.slnf b/Sentry-CI-Build-Linux.slnf index 757a41ae63..fb30347797 100644 --- a/Sentry-CI-Build-Linux.slnf +++ b/Sentry-CI-Build-Linux.slnf @@ -10,6 +10,7 @@ "samples\\Sentry.Samples.AspNetCore.Grpc\\Sentry.Samples.AspNetCore.Grpc.csproj", "samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj", "samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj", + "samples\\Sentry.Samples.AspNetCore.WebAPI.Profiling\\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj", "samples\\Sentry.Samples.Azure.Functions.Worker\\Sentry.Samples.Azure.Functions.Worker.csproj", "samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj", diff --git a/Sentry-CI-Build-Windows.slnf b/Sentry-CI-Build-Windows.slnf index 58455855ae..489fde2fc7 100644 --- a/Sentry-CI-Build-Windows.slnf +++ b/Sentry-CI-Build-Windows.slnf @@ -11,6 +11,7 @@ "samples\\Sentry.Samples.AspNetCore.Grpc\\Sentry.Samples.AspNetCore.Grpc.csproj", "samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj", "samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj", + "samples\\Sentry.Samples.AspNetCore.WebAPI.Profiling\\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj", "samples\\Sentry.Samples.Azure.Functions.Worker\\Sentry.Samples.Azure.Functions.Worker.csproj", "samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj", diff --git a/Sentry-CI-Build-macOS.slnf b/Sentry-CI-Build-macOS.slnf index 876cfd1d69..f7dd7b2c78 100644 --- a/Sentry-CI-Build-macOS.slnf +++ b/Sentry-CI-Build-macOS.slnf @@ -11,6 +11,7 @@ "samples\\Sentry.Samples.AspNetCore.Grpc\\Sentry.Samples.AspNetCore.Grpc.csproj", "samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj", "samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj", + "samples\\Sentry.Samples.AspNetCore.WebAPI.Profiling\\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj", "samples\\Sentry.Samples.Azure.Functions.Worker\\Sentry.Samples.Azure.Functions.Worker.csproj", "samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj", diff --git a/SentryAspNetCore.slnf b/SentryAspNetCore.slnf index 7cf02c0930..0b9a18a458 100644 --- a/SentryAspNetCore.slnf +++ b/SentryAspNetCore.slnf @@ -8,6 +8,7 @@ "samples\\Sentry.Samples.AspNetCore.Grpc\\Sentry.Samples.AspNetCore.Grpc.csproj", "samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj", "samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj", + "samples\\Sentry.Samples.AspNetCore.WebAPI.Profiling\\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj", "samples\\Sentry.Samples.Hangfire\\Sentry.Samples.Hangfire.csproj", "samples\\Sentry.Samples.OpenTelemetry.AspNetCore\\Sentry.Samples.OpenTelemetry.AspNetCore.csproj", diff --git a/SentryNoMobile.slnf b/SentryNoMobile.slnf index 83ad76ad21..4603d550c3 100644 --- a/SentryNoMobile.slnf +++ b/SentryNoMobile.slnf @@ -9,6 +9,7 @@ "samples\\Sentry.Samples.AspNetCore.Grpc\\Sentry.Samples.AspNetCore.Grpc.csproj", "samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj", "samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj", + "samples\\Sentry.Samples.AspNetCore.WebAPI.Profiling\\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", "samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj", "samples\\Sentry.Samples.Azure.Functions.Worker\\Sentry.Samples.Azure.Functions.Worker.csproj", "samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj",