New Features to My Blog
Here's the result, Nice ha...

ViewState is one of the 3 way that used by ASP2.0 to retain state information about the web page. ViewState allows the state of objects (serializable) to be stored in a hidden field on the page. It is transported to the client and back to the server, and is not stored on the server or any other external source. I’m not going to go deep in to what is ViewState or how to use it. You can find more about ViewState here>>.
Since ViewState is kept in the webpage itself, it can become a performance bottleneck. If the ViewState is too large then the roundtrip delay for postback can increase significantly, especially if the user is having slow internet link. So it would be wonderful if we can find out the size of the ViewState during the testing phase of the application. So we can get relevant actions to improve the performance.
To do that create a class (I named it as MainPageBase) class that all the other pages in the application need to inherit. The code for the class is as shown below.
It writes the size of the ViewState to the Trace. To view the Trace you have to enable it first. To do that adds following line of code within the
That’s all. Compile the code and do the testing of your application. Finally to view the results of what we did open the Trace viewer(Trace.axd page). For example http://yourApplicationroot/Trace.axd.
SyncMyCal is a simple plug in to MS Outlook which allows you to synchronize your Google calendar and Outlook calendar. Using this tool you can keep both your calendar up to date.

LearnVisualStudio.net is a great site which provides thousands of videos on how to program in .Net. But you have to get subscribed to get access to their full set of videos. But occasionally they release free videos as well. You can get information about these free videos through email by subscribing. These are few free videos I received that way.
1) Designing Relational Database Tables
Why are relational databases the most popular? Differentiate between primary and foreign keys. Design relational database tables and learn about normalization rules and de-normalization.
Download This Free Video
2) Understanding Security and Network Connectivity
Differentiate between database files and SQL Server processes. Explore scenarios for connecting to SQL Server Express databases, enabling and disabling user instances, login permissions, and other security precautions.
Download This Free Video
3) Introduction to Anonymous Delegates
After reviewing How to Create and Use Regular Delegates, this video explains the concept of creating anonymous delegates, when to use them and when not to, and explains the concept of closure for retrieving the state and scope of the anonymous delegate at instantiation for use upon its invocation. (Anonymous delegates are not available in Visual Basic 8.x or earlier.)
Download This Free Video
4) Introduction to Generics
Generics allow you to create flexible data structures that are strongly typed. This video compares the System.Collections.ArrayList class versus its generic replacement, the System.Collections.Generic.List, explaining exactly why generics are the prefered way to add stability to your collections by catching situations where objects of the wrong type are being added to your collections at compile time.
Download This Free Video
5) Understanding Web Application State
In this lesson, you will see how to maintain state in your ASP.NET 2.0 applications.
Not familiar with the term “state” as it’s used in web jargon?
Basically, the web is inherently a stateless environment … each “page” of a web site is independent. The trick is passing along certain information between each individual visit to a web page for a given user.
ASP.NET 2.0 has several different ways to accomplish this. In about 35 minutes we demonstrate and explain the major ASP.NET classes and various techniques you can use to provide your users a rich web-based experience.
Download C# Version
Download VB.NET Version
6) Debugging and Tracing your Website
In this lesson, you will learn how to debug and monitor your ASP.NET 2.0 Web applications.
Fortunately, Microsoft has made it easy to step through each line of code to observe how it's executing to ferret out difficult-to-find bugs. Skills you've developed in writing Windows applications will definitely help, but there are some more tricks and tips that you can use with live applications (i.e., web applications that you've already deployed).
We'll show you almost everything you'll need to know about debugging and monitoring the execution of your app in less than 30 minutes!
Download C# Version
Download VB.NET Version
7) How to use the BackgroundWorker Control
This video comes from the Windows Forms Controls 2005 Series. This video demonstrates how to use the new BackgroundWorker Control to easily create a multi-threaded application. (Works with all versions of Visual Studio 2005, including the Express Editions)
Download C# Version
Download VB.NET Version
8) Securing your ASP.NET 2.0 Web Site with Membership and Login Controls
Your next free tutorial comes from our "Getting Started with Visual Web Developer 2005 Express Edition" series. In this video you discover the new membership capabilities of ASP.NET 2.0. In addition, you will learn about role-based security, and how you can use roles to control access to your web site.
Download C# Version
Download VB.NET Version
Your alarm goes off, you hit the snooze and sleep for another 10 minutes.
He stays up for days on end.
You take a warm shower to help you wake up.
He goes days or weeks without running water.
You complain of a "headache", and call in sick.
He gets shot at as others are hit, and keeps moving forward.
You put on your anti war/don't support the troops shirt, and go meet up with your friends.
He still fights for your right to wear that shirt.
You make sure you're cell phone is in your pocket.
He clutches the cross hanging on his chain next to his dog-tags.
You talk trash about your "buddies" that aren't with you.
He knows he may not see some of his buddies again.
You walk down the beach, staring at all the pretty girls.
He walks the streets, searching for insurgents and terrorists.
You complain about how hot it is.
He wears his heavy gear, not daring to take off his helmet to wipe his brow.
You go out to lunch, and complain because the restaurant got your order wrong.
He doesn't get to eat today.
Your wife/mother/maid makes your bed and washes your clothes.
He wears the same things for weeks, but makes sure his weapons are clean.
You go to the mall and get your hair redone.
He doesn't have time to brush his teeth today.
You're angry because your class ran 5 minutes over.
He's told he will be held over an extra 2 months.
You call your girlfriend and set a date for tonight.
He waits for the mail to see if there is a letter from home.
You hug and kiss your girlfriend, like you do everyday.
He holds his letter close and smells his love's perfume.
You roll your eyes as a baby cries.
He gets a letter with pictures of his new child, and wonders if they'll ever meet
You criticize your government, and say that war never solves anything...
He sees the innocent tortured and killed by terrorists and remembers why he is fighting.
You hear the jokes about the war, and make fun of men like him.
He hears the gunfire, bombs and screams of the wounded - and of the innocents who have no one to stand up for them.
You see only what the media wants you to see.
He sees the broken bodies lying around him.
You are asked to go to the store by your parents. ... And You don't.
He does exactly what he is told.
You stay at home and watch TV.
He takes whatever time he is given to call, write home, sleep, and eat.
You crawl into your soft bed, with down pillows, and get comfortable.
He crawls under a tank for shade and a 5 minute nap, only to be awakened by gunfire.
You sit here and judge him, saying the world is probably a worse place because of men like him.
If only there were more men like him!

Have you ever walked into a room and wondered why you are there? Have you ever faced someone you've known for years and couldn't remember his/her name? I don't know about you, but these things do happen to me sometimes.
Today while I was surfing the Internet I came across a very good article about how to keep our brain alive and active.
The article I read points out few things that we have to do in order to healthy brain;
<?xml version="1.0" encoding="utf-8"?>The feed refresh # is in seconds, and the refresh onclick ensures you have the most recent version of that feed when you click it.
<custombuttons xmlns="http://toolbar.google.com/custombuttons/">
<button>
<title>Name of Button</title>
<description>
What that button does or what the site is about.
</description>
<site>URL of tool or homepage </site>
<feed refresh-interval="900" refresh-onclick="true">feed location</feed>
<icon mode="base64" type="image/x-icon">base 64 version of your icon - not needed but it looks nice to use.
</icon>
</button>
</custombuttons>

Everyday we send number of emails to our friends, colleagues, lectures, etc.... Little details that we left out or inadvertently included can suggest that we are lazy, incompetent, inattentive, mistrustful, or unprofessional. Today, while I'm surfing the net I came across an interesting article by Paul Glen which gives some important points that we have to consider when sending a email. Those are;


This is a simple method that enables you to add Sri Lankan holiday list to MS Outlook holidays. I first saw this at Meril’s blog. It only had information to add the holiday list to Outlook. But it is possible to add the same list multiple time creating duplicates. (It personally happened to me) After Googling, managed to find a method to remove those duplicates. I’m including that in this post as well.
– – – – – – – – – Start Copy – – – – – – – – –
[
Duruthu Full Moon Poya Day(BPM),2007/1/3
Tamil Thai Pongal Day(BPM),2007/1/15
Navam Full Moon Poya Day(BPM),2007/2/1
National Day(BPM),2007/2/4
Mahasivarathri Day(BP),2007/2/16
Medin Full Moon Poya Day(BPM),2007/3/3
Milad-Un-Nabi (Holy Prophet’s Birthday)(BPM),2007/4/1
Bak Full Moon Poya Day(BPM),2007/4/2
Good Friday(BP),2007/4/6
Day Prior to Sinhala & Tamil New Year Day(BPM),2007/4/13
Sinhala & Tamil New Year Day(BPM),2007/4/14
May Day(BPM),2007/5/1
Vesak Full Moon Poya Day(BPM),2007/5/1
Day following Vesak Full Moon Poya Day(BPM),2007/5/2
Adhi Poson Full Moon Poya Day(BPM),2007/5/31
Poson Full Moon Poya Day(BPM),2007/6/30
Esala Full Moon Poya Day(BPM),2007/7/29
Nikini Full Moon Poya Day(BPM),2007/8/28
Binara Full Moon Poya Day(BPM),2007/9/26
Id-Ul-Fitr (Ramazan Festival Day)(BP),2007/10/13
Vap Full Moon Poya Day(BPM),2007/10/25
Deepavali Festival Day(BP),2007/11/8
Il Full Moon Poya Day(BPM),2007/11/24
Id-Ul-Alha (Hadji Festival Day)(BP),2007/12/21
Unduvap Full Moon Poya Day(BPM),2007/12/23
Christmas Day(BPM),2007/12/25
– – – – – – End Copy – – – – – – –
Update the current holiday file
Note It's possible that a set of holidays or events observed in your country/region has already been selected in the Add Holidays to Calendar dialog box. If you try to add the same country/region again, you see the message, "Holidays for country are already installed. Do you want to install them again?"
Click No. If you click Yes, the holidays and events are installed a second time, and you will see duplicate holiday and event entries in your calendar.
In case if you accidentally clicked Yes here is how to remove duplicate holidays.


Wow… It has been a wonderful year for me. So far 2006 has been one of the best years in my life. I gained tons of experiences and knowledge this year that will help me to gain success through out my life.
I started blogging on March with a very small welcome note . And also March was a great month since our proposal for the Imagine Cup 2006 Software Design local competition was selected for last five. So begin the hard working time. But all that hard work and countless sleepless nights finally paid off when we won the IC local competition on May 31st. It was one of the happiest days in my life. I had to do a 10 min presentation about our system in front of nearly 300 people. My first presentation of that kind. Participating and wining Imagine Cup was the greatest thing happened to me in last year.
In June I participated for our 2nd batch trip. Two day trip to Sinharaja world heritage rain forest. Most remembered thing in that trip was that I slipped off form a rock, when we went to see a beautiful waterfall on the way to Siharaja and wounded my right small finger. I still have a mark in my finger to remember that wonderful trip.
July and August was very busy months. I had to participate for lectures and parallely prepare for IC world final in
We fly to
Fun ended soon after we landed in
New chapter of my life opened up soon after the exams, Internship period at Navantis SL. This was a long waited thing for me. I always wanted to see what exactly happens in the industry. I’m still at Navantis undergoing my training. It was bit difficult at the beginning to catch up with the work, but after few days I got into the track. Life remained same ever since. Going to office in the morning and coming home in the evening. I understood that working is quite different from the university life some times it’s very boring, doing same thing over and over again.
After months of delays and tons of problems we started the implementation of the Financial Planning System for Mr.Pattrick . Our very short experience in internship helps a lot for it. With it more work come to my shoulders. After I come home around 8pm I had to start working on Pattrick project, I usually do that work from 9.30 to 11.30. It’s not easy, but what to do… If you promise for some thing you have to do it. And all weekend were spent on project meetings and implementation.
Few weeks back I did my first technical session for our super joiner batch on Introduction to .Net and Programming with C#. I was a wonderful experience to share knowledge with others.
When I look back my year’s activities I think this was a successful year for me with lots of excitements and achievement. I really think that I’ve laid a good foundation to my future in this year.

Read 10 tips for time management in a multitasking world for more details...
Glued Ideas Subtle designed by Christopher Frazier, Blogger Templates by Blogcrowds.