Showing related tags and posts accross the entire site.
-
This stumped me for a while and I was not sure what I was doing wrong. Apparently it seems if you don't have the <configSections> element in your app config file as the first thing then you get a weird error saying "Only one <configSections> element allowed ...." (see example...
-
This is probably old news now, but something which has me concerned as it can cause lots of unseen issues. In .NET 3.5 the default ThreadPool count has been increased ten-fold from 25 to 250 per processor per process ! ThreadPools as we know are quite handy - not only do they help when an application...
-
If you wanted to use the ThreadState property (which should only be used for debugging and not sync.), to find out if a thread is running. Since the Running state has a value of 0, you cannot do a bit test to discover this state. But you could do something like this to get the same result: if ((state...
-
If you recall the previous post on instantiating static fields , there seems to have been a flurry of activity at Microsoft. As Peter Hallam writes , it made sense to improve the perf. for the static field initialisers and this you should see in Beta2 of Whidbey. The main issue here as Peter explains...
-
Microsoft is currently investigating a reported vulnerability in ASP.NET (does not affect ASP) where an attacker can send specially crafted requests to the server and view secured content without providing the proper credentials. This issue affects anyone running any version of ASP.NET on Microsoft Windows...
-
Those who are unfortunate enough to know me, know I keep saying Common Sense is not very Common (and how true it is). VS Mag has an article that list out some best practises for ASP.NET though they do it from a performance perspective, I feel everyone should do these irrespective what their perf. requirements...
-
Well, this was long overdue. I had promised to upload my article that won a contest by osnews.com. I finally found a little time to upload it here, though the formatting is still a bit screwed especially on the code snippets. You can read the article . If you would like a pdf version of the same let...
-
In Visual Studio 2005, if you have a windows form and have a fair amount of threading going then that things can get pretty frustrating. As you know, because of the way that Windows handles its user interface, you should only be updating the user interface from the main thread. If you try to do it on...
-
Since a String class, is immutable and when it is not needed, it cannot be programmatically scheduled for GC or in other words, it is not possible to predict when it will be deleted from the memory that can be a security risk especially if the string contains sensitive information such has credit card...
-
This is part 3 of the testing-series of posts where I cover White-Box testing (inspired by Microsoft's upcoming Testing Series of good advise from PAG). You can check out the earlier post here . White-Box testing (Glass Box/Clear Box/Open Box testing) White box testing assumes that the tester can take...