Relative Content

Tag Archive for dotnet-aspire

.NET Aspire vs Azure Application Insights

.NET Aspire gives us traces and metrics. But Azure Application Insights also has traces and metrics. So where is an advantage of .Net Aspire?
Traces and metrics of .NET Aspire are intended to use on localhost and traces and metrics of Application Insights are intended to use on production?

Binding container port in aspire

I have a custom Sql Server Docker image which I would like to add to my Aspire project. The image exposes port 1433. How do I bind that to endpoint assigned by Aspire? I plan on adding other containers in a similar way that have nothing to do with sql server once I get this working.