ASP.NET Core 2.0 Hosting: Simple Steps to Create Connection String

In this blog, I am going to discuss how to create Connection String in simple steps. Most of the time, if we have to create Connection string or we go for a machine test interview we do not remember Connection string . This blog will show you how to achieve connection string easily.
hflnet51Here is the Step by Step Example,

Step 1
Right Click on new and select text document.
Step 2
Click on Save As File.
Step 3
Save in UDL format and use double column ” ” .

Step 4
Open the file and Select our server and database then test connection .
Step 5
Open file in notepad
Step 6
Copy and paste the connection string in webconfig file in our project.