Visual studio

How to generate and save Connection string in Visual Studio

Figure 3. connectionStrings in web.config

Writing connection string manually is one of the worst things in software development. That's why I always want them to be generated by any tool but not by me. Some times before I have found a way how to generate a connection string creating an .udl file in Windows ( Now I've found a better way.

(read more...)

How to fix warning "System.Configuraion.ConfigurationSettings.AppSettings" is obsolete in Visual Studio

Figure 2. Adding reference "System.Configuration"

Usage "Application configuration file" is very good in creating simple applications. It's very good to store in it values like path, string for database connection or something like this. I use it for a long time. But not so long ago I have noticed that Studio highlights string where configuration file used: (read more...) Notes of web-specialist
Since 2009