ASP.NET MVC & jQuery Part 2: Zebra Striping

30. June 2009

This is the 2nd blog post in a series taken from a recent presentation I gave at CodeStock. The previous blog posts are available here...




  1. ASP.NET MVC & jQuery Part 1: Adding jQuery Intellisense to VS 2008



Probably one of the coolest things you learn (if you haven’t already) after picking up jQuery is realizing how easy it is to add zebra striping to your tables (alternating row color shading) as demonstrated in the following picture.



FireShot capture #1 - 'Scriptlet' - localhost_8080_Zebra_Scriptlet


[More]

ASP.NET MVC, jQuery ,


ASP.NET MVC & jQuery Part 1: Adding jQuery Intellisense to VS 2008

29. June 2009

As I mentioned in my previous post, I am starting a series of detailed blog entries that focus on each topic from a recent CodeStock presentation I gave entitled, “Useful jQuery tips, tricks, and plugins with ASP.NET MVC”

I’ve done several talks about jQuery over the last several months and a common question I get is how to get jQuery Intellisense into Visual Studio.

The steps to include Intellisense are actually quite straight forward and are actually easier than they were several months ago.

  1. Install Visual Studio 2008 SP1
  2. Install Visual Studio 2008 SP1 Hotfix to Support "-vsdoc.js" IntelliSense Doc Files
  3. Download jquery-1.3.2-vsdoc.js from jQuery.com
    • Note: The vsdoc.js is also included when you do a New->Project... ASP.NET MVC Web Application
  4. Include jQuery into your MasterPage

If all goes well, then you should be able to see jQuery Intellisense like this…

Intellisense

If the steps don’t give you the above results, then you might try checking out some frequently asked questions hosted on Jeff King’s (a program manager at Microsoft) website. He has a great list of gotchas that might help you getting past your particular situation.

Also, you can check out Scott Gu’s or Rick Strahl’s posts for further details of the above instructions.

[More]

ASP.NET MVC, jQuery ,


Useful jQuery Tips, Tricks, and Plugins with ASP.NET MVC

27. June 2009

I’ve given several User Group talks thus far, but this morning I gave my first conference presentation this morning at CodeStock in Knoxville, TN.

Thanks to all that came out to the talk. I hope you found some useful tips &| tricks that you can your in your near to short term development.

If you were able to attend the presentation could you please consider filling out a rating of the talk to help assist me become a better presenter?

Feel free to grab the sample code that I used during my presentation. Since I used Google Docs Presentation for my slides I am going to embed those here for your review.

Personally, I like it when people post their slides & code on their blog, but then several months down the line it is difficult to find that information again…

So, I plan to split apart the presentation into numerous detailed blog posts for those that were unable to make CodeStock and for those who would like to find the material easier in the future.

Thanks again for all of you who attended my presentation. I look forward to the rest of the conference.

[More]

ASP.NET MVC, Conference, codestock, jQuery , , ,


Design Patterns and Dependency Injection

11. June 2009

I just got back from a great nPlus1.org ArcSummet event at the local Nashville Microsoft office.

Brian Prince and James Bender presented the following topics…

Session One: Software Patterns by Brian Price
Patterns are an important tool to use as architects and developers. They provide a common vocabulary for us to design with, as well as a common approach to a common problem. Come learn about useful patterns, and how to use them in your everyday code.

Resources

Contact Information


Session Two: How I Learned To Love Dependency Injection by James Bender
Dependency Injection is one of those scary topics that most developers avoid. It sounds all ‘high-falootin’ and complex. It’s not. Really. We wouldn’t lie. It’s a great way to manage complexity in your system, and a great way to make your system so much more testable. And isn’t that what we all want?

Resources

Contact Information

[More]