Disabling File-System-Redirection on 64bit 19 December 2013 Daniel-Fisher-(lennybacon) C#, Project, Windows The following call disables File-System-Redirection on 64bit Windows in WOW mode (e.g. Accessing Program Files and ending up in Program Files (x86)): // Minimum client Windows XP Professional x64 Edition or higher // Minimum server Windows Server 2003 with SP1 or higher NativeMethods.Kernel32.Wow6... [More]
Adobe, trust, WTF 19 December 2013 Daniel-Fisher-(lennybacon) Life, Security Mixed language content was in the past a good indicator for phishing – just not as professional as the real provider. Today I received an e-mail by Adobe that asks me to change my password, as they were being hacked in the past and beside passwords (not even hashes? what the hell), program code as w... [More]
NDepend customizing rule: Declare types in namespaces 14 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Avoid namespaces with few ty... [More]
NDepend customizing rule: Avoid namespaces with few types 13 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Avoid namespaces with few ty... [More]
NDepend customize rule: Avoid defining multiple types in a source file 11 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Avoid defining multiple typ... [More]
NDepend customize rule: Types too big 06 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Types too big I use extensio... [More]
NDepend customize rule: Quick summary of methods to refactor 05 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Quick summary of methods to... [More]
NDepend customizing rule: Static fields should be prefixed with a 's_' 04 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Static fields should be pre... [More]
NDepend customize rule: Instance fields should be prefixed with a 'm_' 04 December 2013 Daniel-Fisher-(lennybacon) Tools NDepend is a tool that offers a wide range of features to let developers analyze a .NET code base. It comes with about 200 built in rules. But there are a few default rules that do not fit “my rules”. This blog post shows how to customize one and even more important why. Instance fields should be p... [More]
Validating Code Quality with NDepend 04 December 2013 Daniel-Fisher-(lennybacon) Tools Patrick Smacchia’s NDepend is a great tool to improve code quality and should be run quite regularly. It can be run as a strand alone GUI tool, from inside Visual Studio and as part of your build process. I’ll use the tool over the next few weeks to analyze and improve the quality of one of my perso... [More]