Category: ASP.NET

  • My First Experiences with Kinect for Windows – @KinectWindows

    I recently had the pleasure of some free time recently – with three kids this does not come often – so I decided to finally plug my Kinect into my PC.  I find it kind of funny how long it actually took for this to happen.  Over a year ago I finally joined the real world and made the decision to finally make a new console gaming purchase.

    Like everyone, I had to choose between the PS3 and Xbox 360.  Each of course has their pros and cons.  But when it came down to it, I could develop for the Xbox and Kinect for free and this became the deciding decision factor.

    So finally over a year later I finally plugged my Kinect into my PC’s USB port!

    (more…)

  • Javascript, the Back Button, and Windows Phone 8 Development

    I recently had the opportunity to begin exploring and toying around with Windows Phone 8 development.

    Why you ask?  Why not really, but mostly because I was giving a free phone and it’s an untapped market when it comes to apps.  At this stage it’s not over diluted like the Android and iPhone stores are.  That and of course there is an option to create apps using HTML, Javascript, and CSS – technologies I’ve used and mastered for years!

    I actually submitted my first app last weekend – and sadly – it got rejected 🙁  I was given two reasons; firstly I did set a default application icon, whoops my bad.  Secondly, I didn’t properly handle the back button since there are “multiple pages” in my application.

    It took me several hours to finally found the answer so I thought I would share it.  Please note, this feels like a bit of a hack, but I wasn’t able to get the “suggested” solutions working…

    (more…)

  • The Best Way to Prevent SQL Injection

    If you use a framework of some sort, you probably haven’t thought about SQL injection for some time – in fact it almost seems dated to even discuss it.  However, security should never be overlooked and it’s important to not trust third party applications and people by default!  So what is the best way to prevent SQL injection?

    Have you noticed how I haven’t specified a specific language?  This is done purposely, because at the end of the day – all languages – should be able to follow this paradigm…

    (more…)

  • What I Learned This Summer

    Well – it’s Friday and all of the kids are back in school.  While this post is being published, I’m probably stuck in traffic!  I can’t believe it’s a new school year already, luckily my kids aren’t old enough so it’s just traffic that I need to get used to.

    This has been a great summer so far and I thought it would be a good idea to summarize the variety of things I’ve learned about – but have not necessarily blogged about…

    (more…)

  • A Simple But Effective Speed Comparison

    A little while ago, I wrote a simple .NET application that performs X amount of requests and calculates an average speed of those requests.  It does this by dropping the highest and lowest request times, then taking an average speed on the remaining requests.

    This does a decent job for a straight up speed test.  However, a few possibilities could arise, such as CPU hogging that could skew the results.  Instead, I’ve made a few alterations and converted the speed tester to not be based on the number of requests, but instead based on a specific amount of time.  This should help eliminate some inconsistencies of doing a straight number of requests.

    (more…)