.Net & C#

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 (http://markimarta.com/c/how-easily-write-the-text-of-connection-string/). Now I’ve found a better […] Read more»

.Net & C#

Create web test in Visual studio 2013

Figure 3. Finishing web test recording

My post yesterday was about how to get to results of load test. Now I realized that I still hadn’t posted about how to create web test and load test in Visual Studio 2013. In Visual Studio 2013 Professional it’s rather easy to do – you don’t need to install add-ons or plugins, everything is […] Read more»

.Net & C#

C# write file to MyDocuments

Using class System.Environment you can get paths of special Windows folders such as Program Files, My Documents and others. The list of available values is stored in enum object Environment.SpecialFolder (Fugure 1). Read more»

.Net & C#

Popular Posts