diff --git a/docs/platforms/dotnet/common/profiling/index.mdx b/docs/platforms/dotnet/common/profiling/index.mdx index 8e11c81ebd625..74f46dfa067cd 100644 --- a/docs/platforms/dotnet/common/profiling/index.mdx +++ b/docs/platforms/dotnet/common/profiling/index.mdx @@ -3,6 +3,14 @@ title: Set Up .NET Profiling sidebar_title: Profiling description: "Learn how to enable profiling in your app if it is not already set up." sidebar_order: 5000 +notSupported: + - dotnet.uwp + - dotnet.aws-lambda + - dotnet.azure-functions-worker + - dotnet.blazor-webassembly + - dotnet.aspnet + - dotnet.entityframework + - dotnet.google-cloud-functions --- diff --git a/docs/platforms/dotnet/common/profiling/troubleshooting/index.mdx b/docs/platforms/dotnet/common/profiling/troubleshooting/index.mdx index 0fbd6f5d8948c..c282606816910 100644 --- a/docs/platforms/dotnet/common/profiling/troubleshooting/index.mdx +++ b/docs/platforms/dotnet/common/profiling/troubleshooting/index.mdx @@ -2,6 +2,14 @@ title: Troubleshooting description: "Learn how to troubleshoot your profiling setup." sidebar_order: 9000 +notSupported: + - dotnet.uwp + - dotnet.aws-lambda + - dotnet.azure-functions-worker + - dotnet.blazor-webassembly + - dotnet.aspnet + - dotnet.entityframework + - dotnet.google-cloud-functions --- ### Profiles are not showing up diff --git a/redirects.js b/redirects.js index 14d7d37973e4c..a1a2a27847cb0 100644 --- a/redirects.js +++ b/redirects.js @@ -1201,6 +1201,35 @@ const userDocsRedirects = [ source: '/product/ai-in-sentry/seer/seer-privacy-and-security', destination: '/product/ai-in-sentry/ai-privacy-and-security/', }, + // .NET profiling guide redirects - consolidate to main profiling page + { + source: '/platforms/dotnet/guides/uwp/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, + { + source: '/platforms/dotnet/guides/aws-lambda/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, + { + source: '/platforms/dotnet/guides/azure-functions-worker/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, + { + source: '/platforms/dotnet/guides/blazor-webassembly/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, + { + source: '/platforms/dotnet/guides/aspnet/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, + { + source: '/platforms/dotnet/guides/entityframework/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, + { + source: '/platforms/dotnet/guides/google-cloud-functions/profiling/:path*', + destination: '/platforms/dotnet/profiling/', + }, ]; /**