If you have your Visual Studio 2005 Start Page configured for ASP.NET 2 you may have noticed the recent tutorials related to Best Practices. The ones I have found very helpful recently have been:
» Tutorial 2: Creating a Business Logic Layer» Tutorial 4: Displaying Data With the ObjectDataSource
One of the coolest additions to ASP.NET 2.0 is the ease in encrypting portions of the web.config file. In the past it was quite painful in going through the steps of accomplishing this. However, now you can do it in as little as One Step!
For instance, if you want to encrypt your connectionString on your development box type in the following command from the Visual Studio 2005 command prompt:
aspnet_regiis.exe -pef "connectionStrings" "C:\physical_location_of_my_web_app"
To reverse the process and decrypt the connectionString you would do this:
aspnet_regiis.exe -pdf "connectionStrings" "C:\physical_location_of_my_web_app"
Now, how easy is that?!?!
What if you have a...