Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet performance > march 2006

Supress the garbage collector
Posted by Arnie at 3/31/2006 3:39:39 PM
Hey Folks, I know this is taboo but we have a long running highly availble app that is being affected by the garbage collector. In .NET 1.1 there were issues because of the aggressive GC and under 2.0 it appears much worse (i.e. the garbage collector is even more aggressive). We have no...more >>

monitoring web app
Posted by Vikram at 3/29/2006 12:00:00 AM
Anyone having good plan or refrence for monitoring dot net web app for performance, network usage etc. Or best approach how to to the same ? ...more >>

ACT Authentication errors
Posted by chen at 3/27/2006 1:48:09 PM
Running into a weird situation wrt using ACT while stress testing web service. The Web service disallows anonymous access & the ACT script is setup to use domain account for the users. When the test is run with 1 connection, authentication requests are failing on every 3rd attempt. Not sure wh...more >>

VSTS Performance Explorer issues
Posted by Chris Mullins at 3/25/2006 2:50:01 PM
I'm trying to use the VSTS Profiler on a fairly large and complex .NET 2.0 application. In the past, I've always used the Compuware tools (especially the Community Edition of their profiler) and am in general quite familure with application tuning in .Net. The application in question is a W...more >>

DirectCast of a string or .ToString(): Which is Faster?
Posted by emarvets NO[at]SPAM gmail.com at 3/24/2006 10:08:31 AM
Let's say I have a dictionary where all the values are strings. Does anyone know if it is faster to say: dim s as string = directcast(_dictionary(key), string) or dim s as string = _dictionary(key).ToString() One of the nice things about using .ToString on an object reference is when ...more >>

How to monitor performance of .Net application
Posted by Sathya at 3/24/2006 5:12:27 AM
Hi, Kindly let me know , how to monitor the performance of .Net application and please suggest some tuning recommentation for the same. Kindly answer for the following questions too.. 1.How to find out the bottle necks using perfmon? 2.How to find out response time using perfmon? Thank...more >>

Ngen performance during installation of .net framework 1.1
Posted by Sameeksha at 3/23/2006 1:48:34 AM
Hi everyone, I have observed that the ngen process appears in the list of processes in taskmgr while .net framework 1.1 gets installed. This process consumes 0-50% of cpu and 0-20K of RAM. I would like to know if this process can be a cause of slowing down performance of a high speed applic...more >>

Test tool server
Posted by Andreas HÃ¥kansson at 3/21/2006 12:00:00 AM
Hi, We are currently in the process of creating a dedicated test environment and were wondering if it would be a good idea to place the test tools on a seperate server from the on that the test application (asp.net) will be running on? Example Machine 1 - ASP.NET - SQL-SERVER ...more >>



.net assembly optimizer?
Posted by cody at 3/16/2006 12:00:00 AM
I know that managed c++ is faster than c# because the ilcode of a mc++ application is pre optimized. Would it then be possible to decompile a c# assembly as mc++ code and then recompile it with a managed c++ compiler, gaining more performance? Is there already a tool which uses a similar appr...more >>

SuppressFinalize() when a Finalizer is not implemented?
Posted by Dave Black at 3/15/2006 8:40:20 PM
I have a class that implements IDisposable but does not need a Finalizer - thus, I haven't implemented one. I'm using the "typical" Dispose pattern as described on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconFinalizeDispose.asp. However, it isn't clea...more >>

Cleanup of COM objects declared on the stack?
Posted by Dave Black at 3/15/2006 8:39:12 PM
For cleanup of COM objects that are declared local to a function on the stack, is it necessary to call Marshal.ReleaseComObject() and set the local stack variable to null to remove all rooted references? TIA -- 2b || !2b...more >>

need help on application variables
Posted by AVL at 3/15/2006 4:11:28 AM
Hi, I need help on the usage of application variables... Can I populate application variables through my console application and use them in my web application.... Are application variables specific to web solutions only.. can anyone provide more info on this?...more >>

is Large Object Heap Compaction in Framework 1.1/2.0?
Posted by Ben Lam at 3/14/2006 7:30:28 AM
I read on some message board that i can't find anymore saying that the Large Object Heap is compacted in Framework 1.1 or 2.0. Is this true? I can't seem to find any ms documentation that said this was fixed. Is large object heap fragmentation still going to be a problem in Framework 2.0? ...more >>

Generic Dictionary performance?
Posted by Rune B at 3/11/2006 1:33:56 PM
Hi Group I was considering using a Generic Dictionary<> as a value container inside my business objects, for the reason of keeping track of fields changed or added and so on. - But how expensive is it to instantiate/use Generic Dictionaries in great numbers (let's just say 100000's ), in t...more >>

System.Net.WebException
Posted by KIRAN at 3/10/2006 2:53:33 AM
I'm getting an error when calling Web service which takes 2 min to complete the process. System.Net.WebException: The underlying connection was closed: The request was canceled. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.W...more >>

Custom Counter gives InvalidOperationException
Posted by RC at 3/9/2006 10:56:28 AM
I want to count the times my webservice is called with a PerformanceCounter. The account ASPNET doesn't have sufficient privileges to create the counter if it is missing so I create the counter from my account (which has local admin privs) and then try to instantiate the counter. That is I e...more >>

VB.Net Disk Queue Counter Issue
Posted by ASP949 at 3/8/2006 9:58:27 AM
I am trying to get various information from my servers using a simple .net app, but one of my counters is not reporting any value. The rest work fine. I am having some difficulty understanding why this is not working. Has anyone experienced this issue before? This code is returning n...more >>

Object[] and RuntimeMethodInfo
Posted by datvong NO[at]SPAM gmail.com at 3/7/2006 2:02:58 PM
I have Windows App that is calling several web services. Sometimes, when large amounts of data are transfered back and forth between the windows client and the web services, I'm getting alot of memory fragmentation caused by Object[] containing RuntimeMethodInfo 0:000> !dl Going to dump the ...more >>

GC trash: System.Windows.Forms.Control.ThreadMethodEntry keeps a lot of things alive -> GEN1/2
Posted by Laura T. at 3/7/2006 12:00:00 AM
Hi, Hopefully someone can explain the following. I'm using .NET 2.0 RTM. I'm doing performance analysis on a medium size app that was running quite slow after a certain period. The app has a control front end, standard WinForms exe and 15 libraries that are the engine of the product. The...more >>

Performance Report Summary
Posted by Peter Morris [Droopy eyes software] at 3/5/2006 11:18:59 AM
I am trying to profile a DLL I wrote. So I set up my performance to profile it, using a test EXE I also wrote. The results only list Top Inclusive Samples Functions mscorwks.dll (99.464%) mscoree.dll (94.128%) CLRStubOrUnknownAddress (92.744) Top Exclusive Samples Functions mscorwks....more >>

Min/Max working set
Posted by Amir Shitrit at 3/5/2006 4:49:27 AM
Hello. Is it a good practice to use the MinWorkingSet and MaxWorkingSet of the Process class? If so, what are the recommended values for these properties? (If not, what other measures can be taken to reduce the amount of memory ..NET applications use?) Thanks....more >>

OutOfMemoryException on DataTables
Posted by Venkatachalam at 3/5/2006 2:47:33 AM
Hi, In my application I have text(flat) file as input and I have to generate an XML file. The maximum input text file size can be 900MB and gererated xml may result 2+ GB. Based on the first column value from the text file, the row will be moved to any of those 23 DataTable which are cr...more >>

Reference type's memory storage size
Posted by Amir Shitrit at 3/4/2006 4:46:27 PM
I know this question has been asked many times, but Iv'e heared many answers for this question, so I don't know what to believe. How much memory does a reference type occupies in the manged heap? Some say 4 bytes only (for the virtual table, or Type instance reference) and some say 8 bytes (vt...more >>

Image.FromImage load performance
Posted by Steve Greatrex at 3/3/2006 7:32:27 AM
I am attempting to load images into memory before i display them on screen to improve the performance. I was originally doing this using the System.Drawing.Image.FromFile/FromStream method, but i found that the time taken to do this quite high. By means of a test i attempted to load and di...more >>

Bitmap drawing perfomance
Posted by SharpCoderMP at 3/2/2006 5:20:46 PM
hi, i've crated a custom control that allows user to draw selection rectangle over a bitmap. the selection rectangle is semi transparent and also implements cool "Marching Ants" feature :). the marching ants are moved by a timer set to interval of 100. the problem is the performance hit i g...more >>

Cache vs Session,Application state for datagrid
Posted by Marisha at 3/2/2006 7:27:50 AM
Hi Guys, I have a question,what is the best way to preserve dataset in web application: Cache object,Session or Application state. >From perfomance,scalability point of view? Any ideas? Thanks, Marina ...more >>


DevelopmentNow Blog