.NET ASPIRE 9.3 : SQL Server 2022 Tracing label not showing up ?

Hello everyone 🙂 ! I'm was enjoying the news about Aspire.NET 9.3 :aspire: , specifically about tracing for Database; here SQL Server. I've just making an example for test purpose, and i cannot get the -Traces- label about my Database on the dashboard. Here some screenshots about the test. I'm currently under .NET 9.0.3 SDK with 9.0.5 Runtime. --- My T/SQL stored procedure work, and give me the forecast, But the dashboard isn't showing traces.
No description
No description
No description
No description
No description
No description
No description
4 Replies
Scratch
Scratch2w ago
.NET Aspire SQL Server integration - .NET Aspire
Learn how to use the .NET Aspire SQL Server integration, which includes both hosting and client integrations.
Scratch
Scratch2w ago
You need to inject a SqlConnection and set up your database with Aspire
╲⎝⧹ ඞriusII⧸⎠╱
Thanks you,
╲⎝⧹ ඞriusII⧸⎠╱
For people who look for the same solution, you need to add on your service this package : dotnet add package Aspire.Microsoft.Data.SqlClient And following : database
.NET Aspire SQL Server integration - .NET Aspire
Learn how to use the .NET Aspire SQL Server integration, which includes both hosting and client integrations.

Did you find this page helpful?