Subscribe to Feed

Archive for August, 2009

10Aug

31 Days of Refactoring

Posted by admin as Random, Visual Studio

Take a look at this very interesting blog post series - 31 days of refactoring
http://www.lostechies.com/blogs/sean_chambers/archive/2009/07/31/31-days-of-refactoring.aspx
The various refactoring “methods” are getting more complex and interesting as the series continues.
IMHO, This is must read for all developers.

In a code behind file (like .cs file), one can use aliases for the namespaces like
using myAlias = System.MyNamespace;
But to achieve the same functionality in an .aspx page you can use something like this
<%@ Import Namespace="myAlias=System.MyNamespace" %>
Note: There should not be any spaces in the namespace value. For example you cannot use something like Namespce=”myalias [...]