Storing Connection Strings
After the connection string is specified, it should be securely stored somewhere rather than hard-coded directly in the application. Obviously, storing the connection string enables you to more easily change it as you move from development to test to production. Although there are obviously plenty of options, the second part of this section focuses on the two most common scenarios where connection strings may be stored.
Storing Connection Strings for Serviced Components
As you'll learn about in more detail on Day 17, “ADO.NET in the Data Services Tier,” a serviced component is one that is derived from the ServicedComponent ... |
Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.