Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes. December 2007 Entries
New Year Resolutions .......... Another You're IT Thingy!
The Year 2008 is just around the corner actually 8 hours away so I thought a good post will be to ask everyone about their New Year Resolutions. Here are my five New Year Resolutions. 1) Exercise: I need to exercise, not that I am overweight or something but I just want to be in a good shape. I remember back in Pakistan I used to go to gym and exercise for 1-2 hours straight. Now, I cannot perform three good pushups :( 2) Learn Ruby: With the motive of learning one new language each year I will be ......

Posted On Monday, December 31, 2007 10:06 AM

Chasing Dreams Donation
Few weeks back I added a "Donation" link on www.KoffeeKoder.com and I also blogged about it "Helping the less fortunate". Today, I added few donation links on www.GridViewGuy.com. Through donations, these bright students can chase their dreams and become what they want to be ......

Posted On Sunday, December 30, 2007 7:26 PM

Poll: What language would you prefer to learn in the year 2008?

This is an interesting poll.

What language would you prefer to learn in the year 2008?

1) Ruby

2) C#

3) VB.NET

4) Java

5) Python

6) F#

7) Erlang

8) C++

Vote @ http://www.koffeekoder.com/

Posted On Sunday, December 30, 2007 10:39 AM

Membership Provider and Unit Testing
Sometimes back I wrote a blog post about Unit Testing Membership Providers. Yesterday, I had to do the same hence I turned back to my post but unfortunately I could not figure it out. After banging my head for several hours I finally figured out the problem. This post describes everything you need to do in order to unit test your providers. First create the custom provider which you would like to test. Here is my custom provider. My custom provider is created in a separate class library project. ......

Posted On Sunday, December 30, 2007 10:22 AM

Video: GridView Parent-Child Relationship Using JavaScript, JQuery and Ajax

I just published a new video in which I demonstrate how to create a GridView Parent-Child Relationship Using JavaScript, JQuery and Ajax.

Enjoy!

Posted On Friday, December 28, 2007 5:54 PM

Vote for my article on www.CodeProject.com

My article "Creating a Poll System Using ASP.NET 2.0 Callbacks" is in a race for the best ASP.NET article for November 2007 on CodeProject. If you like the article then please vote using the link below:

Cast your vote

You might be signed in to cast your vote.

Posted On Friday, December 28, 2007 11:47 AM

Helping the less fortunate!
Education is what makes us what we want to be. We enjoy the education system in the United States and in the European countries, where the cost is very low or even free. Unfortunately, there are lots of countries where parents cannot support their child’s education. Pakistan is one of those countries. Many students are not even able to finish their middle school because of the tuition fees. For this very reason I am starting a donation program in which people in different parts of the world can sponsor ......

Posted On Wednesday, December 26, 2007 4:41 PM

Do you Twitter?

Twitter is a website which encourages you to do micro blogging. Yeah micro blogging! It is more like writing in few words about what you are upto and sharing it with people. Its a nice way to keep in touch and be aware of other person's evil intentions :).

You can find my page of twitter using the following URL:

http://twitter.com/azamsharp

Enjoy!

Posted On Tuesday, December 25, 2007 5:05 PM

GridView Parent Child View with JQuery Effects
So, on Christmas day I was just checked how to add some more cool effects to the GridView control using JQuery. In this post I will display parent-child data in the GridView control with some help of the wonderful JQuery library. Let's first populate the GridView control. private void BindData() { string connectionString = "Server=localhost;Database=... SqlConnection myConnection = new SqlConnection(connectionStr... SqlDataAdapter ad = new SqlDataAdapter("SELECT ......

Posted On Tuesday, December 25, 2007 4:58 PM

Video: GridView Edit, Update, Cancel and Delete

I just published a new video on www.KoffeeKoder.com. In this video I will perform the edit, update, cancel and delete events on the GridView control.

Check out the video using the link below:

GridView Edit, Update, Cancel and Delete

Posted On Sunday, December 23, 2007 10:23 AM

NEW POLL: Who is the most inspiring person in the ASP.NET community?
I just added a new poll on www.KoffeeKoder.com in which I asked who do you think is the most inspiring person in the ASP.NET community. I have added few big giants of the ASP.NET community. Here is the list: Who is the most inspiring person in the ASP.NET community? 1) Scott Guthrie 2) Phil Hack 3) Scott Hanselman 4) Scott Mitchell Let me know if I am leaving any giant out! To vote simply visit www.KoffeeKoder.com and vote using the vote widget displayed on the upper right hand side of the page. ......

Posted On Saturday, December 22, 2007 2:26 PM

Dynamic Data Website is Awesome!!!!!!
Dynamic Data Website project allows you to create an administrative view of your web application. This allows you to add/edit/update/delete any data residing in the database through a cool user interface. I highly appreciate this template driven Dynamic Data Website project as 60% of my job at work is creating boring maintenance pages. The Dynamic Data Website project will really speed up things. The great thing about the project is that it is template based. Which means if you don't like anything ......

Posted On Wednesday, December 19, 2007 8:16 AM

Podcast: Introduction to Fit and Fitnesse Part II

I just published the new podcast "Introduction to Fit and Fitnesse Part II". In this podcast I explained how you can start the Fit server and perform testing using Fitnesse.

Here is the article which I talked about in the podcast.

Introduction to Fit and Fitnesse

Posted On Tuesday, December 18, 2007 7:53 AM

How do you test XML documents?
By XML documents I mean predefined XML documents which has to be in certain format. Take a look at the following XML file. <Exam title="Exam 1"> <Questions> <Question text ="What is the capital of Texas?" point="10"> <Choices> <Choice text="Houston" isCorrect="false" /> <Choice text="Dallas" isCorrect="false"/> <Choice text="Austin" isCorrect="true"/> </Choices> </Question> <Question text="What is the fastest animal on earth?" point ="10"> ......

Posted On Monday, December 17, 2007 7:52 AM

Screencast: Creating Database Connection and Displaying Data Using DataSet

I am starting a new screencast series for ADO.NET beginners. In this first part I will explain how to connect to the SQL SERVER database and populate a DataSet which is later displayed on the screen using the GridView control.

Creating Database Connection and Displaying Data Using DataSet

Posted On Saturday, December 15, 2007 6:24 AM

Article: Creating Online Exam Using LINQ to Classes Part 1

I just published a new article on Creating Online Exam Using LINQ to Classes. In the first part I discuss the design and architecture of the application. You can view the article on www.KoffeeKoder.com at the following link:

Creating Online Exam Using LINQ to Classes

Posted On Thursday, December 13, 2007 9:54 AM

ASP.NET MVC Framework & Web UI Controls
Few days back ASP.NET MVC Framework was released. Since, the framework is new there are not many UI controls available yet! But off course this is all going to change. Actually this has already started to change since Rob Conery created the MVC UI Helper Controls. Scott Hanselman used some of Rob's cool controls in his demo. The purpose of the UI helper controls is to help the developer to quickly create UI controls. So, instead of using the foreach loop to populate a DropDownList you can use the ......

Posted On Thursday, December 13, 2007 9:37 AM

Google Chart API Truly Awesome!!!!!
My friend Ben Scheirman blogged about Google Chart API. You can read his post here. The chart API is a URL based API which means you will pass the data in the URL and Google will create a chart for you. This is truly awesome since creating the chart is a pretty hard performance kill operation specially when your chart is very very complex. Delegating this work to Google will save us from the trouble. Anyway, there are many kinds of graphs that you can plot using the Google Chart API. In the example ......

Posted On Wednesday, December 12, 2007 8:17 AM

Generic Repository Methods
Today I was creating the Repositories for my demo project when I releazed that there were some methods which were present in all the interfaces of the repositories. These methods included GetById, Add, PersistAll, GetAll etc. Each of my repositories had its own interface and then they have to implement the their own custom GetById, Add, PersistAll methods. The implementation of these methods was pretty much the same with the exception of the object's type so I did not wanted to implement the same ......

Posted On Tuesday, December 11, 2007 4:40 PM

ASP.NET MVC Framework = Classic ASP
I saw Scott Hanselman screencast on ASP.NET MVC Framework. After watching the video I realized that this MVC framework is pretty much like classic ASP or atleast have some similarities. Check out the code below where I have populated a DropDownList (HTML Select Tag): <select> <% foreach (var category in ViewData) { %> <option id="ddlCategories" value = "<%= category.id %>"> <%= category.CategoryName %> </option> <% } %> </select> The controller was ......

Posted On Tuesday, December 11, 2007 5:45 AM

Microsoft Needs to Build a Smart Installer!
When installing VS 2008 you need to un-install all the VS beta products and other stuff. There is a long list of products which you need to un-install and remove from your system. You can find the complete list on Scott's blog. Now, that is a long long list of things that need to be un-installed before using the released version of VS 2008. Microsoft should build a smart installer which shows you a list of items which must be un-installed in order to run VS 2008 correctly. This way you can simply ......

Posted On Monday, December 10, 2007 7:38 AM

Silverlight Project Busted in Visual Studio.NET 2008
I just re-installed Visual Studio.NET 2008 on my machine after un-installing all the required components. After the successful installation I opened the VS 2008 Team Suite and could not find the Silverlight Project. So, I went to the Microsoft website and downloaded the Add-On and installed it. Now, I can see the Silverlight Project but when I create the Silverlight project all the references are messed up and I cannot even add a reference to a .NET assembly. Here is the screen shot. Silverlight ......

Posted On Monday, December 10, 2007 7:25 AM

MEDIAMAX.COM WORST ONLINE STORAGE SYSTEM
I regret it so much that why did I chose MediaMax.com for my online storage for my videos and podcasts. Their service sucks!! The download is soooo slow that you can go do your groceries and come back and even then it is still downloading. The upload is more suckier. You upload something and it won't about in the upload folder for 5-6 hours. I emailed them 5-6 times for help but no one ever replied. DO NOT waste your money with this crappy online storage service. PS: Anyone knows a FREE online storage ......

Posted On Saturday, December 8, 2007 7:36 AM

Article on Creating User Controls by Zaheer Akhtar Published on KoffeeKoder
I recently published a new article on Creating User Controls by Zaheer Akhtar. Here is the abstract from the article: There are many controls in Microsoft Visual Studio 2005 that certainly save you lots of development time, but there are always opportunities for you to build your own controls to save even more development time. Many business problems require custom controls to simplify the development solution. Custom controls are typically required to obtain different functionality, new functionality, ......

Posted On Saturday, December 8, 2007 7:21 AM

Poll: What Microsoft web technology are you excited about?

I just published a new poll on www.KoffeeKoder.com. You will see the poll widget on the right hand side of the screen.

PS: I know LINQ, XLINQ, DLINQ (LINQ to Classes) is a framework feature but just added it for the heck of it!

Posted On Friday, December 7, 2007 7:07 PM

Speeding Up Visual Studio by Disabling the Startup Page

I really don't like the startup page which shows latest articles and news from MSDN. So, to speed up the loading of Visual Studio it is better to disable the start page. Just go to Tools -> Options then select the Environment node and then select the Startup child node. You can set it up to "Show empty environment". I have also disable the dynamic help and pretty much every type of help!

Hope it help!

Posted On Friday, December 7, 2007 8:18 AM

Podcast Section on KoffeeKoder
I have just added a new Podcast section on KoffeeKoder.

It will be displayed on the right hand side of the page. The new podcast will be uploaded this weekend which will cover using NFIT and Fitnesse framework.

Posted On Friday, December 7, 2007 4:00 AM

Improving Web Application Performance
When designing a web application we need to squeeze the performance out of our application in every possible way. Here are some tips on how to increase the performance of your web application. 1) Caching: This is on the top of the list. Caching when used wisely can increase the performance of the web application by more than 100%! Steven Smith is an expert in caching and has provided many articles and videos in which he showed how to use caching effectively. Check out this video on Caching on DNR ......

Posted On Thursday, December 6, 2007 8:12 AM

Dude! Where is my components tab in Visual Studio 2008?
Are you kidding me! I need to add COM components to my toolbox in Visual Studio 2008 but hey I can't because there is no freaking components tab. If I view all the tabs I can see the components tab but then all the items in that tab are disabled. I am using Web Application for this purpose. It seems like Visual Studio.NET 2008 is impressed by Windows Vista where their philosophy is "Hide Everything!". I am still not able to add my custom activeX componets to my custom tab or to the components tab. ......

Posted On Tuesday, December 4, 2007 2:16 AM

How do you keep track of database changes?

I think this will be an interesting topic. How do you keep track of your database changes? Let's say you are working on the development and you created 10 sprocs, Jim created 12 sprocs and 2 tables, Mary updated 2 sprocs and added a new column to the table. Now, how do you keep track of all these changes? What tools are you using to keep track of every little change so that when it is time for deployment we only run the new/updated SQL scripts.

Your thoughts!

Posted On Monday, December 3, 2007 5:19 PM

Having Fun with Extension Methods :)
Extension Methods is a new feature of the C# language (I think it is called C# 3.0). Extension methods allows you to extend the CLR types. This includes all the types which inherit from the System.Object class. Let's see a small example where I have extended a String to add a new "Reverse" method which gives me the string in reverse. public static string Reverse(this string s) { string r = String.Empty; for (int i = s.Length -1; i >= 0; i--) { r += s[i].ToString(); } return r; } I am using the ......

Posted On Monday, December 3, 2007 9:43 AM

Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net