Try Windows Azure For One Month FREE

September 1st, 2010 by Kevin No comments »

I’ve been using Windows Azure for a couple of months now, and I’ve really fallen in love with the platform.  If you’re interested in doing any work in the Cloud, it’s worth it to you to check out Azure.

And now you don’t even have to sign up for an account to try Azure (read: NO CREDIT CARD REQUIRED).  Until Oct 31st, the Azure team is offering 1 free month of Azure to anyone that registers.  Not only that, but you can register multiple times.  If you register now, you can get Azure for free in September AND October!

Go try it today!

http://azurepassusa.cloudapp.net/

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Windows Phone 7 in 7 Minutes

August 12th, 2010 by Kevin 1 comment »

Kevin Hazzard talked about a great resources for Windows Phone 7 developers at the August meeting of the Hampton Roads .NET Users Group.  Over at MSDev, there are a series of web casts called “Windows Phone 7 in 7”.  All these videos are about 7 minutes long, and they’ll slowly introduce you to developing Windows Phone 7 applications.

Visit Today!

Wanna try before you go to the site?  Here is the first video in the series:

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

#DevLink Slides and Source

August 10th, 2010 by Kevin 2 comments »

Thanks to everyone who attended my DevLink talks.  I had a blast presenting to you all and I really hope you got a lot out of the presentations.  Here are the slides to the 3 presentations I gave.  They are available for download.  I also have source available for those of you that wanted to look at my examples.

Async

View more presentations from Kevin Griffin.  Source code is available here.
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Speaking at DevLink

August 2nd, 2010 by Kevin No comments »

I will be traveling to Nashville this week to speak at DevLink, August 5-7.  This will be my first conference giving more than 2 talks (3 this time around), and it’ll be my second conference where people have actually paid to be there.  Be sure to come chat with me at any of my sessions, in the hallways, or at Open Spaces.

Here are the 3 talks I’ll be giving:

  • August 5th – 1:00 PM (SWANG-S108) – ASP.NET MVC From The Ground Up
  • August 7th – 9:00 AM (SWANG-S108) – jQuery From The Ground Up
  • August 7th – 11:30 AM (SWANG-S102) – Asynchronize with jQuery

See you all there!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Community Megaphone Podcast – Speaker Horror Stories

July 29th, 2010 by Kevin No comments »

Back in June, I was able to sit in with a panel of fantastic speakers and talk with Dane and Andrew on the Community Megaphone Podcast.  In this episode, I shared the story about Joel Cochran and I trying to get to CodeStock, and running out of gas on I-81.  It’s definitely worth a listen.  Here are some of the awesome people that shared stories:

Miguel Castro – http://dotnetdude.com/
Michael Eaton – http://mjeaton.net/blog/
Rod Paddock – http://blog.dashpoint.com/
Rachel Appel – http://rachelappel.com/
John Petersen – http://www.lostechies.com/blogs/johnvpetersen/
Jennifer Marsman – http://blogs.msdn.com/b/jennifer/
Joel Cochran – http://www.developingfor.net/
Brian Prince – http://brianhprince.com/
Roger Heim – http://www.aremaitchconsulting.com/
John Baird – http://twitter.com/jbaird_pa

Click here to Listen Now

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Word of Warning For People Using 3rd Party Reporting Tools in Azure

July 22nd, 2010 by Kevin 8 comments »

DISCLAIMER: I’m simply sharing my experiences here.  I am not laying blame on any of the tool developers or Azure team.  Frankly, I’m not sure who is should be held accountable in these cases.

I’ve spend the last day working in Azure, and trying to implement a 3rd party reporting tool into my projects.  For my first choice, I decided to use Telerik Reporting.  They’re a big part of the developer community, and I am willing to give them my client’s money because they do have good products.

Implementing a report should be pretty straightforward, and in most cases it is.  Walk through the designer, connect to a datasource, layout the report, and you’re good to go!  Viewing the report should be equally as straightforward.  Create a form (in this case a WebForm), drop a ReportViewer control, and in the code behind do some voodoo in order to wire the report up to the report viewer.

But really, our use cases call for only returning the the reports in PDF or Excel formats.  So the above, while doesn’t work, isn’t necessary.  Telerik has a component for processing a report, and dumping it directly to PDF or Excel (in addition to several other formats).  That code too five minutes to wire up.

I go into the Azure Development Fabric, and try to download my report.  The report generator ticks away for a few seconds and then BLAM, Out Of Memory Exception.

