SQL Server Connection Strings
Michael Otey
October 17, 2014
8 Slides
![tshirts on a string clothesline tshirts on a string clothesline](https://eu-images.contentstack.com/v3/assets/blt07f68461ccd75245/blt5d68f38d67f90c8a/6616baae589ad06c901c3ec4/string-clothesline-595x335_0_5.jpg?width=1280&auto=webp&quality=95&format=jpg&disable=upscale)
When you go to connect your .NET Framework applications to SQL Server, one of the most essential ingredients is the connection string. The connection string tells the application how to connect to the target SQL Server instance. To do this, the connection string typically provides the name of the server and the database as well as authentication information.
Even newer technologies like the Entity Framework (EF) use ADO.NET under the covers to connect to SQL Server, so they need connection strings too. In this slideshow I show you several handy example SQL Server connection strings that can be used for a variety of situations.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like