Some Love for VB.NET 10 Too

At Thycotic we typically work with C#. In fact, 90% of the code that we write is written in C#. However, it’s no secret that I am a VB.NET Fanatic. Generally, C# developers don’t look kindly on VB.NET developers because they consider VB.Net an inferior language. But I particularly like how it’s implemented in Visual Studio.

The Danger of Single Responsibility in Programming Continued

Doug Rohrer responded to my initial post on this topic with a good refactoring of the classes involved in a manner similar to the Strategy pattern. I agree with many of his points—the hypothetical developer certainly chose the wrong responsibilities; misunderstood the Single Responsibility Principle; and generally made the code a mess. That said, I believe that SRP is most definitely dangerous, not because of what happens when it is used correctly, but because of how easy it is to get it wrong. Misapplying the SRP can result in code that makes God objects look easy to maintain.

Want to join a team of top notch developers in the DC Metro area?

We are hiring! – > .NET Agile Developers in Washington D.C.

The AJAX UpdatePanel Is it your worst enemy?

Most AJAX Frameworks have the UpdatePanel, and they are all similar in function, but I’m referring specifically to the one built into the Microsoft AJAX Framework. If you haven’t used AJAX before, it’s a useful tool to know and understand, but I wouldn’t recommend going much further than that.

Thycotic brings Password Management to SuperComputing 2009

Thycotic will be in Portland Oregon this week, exhibiting at SuperComputing from November 14th to the 20th . Stop by our booth (#354) to catch a peek of the iPhone version of Secret Server enterprise password management.

Top 10 Takeaways from DevConnections Day Four

Whew! Day Four (officially day Three, but I am counting the pre-conference workshop)
came to a close with the famous “64-bit Question” session where .NET Rocks! hosts Carl Franklin and
Richard Campbell gave away some fantastic swag, like $10,000 Team System licenses.

Top 10 Takeaways from DevConnections Day Three

Wednesday seemed to go at a breakneck pace. The sessions I attended on Tuesday were all given by Microsoft employees and only one
presenter used VS 2008. These presentations were all about how I was going to get things done when VS 2010 launches (allegedly in March 2010.)
The sessions I attended on Wednesday have more to do with how to get things done today (or when we get home from the conference) and everyone was using VS 2008.

Top 10 Takeaways from DevConnections Day Two

After a quick coffee break and then 4 great sessions: The Future of C# by Charlie Calvert. What’s New in ASP.NET MVC. What’s New in the AJAX Control Toolkit and Microsoft Ajax Library (#devconnajax) by Jim Wang (@turanuk) and James Senior (@jsenior)Testing in ASP.NET by Federico Silva Armas

Top 10 Takeaways from DevConnections Day One

There were many tidbits of information that I thought were important to remember and at the lunch break I decided that I would post for you the Top 10 things tidbits (in no particular order) I took away from Dan’s presentation.

Tortoise more than just version control

For most developers version control, or source control, is a minimum requirement. The primary purpose of version control is to enable multiple team members to work in the code without stepping on one another’s toes. It is also great for branching (creating a new direction in the code that may or may not be integrated back in to trunk) and tagging (marking a particular snapshot of the code, such as a release)

Build Your Solutions from the Context Menu

Many times you want to quickly refresh your solution from the repository and quickly build it without having to open Visual Studio. Follow these simple steps to add a Registry Key that will add a context menu for you solution files.

The Bridge Pattern – When a single class hierarchy is not enough

The bridge pattern allows both the implementation and the abstraction of a programming scenario to vary. Let’s take a look at a specific use case in order to understand the benefit the bridge pattern provides. Imagine we are writing a top-down scrolling action game. The player will be able to choose from a variety of vehicles and will be up against a maze full of passive and active obstacles. In order to increase replayability, the vehicles available will include tanks, helicopters, and motorcycles, with expansions planned to include additional vehicles.

These aren’t your father’s regular expressions

Now I’ll demonstrate how to match two different kinds of balanced expressions. The first will be strings of the form “()” “(())” “((()))” “(((())))”. When we match this kind of of regular expression there are essentially two phases: pushing elements onto the stack as we match the opening parentheses, and popping them off the stack as we match the closing parentheses. The Regexp that matches this expression is:

The Dangers of Single Responsibility in Programming

Let’s take a look at a possible system built for a company that sells a wide variety of products. This system was originally built around a Product object, and over the years the product object has continued to grow and acquire responsibility as new features were added to the system. The IProduct interface now looks like this:

Recursive Common Table Expressions

Common Table Expressions are extremely helpful when you have a hierarchy of data. In our example below we have a table called OrganizationUnits that contains a representation of the Organizational Units in an Active Directory domain.

Syndicate this site using RSS The latest comments to all posts in RSS Subscribe in Google Reader
Furl It! Add to My MSN Digg It!