Excuse me!  The one problem I don’t have is lack of memory, so I scour to the forums to find out what the deal is.  Turns out that Telerik relies on GDI+ to renders reports in various formats.  Guess what Azure has poor support for?  You bet, GDI+.

Thanks ok, Azure is only 2 years old.  You can’t expect the products to have a quick turnaround.  I’ll have to go look at other solutions.  How about DevExpress XtraReports?  A quick Google search for “XtraReports Azure”, and you’ll find out that XtraReports falls into the same issue!  Reliance on GDI+ makes it unusable in an Azure environment.

How about GrapeCity’s ActiveReports?  Supported, but with limitations.

  • Rtf, Excel and Text filters are not supported on Windows Azure.
  • When using the Pdf export filter, digital signatures are not supported.
  • The Pdf export filter cannot access System fonts, so you must create a Custom Font Factory to embed any necessary fonts for non-ASCII characters.

Holy snap!  So I can’t export to Excel (which is a requirement), but it looks as if I want to create a report I have to embed the fonts in my reports.  Now I don’t know if that’s easy or hard.  I need to test the product to see, but the lack of Excel exporting is knocking the product down.

Now, I have no problem that these providers don’t currently work in Azure.  If you have a code based created around a single technology, it’s not quick or cheap to turn around and make it use another.  However, I wasn’t able to find anywhere on the product sites saying that they do not have support for Azure.  Instead, I had to download the products and waste several hours trying to make the product work in a way that was physically not possible.  Advertising unsupported features is as important as advertising support features.

And what’s up Azure team with lack of support for GDI+?  Isn’t the operating system supposed to be on par with Windows Server 2008?  I’m sure I could run my site in IIS on a WS2008 machine without issue.

So here’s my call:  If you’re working in Azure, and using 3rd party tools for reporting, please tell me what you’re using or if there is something I’m completely glossing over.  If I find something that works and meets my simple requirements, then I’ll give them a shout out on my blog.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

I’m A MVP!

July 2nd, 2010 by Kevin 4 comments »

Someone over at Microsoft must like me, because they decided to award me with a Microsoft MVP in Client App Dev.  mvp-h-smallThis is a huge honor for me, as it proves that people really notice the work you put into the community.  I’ve had such a blast working with all the talented men and women I’ve met in the community.  From my very first user group meeting in Richmond, VA to recently being selected for multiple sessions at DevLink, my experiences in the community have been awesome.

Working in the community really has been a labor of love for me.  The experiences I’ve had have impacted me as a professional, and will continue to shape my professional directions in the future.

Really, I couldn’t have done a fraction of the stuff I’ve done without the help of several people:  First, my wonderful wife for putting up with all my community stuff.  The crew in the Richmond developer community for bringing me in and treating me like family. Roanoke Code Camp for giving me my first opportunity to speak. The Hampton Roads developer community for helping me prove that it could be done. Microsoft developer evangelists for giving advice and promoting my professional growth. Antech Systems, my employer, for giving me the time to travel and improve myself.  Finally, Microsoft for producing technologies that make me excited to be a software developer.

Here’s to a great year of trying to be a better professional and helping others be better professionals.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

App Problems? No Visual Studio? Try DebugView

June 30th, 2010 by Kevin 1 comment »

DebugView is a pretty neat application, and it can be a Godsend if you’re running into application problem.  So what is DebugView?  Here is the official description:

DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don’t need a debugger to catch the debug output your applications or device drivers generate, nor do you need to modify your applications or drivers to use non-standard debug output APIs.

What does this mean for you, the developer?  You can add trace code to your application that can be read via DebugView.  This isn’t meant to be a replacement for an actual logging solution, but it can be helpful in cases where you need to output debug information and you don’t want to get in the way of the user.

Where Do I Get DebugView?

DebugView is free to download.  Click here to download DebugView.  Un-zip the file, and run the Dbgview.exe file.

image

Show me the code!

Let’s imagine a simple C# application:

class Program    
{        
      static void Main(string[] args)        
      {            
            Debug.WriteLine("DebugView test is starting up...");
 
            for (int x = 0; x < 100; x++)            
            {                
                   Debug.WriteLineIf(x % 10 == 0, string.Format("{0}", x));            
             }
 
            Debug.WriteLine("DebugView test is shutting down...");        
     }    
}

If we watch this in the Visual Studio output window, here’s what the results are:

image

Now, let’s run our application stand alone, but with DebugView running.

