Dev Notes

Suspended Indefinetly...

News

<script type="text/javascript"><!-- google_ad_client = "pub-9887566656700242"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_type = "text"; //2006-12-28: Savvy google_ad_channel = "6620623950"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script type="text/javascript"><!-- google_ad_client = "pub-9887566656700242"; google_ad_width = 120; google_ad_height = 60; google_ad_format = "120x60_as_rimg"; google_cpa_choice = "CAAQxZqazgEaCMOiwb9yonQWKIHD93M"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>

Favourites

Friends

India MVP & CS

My Blog Roll

Publicity

Posted: by

Comments

Greg Reinacker said:

Try NewsGator! :-)
# June 11, 2003 2:58 PM

Jeff Julian said:

definately try newsgator
# June 11, 2003 3:25 PM

Peter Kay said:

Don't forget Alintex Script Host (www.alintex.com). It lets you run C#, VB and JScript.NET applications, and only requires the .NET redistributable.
# June 11, 2003 5:53 PM

sudhakar said:

I mean to edit the posts and add new posts from desktop.
# June 11, 2003 9:01 PM

Scott Watermasysk said:

Newsgator does allow you to edit posts from your desktop.. :)

But I am also working on a winform client. Hopefully I will have a beta available shortly.

-Scott
# June 11, 2003 10:54 PM

Paul Gielens said:

Well done!
# June 12, 2003 7:41 PM

Roy Osherove said:

Congratulations :)
# June 15, 2003 8:02 PM

Fabrice said:

Great work!
Please take note that the URL should simply be http://SharpToolbox.com/
Thanks :-)
# June 17, 2003 12:37 AM

TrackBack said:

Fabrice's weblog
# June 17, 2003 1:23 AM

Douglas Reilly said:

Link does not work. Says you must be a Brinkster member...
# June 26, 2003 10:26 PM

Roy Osherove said:

Take a look at my .Net debugging resources page - it has more info(plus the doc you mention)
http://dotnetweblogs.com/rosherove/story/7573.aspx
# June 27, 2003 1:59 AM

sudhakar said:

well, brinkster is stopping the referrals..I need to find out some way :)
# June 30, 2003 2:21 PM

Frans Bouma said:

36.68639% - Major Geek

:P

"How to count to 31 on one hand". I even knew that one... I should download^H^H^H^H^H^H get a life indeed ;)
# July 6, 2003 7:01 PM

Christophe Lauer said:

Some questions are just hilarious. Here's my score: 29.5858% - Total Geek

Not that bad.
# July 7, 2003 1:16 AM

Mads Nissen said:

Welcome to the club (have been linked from my blog for ages:). This is the ultimate in "employer" punishment.
# July 11, 2003 1:25 AM

Mallik said:

me too :-)
# July 20, 2003 11:56 PM

Ram said:

Or if you run Windows XP you can use the
MS PowerToys to open a command window here.
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp
# July 23, 2003 7:55 AM

TrackBack said:

Matthew ".NET" Reynolds
# July 23, 2003 10:14 AM

TrackBack said:

Dan Bright's .NET Weblog
# July 23, 2003 10:14 AM

Sudhakar said:

yeh, cool...

But this tip is to initiates VS.NET environment and opens command bar.
# July 23, 2003 4:24 PM

HumanCompiler said:

It's fun to kick back and read discussions like that...a lot of valid points...a lot of very not valid points. It's like the Java world is getting nervous or something. Who really cares how many people use one or the other? Maybe it's important to some people...not to me. It won't change what I use! ;)

Thanks for the link to that...good times! :)
# August 12, 2003 6:03 AM

Damit said:

I have to chuckle when I see some of the frantic postings about how "M$" is doomed and how ".NOT" is going to be a failure, all based on some stats taken out of context.

I guess it's like what Mark Twain said: "There are lies, damn lies, and statistics."

It's good though that the Java lobby is dismissing .Net so easily. :-)
# August 12, 2003 8:24 AM

TrackBack said:

# August 12, 2003 12:31 PM

Jon Galloway said:

Funny - what was that 1 person who couldn't care less doing on patternscentral.com? I think the results are skewed - people that go to patternscentral are likely to believe in the value of patterns.
# August 14, 2003 11:33 AM

Jesse Ezell said:

LOL. 34% say they are misused? How the hell do you misuse a pattern?
# August 14, 2003 12:06 PM

Santhosh said:

Nice link Sudhakar.

best regards
Santhosh
# August 15, 2003 2:53 PM

Eliza.NET said:

With less knowledge of right context to use patterns can lead some guys to misuse it.(Performance problems, maintainance problems..etc..)
# August 18, 2003 4:51 AM

Mehran Nikoo said:

I think Chris has been reading one of his own posts (e.g. what they are preparing for PDC) and has found it useful, so he has added simplegeek.com to his blogroll (which happens to be his own blog!)

Just kidding Chris :)
# August 18, 2003 9:37 AM

Daniel Fisher said:

So he can see what his posts look like in the agregators ...
# August 18, 2003 9:44 AM

Mahesh said:

Hey, the link seems dead...
# August 20, 2003 4:55 AM

sudhakar said:

No, It works, but bit slow :)
# August 20, 2003 5:08 AM

Bryan Murphy said:

And CNet has an interview with Streling Ball, a real world entrepeneur who has real world experience actually working for a real company that uses Linux:

http://news.com.com/2008-1082_3-5065859.html?tag=fd_lede2_hed
# August 20, 2003 11:28 AM

SBC said:

we seem to be thinking about the same thing at the same time!
http://weblogs.asp.net/sbchatterjee/posts/24655.aspx
# August 20, 2003 12:25 PM

TrackBack said:

# August 21, 2003 7:14 AM

Danny said:

Hi, I was going over my stats and noticed that you had a referring url for my site here so i thought i'd take a look. Thanks for mentioning my site! Just a note..., i am going to be adding several new NASA and Hubble pics soon so keep an eye out. these new pics will all be pretty close to 1024x768 so look for them.
Take care and thanks again,
Danny
Dannys Desktop Wallpapers
http://dannysdesktop.themesunlimited.com
# August 23, 2003 4:22 AM

Oleg Tkachenko said:

Do you think "weak and somewhat patchy" means "maintainable"?
# August 25, 2003 9:18 AM

Carl Prothman said:

There is also a complete compiled list of ADO / ADO.NET connection strings at: http://www.able-consulting.com/ADO_Conn.htm
# August 26, 2003 9:45 PM

Deepak said:

:-)
# August 29, 2003 9:46 AM

Sudhakar said:

I think MS roads are getting stronger day by day now.
# September 1, 2003 7:48 AM

Christophe Lauer said:

It looks like the numbers used in this document are from the first TMC benchmark. Use with great care!
# September 2, 2003 4:10 AM

Fabrice said:

# September 16, 2003 8:29 AM

Jim D said:

Links Error Out:
Your email message has been idle and this link has become inactive. To access the link, close this window and return to your MSN Hotmail Message. Then click the browser's Refresh button or close your message and reopen it.
# September 23, 2003 9:05 AM

sudhakar said:

Thanks, links are modified now. :)
# September 23, 2003 9:35 AM

TrackBack said:

# September 25, 2003 8:44 AM

Jeff Gonzalez said:

This is enabled by default on XP SP1
# September 25, 2003 10:49 PM

Deepak Sharma said:

Congratulations !!
# October 6, 2003 9:30 AM

SBC said:

# October 13, 2003 11:37 AM

nida said:

hello! this is me
# October 14, 2003 4:01 PM

Greg Duncan said:

Needs link checking... the Wrox links do not work.
# October 17, 2003 9:13 AM

SBC said:

great effort! shukriya...
# October 24, 2003 7:55 AM

Andrew said:

Nice!
# October 29, 2003 9:23 AM

Crazy Montenegrin said:

# October 29, 2003 10:17 AM

TrackBack said:

Mother Nanny Pattern
# October 29, 2003 10:50 PM

Robert Hurlbut said:

Great tip. Thanks!
# October 31, 2003 8:27 AM

Jon Galloway said:

SQL QA is a great SQL development environment - I hope we don't lose features in the new Whidbey / Yukon SQL "Workbench". Thanks for this list - I've got it printed out for reference.
# October 31, 2003 6:53 PM

TrackBack said:

collection of pdc rleated links ...
# November 3, 2003 2:22 PM

Shannon J Hager said:

Aren't there are more XP users than 98, according to that graph?
# November 18, 2003 2:41 AM

Scalability and typed datasets said:

perhaps more surprising considering 98 is the big consumer OS, 2000's market share is pretty close
# November 18, 2003 5:04 AM

SBC said:

Does that mean that most of the Win98 users are in India?
:-) ..just kidding)..
# November 18, 2003 6:38 AM

Rolly said:

Wow! I just makes a big statement which users are working and which ones waste their time surfing the internet.
# November 18, 2003 12:43 PM

TrackBack said:

Artima
# November 19, 2003 12:23 AM

TrackBack said:

Artima
# November 19, 2003 12:23 AM

TrackBack said:

BlogRoll
# November 19, 2003 12:24 AM

TrackBack said:

ASP.NET Forums
# November 19, 2003 12:25 AM

TrackBack said:

DNUG Hyderabad
# November 19, 2003 12:25 AM

Dylan Greene said:

Windows 98... 29%
Windows XP... 38%

Looks like XP is more popular than 98.
# November 19, 2003 6:46 PM

TrackBack said:

SQL Team's Elsewhere
# November 20, 2003 5:18 AM

TrackBack said:

Raging Smurf
# November 20, 2003 5:20 AM

SBC said:

I'd certainly use XML & Webservices as an integral part of.NET, therefore .NET ranks in the top 10.. :-)
# November 29, 2003 7:10 PM

TrackBack said:

# December 1, 2003 11:17 AM

Tim Marman said:

Actually, as I was saying earlier, this could be bad for Microsoft.

Not because they're losing money on it - since it owuldn't be sold anyways - but because people who might not know that this is pre-alpha software, ie end users, install it thinking it's Microsoft's new OS.

We all know it's incomplete, instable and slow - definitely not a polished product.

Imagine the bad taste it's leaving for some people...
# December 2, 2003 9:09 PM

Chad Humphries said:

Excellent top 10. Almost down to the letter what we in the office sometimes say.
# December 5, 2003 9:54 AM

TrackBack said:

Jason3D
# December 6, 2003 12:40 PM

Travis Laborde said:

The .CommandTimeOut property has some bugs, not just when used via the DAAB. I have found that setting it to 0 "unlimited" works on some machines and simply doesn't on others.

Worse, it seems that the macine actually running the ADO code isn't the problem, but the SQL Server, somehow :) Here's an example:

Two web servers, running the same code, using web.config for the ConnectionString. Everything identical except for the ConnectionStrings. Point one app at SQLServerA and one at SQLServerB, one has this problem, one does not.

Very strange. My fix? Set CommandTimeOut to 90 :(

What's even stranger: If you dim but don't even use an ADO.OLD Command object, and set IT'S timeout to 0, even the ADO.NET one works! Bleh!
# December 7, 2003 9:12 AM

Scott Galloway said:

You sure you mean .ascx to be added to the compressible file list?
# December 10, 2003 11:15 AM

Teucer said:

Sudha,

Ofcourse I agree to this issue and partially to your resolution.

These are my 2 cents :)

1. CommandTimeOut is unfair as Travis has pointed out hence we cannot rely on setting the timeout to an specific or arbitary value. What otherwise I had done in our app is to provide a helper method which will set a static var in sqlHelper (yup i defined that) which is used a multiplier for the default timeout for sqlCommand object.
In case of this specific error I would rather poll the same db call again for n instances and if after the last(nth) time it keeps failing report the error back to the caller (user).

This scenario is usefull in my app as I need to keep polling till I can and atlast give up for web apps this might not be the case but the timeout multiplier which I use has done its job more than a few times.

2. I have also seen an instance when you MIGHT get this error is in case you do not explicitly set your sproc parameters from ado.net and simply call the sqlhelper's methods.
What internally happens is sqlClient smartly assigns the parameters which you have set in ado.net to the relevant datatypes in the sproc parameters and sends them without a hitch. But this badly fails when you are sending heavy data like nText paramters where in the paramter might result in a wrong conversion from sql client and result in sql server spitting out a severe error. In which case also you might see the same error.

Moral of the story:
1. Do not perform ado.net calls without specifying the sqlParameter type & direction.
2. The DAAB come with source code hence tweak it to match your requirements as best as suited.
# December 11, 2003 9:57 AM

Pooran Prasad said:

Good collection :)
# December 13, 2003 12:27 AM

Anim said:

very funny, very true.
# December 13, 2003 8:09 AM

Rana said:


Hi,
You have a nice blog.
# December 14, 2003 8:08 AM

Ashutosh Nilkanth said:

Hurray! It was a great game. The team made us proud. But I'm not counting on it for long ... they have this tendency to give away the game once they achieve some success. Let's hope they continue to perform well.
# December 16, 2003 11:25 AM

OmegaSupreme said:

Well done India. Always good to see the Ozzies beaten :D
# December 16, 2003 12:11 PM

Paul Anderson said:

I had the same problem accessing the internet. No matter how I set the network settings it wouldn't work even though they were the same as a seperate machine (except IpAddress). Manually entering a gateway of last resort also failed. In the end I got it to work by assigning IP via DHCP and utilising scope option 249 Classless static routes.
# December 16, 2003 3:15 PM

Nagendra said:

Hi,

Can I have a username & password for downloading books at ITBookclub.net.

Please email me at getnag@yahoo.com

Thanx
Naag.
# December 19, 2003 3:33 AM

Sachin said:

Why dont u write to the author Mr Prashant Masrani @ prashant.masrani@chip-india.com?
# December 20, 2003 5:03 AM

SBC said:

good pics but which one is you?
:-)
# December 20, 2003 8:04 AM

Dev said:

:) You can find me sitting beside Deepak in first pic ;)
# December 21, 2003 12:41 AM

Teucer said:

Hey,
You took the lead otherwise I was thinking of posting it up on GeeksWithBlogs never mind.
# December 22, 2003 2:04 AM

Rama said:

Hi,

I want to know how "automatic event handling" is done in Web Applications using ASP.NET.

I wrote a small web application using VS.NET ( it uses Web forms) and Access database. My application has four forms; the main form is say MainForm. MainForm displays information in an ACCESS database table using DataGrid. While one client(or user) is viewing the information in the MAINFORM, the Access table might get updated due to the actions of another user.

To keep the MainForm information current, I need a way to send Access database table information to all the users (or clients) without their explicit action (event) such as clicking a button. I have all the code (event handler) to update the Datagrid with Access Database table current information. However, this event handler will have no event like clicking a button. Hence, I am wondering whether there is an automatic event in ASP.NET. Anyway, How do I solve this problem in VS.NET and ASP.NET? Can you suggest a way to this. Thanks for your help

Best Regards,
Ramaswamy Garimella
# January 1, 2004 8:38 PM

Lany said:

Hi Folk,

I would really appreciate if you can pass me the username/password for book download at ITBookclub.net as well, if available.

Please kindly send it at lany@netvigator.com.

Thanks

Lany
# January 3, 2004 4:16 PM

Salman said:

Thanks for the link
# January 5, 2004 12:44 PM

It is Me said:

You can take 48 hours for two days :)
# January 6, 2004 3:34 AM

TrackBack said:

# January 10, 2004 7:54 AM

TrackBack said:

# January 10, 2004 7:57 AM

Tameem Ansari said:

Sudha,
You should have attended the core meet today yaar.
Never mind hey is it possible that we can blog here together in the sense that I would also like to contribute / post on the same tracks with you on thespoke.com ??

wz the idea ?
# January 10, 2004 4:25 PM

Sudhakar said:

Great ...Welcome Teu.
# January 12, 2004 2:05 AM

Woods said:

I am very excited when I found this. I would really appreciate if you are kind enough to share the account with me.www.itbookclub.net is really fascinating.
my email add is bkteh@hotmail.com

Many thanks in advance.

Woods

# January 14, 2004 3:09 AM

Bouha said:

hi !

Can I share with you your account at itbookclub, so I can download some ebooks, I really need to download some programming books.
my mail : bouha@lycos.com

If you agree it will be very nice.

Thanks again
# January 14, 2004 4:42 AM

TrackBack said:

Bink's Windows XP
# January 14, 2004 5:21 AM

Tameem Ansari said:

Hip Hip Hurray ...
# January 14, 2004 8:24 AM

Scott Galloway said:

Still one of my major bugbears about web services that the auto-generated proxy class does not support compression...pretty staightforward to modify- but really, would it have been so difficult for MS to support this?
# January 14, 2004 8:31 AM

Brian McCallister said:

I think that we will not see truly widespread usage of unit tests in .NET until MS bundles a unit testing feature in with VS.Net. Too many people in the MS development people tend to only use the tools MS gives them, and have a preconception that if MS doesn't create it, it cannot be that important.
# January 21, 2004 8:46 AM

David Cumps said:

Google is great for finding your own stuff back :p

And it's always fun to check what (could) belong(s) to a person :)
# January 22, 2004 1:58 PM

Tameem Ansari said:

Probably the ppl who see it as a toy should be snatched away their copies of Vs.Net and be given notepad to write code (I wondered how many ppl think of .net development tightly coupled to Vs.Net)

I was shocked when someone said you need vs.net to do .net development and not the framework SDK :((

Teucer
# January 23, 2004 9:09 AM

varusai mohamed said:

how do u see the output of the asp.net programs
how can u set iis server for asp.net programs

email:newmvm@yahoo.co.in
# January 27, 2004 12:04 AM

Tameem Ansari said:

Buddy, Where is yours ?
# January 27, 2004 2:17 AM

Malhar Shah said:

If all you want to do is unit testing then I'd greatly recommend NUnit .. built completely in C#. i think it's nunit.org .. they have a similar tool for java called junit.
# January 28, 2004 2:45 AM

Sudhakar said:

TSS.NET has a nice article on .NET Unit testing here

http://www.theserverside.net/articles/article.aspx?l=UnitTesting
# January 28, 2004 6:18 AM

Daniel said:

I don't think that because it's XML that it's "Virus free". If there are holes (bug or by design) in the Infopath interpreter then Viruses are still possible.
# January 28, 2004 8:11 AM

Sudhakar said:

Yes, I agree with you. But the scope is narrowed down.
# January 29, 2004 12:59 AM

Mark said:

Can you share the account with me also?
my mail: 123marco@omnit.nl remove 123 in the mailaddress


thnx
# January 30, 2004 8:00 AM

Martin said:

Well, and what about binary clock?
http://www.thinkgeek.com/cubegoodies/lights/59e0/
# January 30, 2004 8:41 AM

MadClocker said:

How about a decimal clock?

1 day has 10 zones (day: 86400 secs)
1 zone has 10 cells (zone: 8640 secs, ~2.5 hours)
1 cell has 10 pegs (cell: 864 secs, ~15 mins)
1 peg has 10 tocs (peg: 86.4 secs, ~1 mins)
1 toc has 10 tics (toc: 8.64 secs, ~10secs)
1 tic is the equivalent of a second (tic: 0.864 secs)
then militics, nanotics and so on.

May sound crazy but crazy we are all ;-)

# January 30, 2004 9:36 AM

MadClocker said:

Since humans rarely care about seconds, using zones, cells and pegs we get any time we want in three digits

ie.

3.85 = 3 zone, 8 cell, 5 pegs

Average day:
0.00 midnight
3.00 wake up
4.00 go to work (sucks)
5.00 lunch
7.00 go home
9.00 go to bed

Here is a decimal time converter:

function decimalClock(decTime)
secs = 86400 * decTime / 1000
hh = Int(secs / 3600)
secs = secs - (hh*3600)
mm = Int(secs / 60)
secs = secs - (mm*60)
ss = Int(secs)
return hh,mm,ss
end

yep, had to do it :-D
# January 30, 2004 10:06 AM

Tim Marman said:

As you can see from the date of the article, this has been around for awhile.

It's a fairly serious security risk, and it took Microsoft nearly two months to come up with a path.

On another note, an open source group has already released a patch.

http://security.openwares.org/
# January 30, 2004 10:17 AM

Song said:

I read from another site. I tried the method provided there. I added to the connection string "POOLING=FALSE", and it seems that my problem is solved. Before this, I tried to set commandTimeout = 90, or using an oleDb commaned, and set its time out to be 90, neither completely solved my problem. But it seems that the "POOLING=FALSE" worked for my case. I am using sql server 2000. I am not sure the version of my ADO.net.
# January 30, 2004 1:49 PM

Tameem Ansari said:

Now you too blogJet ... :)
# January 31, 2004 4:53 AM

Prof TNJ said:

Where can I find a simple decimal clock in JavaScript ?
# February 4, 2004 4:19 PM

tash said:

Im doing a maths debate on the hex clock. I need some cons for using this system. can anyone help me ASAP?!?!
# February 7, 2004 9:04 PM

fgg said:

fgdfg
# February 8, 2004 8:21 PM

bja said:

I don't know if I would give up connection pooling ( pooling=false ); that's a big performance boost. I have this problem as well but more inclined to set the timeout or do as tuecer eluded to finite polling.

i'll continue to search for a method. perhaps, it's inevitable that we have random solutions for a common problem -- now that's what i call resolution. ;)
# February 9, 2004 11:05 PM

Patrick Santry said:

The Alexa Toolbar does that as well.
# February 11, 2004 7:56 AM