Skip to content Skip to sidebar Skip to footer

.net Core 2 - Connection String With Instance Name And Port Number

In my application I have a connection string in the config. This application created using .NET core 2.11 and SQL Server. This is the connection string: Data Source=servername\inst

Solution 1:

Found the answer. Instance name will be use dynamic port, so I cannot use default port number (1433). Need to change the port number to used 1433 instead of the dynamic port.


Post a Comment for ".net Core 2 - Connection String With Instance Name And Port Number"