image

If you look at Time, this represents how long DebugView has been running.  What we’re interested in is the Debug Print column.  There are two important parts to the string in this column.  First is the number in the brackets.  In this case, [4336] is my process ID.  You can filter off this value, so you’re only looking at your application.  If you look about, there is another process writing into the stream.  Lots of Windows processes will write to the debug stream, so you’ll have to filter for your application to avoid the noise.

As a note, this only works in Debug mode.  If you’re building in Release mode, the Debug lines are not compiled into the application.

I hope you start using this little trick when you’re building your applications.  It can be a Godsend when someone is running into a problem, and you have no idea where it’s happening in the application.

Enjoy!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

CodeStock Postmortem

June 29th, 2010 by Kevin 4 comments »

Another CodeStock has come and gone, and it seems that we can;t go to an event without having some stories.  CodeStock has provided in so many ways.  Let’s take a look at some of the highlights

Can I Get A Push?

This year for CodeStock, I drove up with my friend Joel Cochran.  Knoxville is about 9 hours away from my area, and I had to drive through Joel’s city in order to get to Knoxville.  It only made sense to stop and hitch a ride.

This particular story starts around the Virginia and Tennessee border.  We were cruising along, and I glanced over at Joel’s gas gauge.  The exchange went as so:

Me: Joel, it looks like you’ll need gas.  Might want to stop.

Joel: Ah, yeah.  If we get gas in the next half hour or so we’ll be fine.

Fast forward…. 25 minutes.  We pulled into a gas station.  It was a small mom and pop gas station.  An older gentleman was blocking Joel, and slowly limped into the gas station.  Joel decided that it wasn’t worth the time to wait and said, “We’ll just go up to the next exit.”

Half way to the next exit…

Joel: The accelerator’s not responding.

Me: What?

The car sputtered and coasted.  We rode it on the shoulder for as long as it would go.  Eventually, we pulled to a stop on the side of the road.

Sitting on the side of the interstate gives you sometime to think.  For example, I was thinking about why they put gas indicators on dashboards.  Also, why do I choose to ride with Joel when I know that something is going to happen (just kidding)?

What did we do instead of just walking to the gas station?  We decided to push the car the mile and half towards the exit.  Did I mention we had to go uphill and it was about 105 degrees in the sun?

Moral of the story: don’t ride with Joel, and obey the gas light.

The CodeStock Experience

CodeStock was in a new venue this year, the UT Conference Center.  Not only was the venue terrific, but the conference hotel was directly across the street!  For those who’ve never been, CodeStock is a two day event.  Unlike most code camps, CodeStock requires a nominal fee (less than $100) for attending.  However, what you get is worth more than what you would get at Tech-Ed.

My session was on the second day, and I presented on jQuery.  I got a lot of good feedback and I really hope people enjoyed it.  In addition to my talk, I attended talks on Multi-touch, embracing my failures, how to run a great conference, etc.

I spent a little bit of time in open spaces this year, less than normal.  Overall, I was disappointed with Open Spaces at CodeStock this year.  For being in a central location of the conference, it was relatively under attended.  Instead, most of the great conversations happened in the atrium outside the open spaces room.

Lunch was awesome.  Instead of a single lunch session, there were two lunch sessions.  This worked very well seeing as there was no rush to get food.  Going through the line took a matter of minutes, and then people went to sessions.  Conference catering rocked, and was delicious!

Rachel Appel gave a great keynote on Friday night.  Listening to her, Andrew Duthie, Jennifer Marsman, and several others talk about community made me feel extremely proud to be a part of something so awesome (like 10 million hot dogs awesome).

After Parties

The best part of the conferences happen after the conference ends for the day.  Thursday night we hung out in downtown Knoxville.  I was able to meet several people I only knew through Twitter.  We had great conversations and truly brought the experience together.  Friday night we hung out in the hotel and played guitars.  Saturday night we hung out at Alan Steven’s house for PostStock.  If your going straight home after the conference, you’re missing half the fun!

CodeStock was a blast, and I can’t wait to go back next year.  Next year I’m flying.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Materials for jQuery From The Ground Up

June 22nd, 2010 by Kevin No comments »

Sorry for dragging my heals on this this.  A lot of you have been asking for the material from my jQuery From The Ground Up talk that I’ve done at several code camps in the area. 

Demo Code
Slide Deck

These should be the latest and greatest available.  If you have questions, please feel free to ping me on Twitter, through comments or the Contact page.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)