Archives
-
Scott Guthrie, Jaime Rodriguez and Glenn Block Speaking in Phoenix on May 26th, 2009
Once a year the Phoenix, AZ area .NET developers get a special treat as Scott Guthrie (one of the creators of ASP.NET and a corporate Vice President at Microsoft for those who may not know him) comes to Phoenix to speak on the latest and greatest technologies. If you haven’t heard Scott Guthrie speak before he’s always a lot of fun and provides plenty of demos to help people get started learning various technologies. Even though Scott’s high-up in the ranks at Microsoft he’s an extremely cool guy and as down to earth (and smart) as they come. Scott will be accompanied by Glenn Block and Jamie Rodriguez who will speak on ASP.NET 4.0/MEF and WPF/Silverlight topics. Kudos to Scott Cate for somehow talking Scott Guthrie into coming here year after year even when it’s hot!
-
Minimize Code by Using jQuery and Data Templates
I’m currently working on a heavily AJAX-oriented ASP.NET MVC web application for a business client and using jQuery to call controller actions, retrieve JSON data and then manipulate the DOM to display the data. Several of the pages have quite a bit of dynamic HTML that has to be generated once a JSON object is returned from an MVC controller action which generally leads to a lot of custom JavaScript. After working through my first page on the project I realized that I was creating a maintenance nightmare due to the amount of JavaScript being written and decided to look into other options.
-
Handling MouseEnter and MouseLeave Events in jQuery
I have a simple table generated by an ASP.NET MVC view and needed to switch out CSS classes as the user hovered over rows. Initially I used the rather obvious “hover” feature built-into jQuery since it provides a way to write code that’s called as the user enters and leaves an object. I ended up doing something like this:
-
Selecting Parent Nodes using jQuery
Here’s a quick tip on selecting parent nodes based on something I had to do yesterday with jQuery on a client project. I have an ASP.NET MVC page that outputs a basic table containing search results and as a user hovers over an item in a map I needed to highlight the appropriate row in the search results by changing its CSS class. I debated simply adding an ID on the row to make it easy to find but decided I didn’t want to deal with another ID in the DOM. Here’s what a portion of the view page looks like:
-
5 Reasons You Should Take a Closer Look at ASP.NET MVC
I’m an ASP.NET Web Forms fan…always have been since ASP.NET was first released. But, I like to keep an open mind when it comes to new technologies and I decided to experiment with the new ASP.NET MVC framework that Microsoft just released so I knew how it could be used with consulting projects and for training my company provides. I was so impressed with some of the things I could do that I’m now using ASP.NET MVC on a customer project and thought I’d share some of the things I really like about the framework.
-
Reflecting over JSON Data to Simplify Control Updates with jQuery
My company is currently working on a consulting project that uses ASP.NET MVC and a lot of jQuery and JSON behind the scenes for data transfer which is a lot of fun. I’m personally tasked with the back-end processes but also handling user interface updates as JSON data is received. I have a form with several different controls in it that are updated once JSON is returned from a controller action and the controls are updated using jQuery selectors. Something like this: