SyntaxHighlighter Build Test Page
Thoughts from a C# Developer
1-10 of 23
  • Concatenating multiple row data into a single row in SQL Server.

    Wednesday, January 19, 2011
    In one of my recent projects, I needed to combine multiple row data values into a single one-liner. No idea about performance, but I leveraged the FOR XML PATH for my example.
    Filed under | 0 comments »
  • Identifying and diagnosing SQL Server bottlenecks

    Friday, November 19, 2010
    In a job where you’re responsible for an application and how it performs, the worst thing that can happen is waking up to an email chain from management, detailing how the application is sluggish, unresponsive and in short, broken. You are to be blamed; finger pointing is running at an all-time high and you’ve just caught up to your 20th email.
  • Microsoft AJAX CDN for ASP.NET 3.5

    Tuesday, March 02, 2010
    Late last year, Microsoft announced the launch of their caching support service aka their CDN service, for their ASP.NET AJAX libraries (and the third party jquery libraries) at no cost. Sweet! The problem was, you needed to be up-to-date on ASP.NET 4.0 framework stack in order to take advantage of it. Luckily, the community banned together in an uproar, and shortly thereafter a fix was released. While it’s practically plug-and-play if you’ve running ASP.NET 4.0, some custom code is required to get it to work correctly in the 3.5 framework. I ran across an excellent blog about this, and it
    Filed under | 0 comments »
  • Developing iPhone apps in C# and .NET

    Wednesday, October 28, 2009
    Last Month, Novell became the first provider to offer a solution for writing iPhone apps in the C# .NET stack. Being a C# Microsoft .NET developer, I immediately became excited -- but then I started reading about it, and my excitement soon soured; their offering is called monotouch, and it costs $399 for a basic license – yikes! and it requires a mac for development (boooo). Give me something I can use, please. There is an evaluation version, but it’s limited to development on an iPhone simulator though. Not sure on how many days you can “evaulate” the product for
    Filed under | 1 comment »
  • Visual Studio 2008: Clean up your “Recent Projects Sidebar”

    Wednesday, October 14, 2009
    As a developer, you create many projects and open many more third party projects files over the course of your development career. In doing so however, your “Recent Projects” sidebar in the startpage in VS 2008 becomes cluttered with some things that end up being temporary anyways. Here’s how to clean it up: Open regedit. Navigate through the registry to this spot: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList and you’ll see a list that looks similar to this: File1 Reg_Expand_Sx Path File2 Reg_Expand_Sx Path File3 Reg_Expand_Sx Path File4 Reg_Expand_Sx Path You need to delete the values you don’t want, and then rename all the remaining
    Filed under | 0 comments »
  • Lambda Expressions

    Wednesday, August 05, 2009
    This just in: Lambda Expressions are cool. Yes, I'm a tad late, given that this language feature has been around for some time (introduced originally in .net 3.0, and packaged in .net 3.5). But to my defense, I have these reasons: (1) There wasn’t a need for it on my end, (2) I was working in a .net 2.0 shop, (3) There were so many feature enhancements that this particular one flew under the radar. Fast forward to today, I've written my first lambda expression and wish to share it. So what are lambda expressions? In my own words, they
  • Windows Vista and the permissions prompts

    Tuesday, July 28, 2009
    For all of you vista users... are you sick of this? Chances are, you are; for Vista throws up security prompts for the all programs they classify as a security risk. I know I get pretty frustrated at times, and I’m considered an “Administrator” of my own machine. Here’s a helpful link to make those prompts disappear. HTH -Kennydust
  • From Graffiti to Oxite

    Friday, June 12, 2009
    So I've moved off of Graffiti CMS and migrated my blog posts (via BlogML) to Oxite -- Microsoft's open source blogging platform. As much as I wanted to love Graffiti, I wasn't a huge fan of VistaDB; I've even heard rumors that the product's been dropped by Telligent earlier this year. But mainly as a developer, what I really wanted was full control -- so switching to Oxite seemed like a natural progression.. and it's packed with lots of goodies -- including MVC, Unity and AntiXSS. It wouldn't be a good product without all the problems, so getting started
  • Dancing around with XQuery and SQL Server - Part 2

    Thursday, June 04, 2009
    This is a follow up on a prior post I've made a few months back on XQuery, with the purpose of this post to just show a few more examples on how powerful XML and XQuery can be -- with no additional overhead costs.  If implemented correctly, you can even get better performance gains; but I'll possibly discuss that in a future offering. For this segment, I wanted to document the common usages I've come across lately, and refer to it later on as a refresher. Example 1: So, you've got xml data, and the structure looks as such: key1 value1
    Filed under | 0 comments »
  • Visual Studio 2008: Tracking active item in the Solution Explorer

    Wednesday, May 20, 2009
    I've recently made the switch to VS 2008 and noticed that the active file is not highlighted in the docked solution explorer. Being that I work with multiple projects and countless hundreds of class files -- this became somewhat cumbersome; it's necessary for me refer to the file hierarchy and the current project 30% of the time. After some digging around, I discovered that VS 2008 does not enable this feature by default (this was the case for VS 2005); In order to fix this, you need to go into the Tools -> Options -> Projects and Solutions and check
    Filed under | 0 comments »