Denny.NET

I can haz ASP.NET goodness?

About the author

Denny Ferrassoli
Developer at Casting Networks. MCP / .NET
E-mail me Send mail
Add to Technorati Favorites

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Eloquent JavaScript - JavaScript Tutorials

Marijn Haverbeke has put together an e-book named Eloquent JavaScript that not only has great content, but also comes with an integrated interface for editing and running the examples directly from the "pages."

I had to post this since the site is such an excellent resource for JavaScript. Running the examples is incredibly intuitive and easy. Excellent work on Mr. Haverbeke's part!

The post/link originated on Ajaxian: http://ajaxian.com/archives/eloquent-javascript 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Client-Side | General
Posted by Denny on Tuesday, January 22, 2008 9:44 AM
Permalink | Comments (0) | Post RSSRSS comment feed

VS 2008, SQL Server 2008, Windows Server 2008 Free

Holy sweet programming Gods...

The title is not misleading... Register and attend the launch event and receive a free copy of the above mentioned applications. Get to it here: http://www.microsoft.com/heroeshappenhere/register/default.mspx 

Huge thanks to VON#'s post letting us all know about this.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Denny on Saturday, January 19, 2008 6:46 PM
Permalink | Comments (2) | Post RSSRSS comment feed

.NET Framework Source Released

Back in the saddle!! Scott Guthrie has just let us know that the source code for the .NET Framework libraries, mentioned below, are available for browsing and debugging!

The libraries include:

  • .NET Base Class Libraries (including System, System.CodeDom, System.Collections, System.ComponentModel, System.Diagnostics, System.Drawing, System.Globalization, System.IO, System.Net, System.Reflection, System.Runtime, System.Security, System.Text, System.Threading, etc).
  • ASP.NET (System.Web, System.Web.Extensions)
  • Windows Forms (System.Windows.Forms)
  • Windows Presentation Foundation (System.Windows)
  • ADO.NET and XML (System.Data and System.Xml)

Instructions on installing the libraries for Visual Studio 2008 are located here: Shawn Burke's blog post. Read Scott Gu's post if you want to get the low-down.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Denny on Wednesday, January 16, 2008 6:36 PM
Permalink | Comments (0) | Post RSSRSS comment feed

SoCal Code Camp!

Just finished RSVP'ing for SoCal Code Camp! It will be held on Jan. 26 and 27 at the University of California Fullerton (UCF). Head over to the website (below) and sign up! Hope to see you there!

From the email:

If you haven't already registered at http://www.socalcodecamp.com for the upcoming Rock & Roll Code Camp to be held in Fullerton - why not take a minute to do it now!?!?

We already have 50 sessions and counting. Many of your favorite speakers are returning to provide you with great new content including Kevin McNeish, Paul Sheriff, Daniel Egan, Michele Leroux Bustamante, Mickey Williams, Woody Pewitt, David McCarter and more! Imagine, many of these internationally known speakers frequent conferences like Tech Ed, PDC, MIX, Dev Connections, VSLive and more! And you get to see them talk for FREE!!!!

There are also some budding new speakers that offer great sessions based on their real world experiences in the local community. You could even be one of them - feel free to add more sessions to the site, we have room for more!

The schedule will be posted one week before Code Camp so you can plan your attack!

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Events
Posted by Denny on Wednesday, January 16, 2008 10:44 AM
Permalink | Comments (0) | Post RSSRSS comment feed

LINQ and Enumerable.Cast

I've been using LINQ lately and I've been having a lot of fun with it. It makes working with collections so much better! Many thanks to "Pro LINQ by Joseph C. Rattz" (Amazon) - a great book to get you started on LINQ.

So I ran into a bit of a snafu yesterday and thought I would share some cool LINQ methods.

I was working on a Windows App and using a DataGridView to keep track of some information. I wanted to quickly search through the rows and determine if a rows "filename" column was already in the list. Naturally I wanted to "LINQafy" everything to get it done in one line of code. I quickly ran into the issue that DataGridView.Rows is a DataGridViewRowCollection so I couldn't use IQueryable<DataGridViewRow> because "Source is not IEnumerable<>"

So after a short time playing with DataGridView.Rows.AsQueryable() and also getting nowhere I noticed the Cast extension method. From there it was pretty easy to come up with a solution by reading the method signature:

[code:c#]
DataGridViewRow dgvrow = grid.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["filename"].Value.ToString() == filename).SingleOrDefault();
[/code]

Now I have a reference to the DataGridViewRow (or null if it doesn't exist). It's very useful that using the Cast method will create an IEnumerable<T> so that you can easily do all your LINQ queries.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: ASP.NET | Server-Side
Posted by Denny on Monday, January 14, 2008 9:39 AM
Permalink | Comments (0) | Post RSSRSS comment feed