docs-aspire icon indicating copy to clipboard operation
docs-aspire copied to clipboard

How connect sql server exists on my local

Open steve-bang opened this issue 1 year ago • 1 comments

I have a sql server with the IP: 104.xxx.xxx.xxx : 1433 How can I config connect sql server in vm without using image docker in Aspire.

steve-bang avatar Dec 24 '24 03:12 steve-bang

It should be but isn’t documented here

https://learn.microsoft.com/en-us/dotnet/aspire/database/sql-server-integration

This is where it’s currently documented.

https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/external-parameters

Use AddConnectionString

davidfowl avatar Dec 24 '24 11:12 davidfowl