Tuesday, April 22, 2008

Changes in Visual Studio

In Visual Studio 2008, one of the changes you see is that the AssemblyInfo.vb (or if you use C#, AssemblyInfo.cs) has been moved to a folder called "My Project". They also provide a interface screen under properties to enter the assembly information.

See the property screen below, there is a button for Assembly Information.

Another change, this was done in Framework 2.0 was to move the database connection strings to a new section called connectionStrings. To access this, we need to import System.configuration.dll and use System.Configuration.ConfigurationManager.ConnectionStrings instead of System.Configuration.ConfigurationSettings.AppSettings (in fact, Microsoft also recommended that we use System.Configuration.ConfigurationManager.AppSettings instead). This new section is created to allow you to encrypt the connection strings for better security - there is a step by step process to do that in the MSDN documentation.

No comments: