Mike Diehl's WebLog

Much aBlog about nothing...

Browse by Tags

All Tags » Visual Studio (RSS)
Jeremy's Programming Manifesto...
Jeremy posts about his Programming Manifesto . It's a great read, and while I am still digesting it, I will just summarize it here. Go read his stuff please. Unit Testing and Testability over Defensive Coding, Tracing, Debugging, and Paranoid Scoping...

Posted by MikeD | 4 comment(s)

Unit testing Cmdlets for PowerShell
I don't use PowerShell myself, but this blog post caught my eye. If you miss VS, intellisense, TD.NET , etc., you might want to try extending PowerShell with custom cmdlets, which are .NET classes deriving from Cmdlet. They allow you to extend PowerShell...

Posted by MikeD | 1 comment(s)

Interface first?
I've been re-reading this post from Sikin Joseph for most of the afternoon. ...I got it into my head that I should "Always program to an interface not an implementation" . So whenever I needed to create a new class/abstraction I used to...

Posted by MikeD | with no comments

.NET, Java, Patterns, Abstraction, YAGNI
Some interesting tidbits From Ted Neward's blog : At the patterns&practices Summit in Redmond, I was on a webcasted panel, "Open Source in the Enterprise" , moderated by Scott Hanselman and included myself, Rocky Lhotka , and Chris Sells...

Posted by MikeD | 2 comment(s)

"Developers" AND "Programmers"
A recent (uncredited) article on Hacknot discusses the terms Programmer and Developer. A modern programmer loves cutting code - and only cutting code. They delight in code the way a writer delights in text. Programmers see their sole function in an organization...

Posted by MikeD | 3 comment(s)

Filed under: ,

Software Factories and the YAGNI factor
Steve posted his concerns over software factories and the YAGNI factor. ("You Ain't Gonna Need It") My concern with Software Factories is that the output from these procedures are chock full of code that you're not going to need, but...

Posted by MikeD | 2 comment(s)

MSBuild SQL database synchronization tasks (for RedGate SqlCompare and SqlDataCompare)
Phil just posted a couple of MSBuild tasks that he uses to synchronize the schema and data of two databases , using the API's for RedGate's SqlCompare (for schema) and SqlDataCompare (for data). The next project build server I set up I will try...

Posted by MikeD | 2 comment(s)

Filed under: , ,

Authorization Rules
ScottGu posted an article showing how to add authorization rules to business and data layers. In his sample code, he shows how easy it is: using System ; using System.Security.Permissions ; [PrincipalPermission(SecurityAction.Demand, Authenticated = true...

Posted by MikeD | 1 comment(s)

Filed under: ,

Quality Control as part of a Software Factory
Hernan de Lahitte writes about the FxCop rules included in the WebService Factory that analyze the security of WCF code and configuration files. That's a really cool feature I think - not only using FxCop to examine code, but to examine configuration...

Posted by MikeD | with no comments

UI Controls and Threading
Steve posted about a problem with updating a UI control from a non-UI thread . In his case, the exception that was produced wasn't clear as to what was causing the problem. On the mobile device the exception that was generated was: NotSupportedException...

Posted by MikeD | with no comments

Filed under: ,

More Posts Next page »