I've been banging .NET 3.5 lately and this rendezvouz with LINQ (Language Integrated Query) has been making my brain smile alot. I mean, how can you not like something so easy and well defined and makes your life as developer alot easier. Anyhow, I just wanted to post my LINQ cheat sheet. It's...
I was working on small project today and one of the requirements is to list down all the Mondays in a year and populate a dropdownlist with the values. It's a funny requirement but still needs to be done since the client wants it that way(Oh well, customer is always right even if it would end up...
I think the guys in the .NET Framework team has this thing about vanity. Yeah! I call it code vanity. Not that its bad.. but its just funny how code has been getting beautiful. more beautiful and even more beautiful as the evolution of .NET goes forward. And it's a great thing too! Here's a look...
A few days ago we helped Rolvin sort the list of girls he wants to date .. this time we'll help him find the girls with a cuteness factor that matches his criteria. =) *To have a clearer understanding about this demo please look at my first article about Rolvin and Generics ;). A little background about...
A few weeks ago I wrote an article on how to use IComparer and how it was easy it is to create a custom comparer to sort our objects. This time we'll talk creating a default sort mechanism for our objects by using IComparer's relative, the interface IComparable. We'll also be touching Anonymous Delegates...
Don't you just love Generics? I mean, it helps you alot in so many ways that everytime you are asked about why you love Generics all you could say is "Uh, type safety?".. Err! We need to change that! There are alot more things to like about Generics than just type safety... Like code organization......
A simple demo that shows how to create a Master-Detail View in ASP.NET. Creating the underlying classes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69...
This is part of the fictitious Global Bank project I’ve posted on GotDotNet. What is Web Service Software Factory? The Web Service Software Factory, also referred to as the Service Factory, provides you with a set of proven practices for building distributed applications. These practices are exposed...
After reviewing my first example .. i realized that doing reflection is not the easy way to do get the known color collection(thanks to Chris Vega who pointed to me the Enum called KnownColor which basically contains .NET known colors). Somebody also told me that the demo would be nicer if the colors...
I had a little downtime today so i decided to create something useful(ala coding4fun) and one of the things that i wish i have in my toolbox is an .NET color chart since most of the time i tend to look at what colors i could use when matching my controls with my UI's theme(stylesheets? nah, that...
I created a demo today about WMI to demostrate to a friend how to read his machine's information. The resulting application is listed below. It's funny because i was just supposed to show him how WMI works but ended up discussing IEnumerators, Hashtables, Enums, Strategy and Command Pattern plus a hint...