Links for week of 10/26/2009

Posted on Tuesday, 27 October 2009 03:34 PM

WPF 4 (VS 2010 and .NET 4.0 Series)

Extending Visual Studio 2010 UML Designers – Part 1: Getting Started

Playing with JQuery Validation Library, Part 2

Using C# dynamic to call static members

Collection covariance with C# 4.0

Extension methods ain't Trojan horses – A tale on a covariant city built in and protected by C# 4.0

ScottGu Manchester ASP.NET MVC Video

Strongly Typed ASP.Net MVC Helpers

Consuming Services with WCF

Building HtmlHelper Extension Methods for ASP.NET MVC

New features in Entity Framework impacting providers

Using jQuery's UI Slider For Page Sizes

Much Improved .NET 4.0 WPF Text Rendering

Reset Identity (Primary key) column in SQL with or without Truncate

Posted on Thursday, 22 October 2009 06:40 PM

To reset the identity (primary key) column in SQL, the quickest way is to use Truncate function. *** Truncate will DELETE ALL OF THE DATA IN YOUR TABLE ***

TRUNCATE TABLE Blogs

If for some some reason, you can't truncate the table and got this error message:

Cannot truncate table 'dbo.nn_Songs' because it is being referenced by a FOREIGN KEY constraint.

It's because there are foreign key constraints, but you still want to reset the number, then first MANUALLY DELETE the rows (via the UI for example), then do this:

DBCC CHECKIDENT('Blogs', RESEED, 0)

That should reset your identity column to 0.

Thôi Thế Thì Chia Tay - Brotherz live with Quốc Khanh

Posted on Thursday, 22 October 2009 04:40 PM

Another video from my band, The Brotherz, live in concert with Quốc Khanh.

Thôi Thế Thì Chia Tay

Got a copy of EA Fifa 2010

Posted on Wednesday, 21 October 2009 03:37 PM

I've been waiting for the release of EA Fifa 2010 for quite awhile, for some random reasons. Mostly because I'm bored at Fifa 2009 (I've been playing it ever since its release date) and it lacks of features that was already in the previous version, such as Fifa 2008.

Most of the time I play against the computer in Manager mode, basically, you starts at a manager for the club and your goal is to take that club to the top. In each season, you have the ability to buy, sell, trade players, upgrade players, stadium, staffs, etc... Fifa '09 annoyed me the most when I can't change player' Kit number. So I might have some of my favorite strikers such as Messi or Torres wearing some stupid number like #2 or #39, and then some goal keeper wearing #11! And a long list of features that I would love to have.

Fifa 2010 changed that. The improved AI is A LOT better, quicker, and more realistic. I can now change Kit number, and the Manager Mode is more fun than ever. I only have couple hours playing with it last night but I've already liked it a lot more than I ever was. This will keep me busy for another year (just like Fifa 2009 did, dispite some minor problems I've stated above) until Fifa 2011 comes. If you are a soccer fan, Fifa 2010 is the game to play.

Links for week of 10/19/2009

Posted on Tuesday, 20 October 2009 01:34 AM

Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier

Using the New Microsoft Ajax Minifier

ASP.NET MVC 1.0 Scripts Available on Microsoft CDN

Gtk# for .Net Developers, part II

URL Routing with ASP.NET 4 Web Forms (VS 2010 and .NET 4.0 Series)

MVC Script & Css Helpers

ASP.NET MVC2 Preview 2: Areas and Routes

COMMON WEB.CONFIG TRANSFORMATIONS WITH VISUAL STUDIO 2010

Git# - First Public Release

ReSharper 5.0 Overview

Lambda Expressions: An Introduction

Targeting earlier .NET frameworks 2.0, 3.0, 3.5 using Visual Studio 2010

LINQ to SQL, Lazy Loading and Prefetching

LINQ To SQL Tips & Tricks: String Operations

Implementing RESTful Routes & Controllers in ASP.NET MVC 2.0

How To Optimize the Speed of Your Website

Coding: Role based interfaces

Single Project Add View in ASP.Net MVC 2 Preview 2

My ASP.NET MVC Stack and Why I've Chosen It

Generate Metatags for ASP.NET Pages Dynamically

Windows Communication Foundation 4.0 - New REST Features

Creating a Filtering User Interface With jQuery In a Web Forms Application: Part 1 Part 2

Creating Beautiful Dialogs Using JQuery UI

Using Custom Validation Rules in WPF

Do you know about this undocumented Google CDN feature?

1   2   3   4   5   >