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.
1
Step 2
Click on Save As File.
2
Step 3
Save in UDL format and use double column ” ” .
3

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