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 > april 2004

Cache style sheets in the ASP.NET cache
Posted by Patty at 4/30/2004 2:11:04 PM
Hello Due to performance issues of my application, I need to know how to cache style sheets in the ASP.NET cache and reuse the cached versions for later transformations Any input is welcomed PP...more >>


MSCORWKS loaded instead of MSCORSVR on MP-Machine
Posted by Daniel Karlsson at 4/30/2004 1:35:47 AM
Hello, I've deployed a service hosting some classes for remoting. It's a NT-Service and it runs on a dual-processor win2003 server. Using the Process explorer It's quite obvious that the runtime loads the MSCORWKS instead of the MSCORSVR. Shouldn't the runtime load the server-version on a m...more >>

performance in a citrix environment
Posted by Josh at 4/29/2004 9:26:40 PM
We have a winform based application (Multiple tiers) that will be running on a citrix server(s). I've been mostly involved with the business layer and server portions of the project but I recently got involved with the UI in the last few days as concerns have grown over it's performance. I haven'...more >>

yielding cpu
Posted by george at 4/27/2004 2:26:08 PM
I am writing a process that is a tight loop that consumes alot of cpu. Back in my VB days I could use "DoEvents" to periodically yield control to the OS incase there were any pending events. This would keep the app from being able to effectively take over the system. What is the equivilant in C#?...more >>

Design question for the WebService Experts...
Posted by Happy Camper at 4/26/2004 11:18:04 PM
Hypothetical Question... If I knew I had a service that will provide 100 web methods and I know that they could be grouped into (e.g., 5) logical namespaces. Would it be better to 1) Create 5 webServices and connect to them all to invoke all the needed web methods or 2) Create a single W...more >>

Experiences with GC in game programming
Posted by cody at 4/25/2004 6:06:14 PM
Is here anybody who has experience with GC in games or selfrunning demos? Is the GC pausing the game noticeable? If yes, is it possible to preallocate almost everything so that GC only needs to run every >5minutes, that would be acceptable. Any suggestions or experiences or tips are very welcome...more >>

SQL Server 2000 Memory Usage.
Posted by Vikram at 4/24/2004 8:49:50 AM
Hi, The application I am running is a .NET Framework 1.1 Windows Service which acts as a Remoting host and the actual business components are within COM+. The application server is same as the Database Server with SQL Server 2000 running on the same machine. I am monitoring the memory usag...more >>

Missing .Net performance counters
Posted by Niall at 4/23/2004 10:36:44 AM
I'm trying to get some info from a client site using perfmon, but most of the .Net performance objects are missing. In fact, the only ones that show are the .Net CLR Data and .Net CLR Networking objects. I need to get to at least the Memory object. Does anyone know why these objects would not ...more >>



AverageTimer32 goes zero
Posted by Daniel Karlsson at 4/23/2004 3:55:46 AM
Hello, This might not be a error but I'm asking anyway. I got a service that handles transactions and I'd like to create a performance-counter showing the total average time for one transaction. I've created two performance counters (AverageTimer32 , AverageBase) and got them to work. ...more >>

Run an application thread continiously
Posted by Harmeet Singh Chhabra via .NET 247 at 4/23/2004 2:04:00 AM
I would like to run an application thread continiously even when the application is closed using the dotnet platform.(actually i want a timer to be implemented for some specific time, right from when the application is installed). -------------------------------- From: Harmeet Singh Chhabra ---...more >>

Interpreting ClrProfiler Data
Posted by Chris Mohan at 4/22/2004 3:41:05 PM
Hi, I've just started teaching myself how to use the CLR Profiler. I recently profiled my global.asax's "application_error" code that emails unhandled exception info to me(i profiled the execution of one request that posted a form which threw an exception). I'm not sure what to make of the results...more >>

ASP.NET and QueueUserWorkItem and IIS5 & 6
Posted by Raghu at 4/22/2004 1:12:20 PM
I read some where that each post request into ASP.NET comes on I/O thread in IIS5 and on worker thread IIS6. If we write a custom handler (read ashx page) and use QueueUserWorkItem to spawn work on pooled thread and return immediately to the client, what type of thread will be used when work com...more >>

GC locks up 20 minutes
Posted by Wayne Malkin at 4/21/2004 6:30:39 PM
We have seen two occurrences of a strange problem where the GC starts consuming 100% of CPU for an extended period of time. One case was 5 minutes, the other was 20 minutes. In both cases it eventually finished and the system recovered. The total heap sizes were around 350M - not too excessive...more >>

ANN: beta opening for AQtime 4.0 - profiling for managed or unmanaged code
Posted by AutomatedQA - Robert Leahey at 4/19/2004 4:51:19 PM
Greetings AutomatedQA announces the opening of beta testing for version 4.0 of AQtime, our performance profiler and memory resource debugger. Version 4.0 of AQtime is a noteworthy release in that it combines the Win32 and .NET editions of this family of profiling tools. In other words, AQtim...more >>

Per Thread CPU Usage
Posted by ericc at 4/17/2004 5:16:02 PM
Looking for API to get Per Thread CPU Usage in C#. I kno you can get total with PerformanceCounter _Total - bu I want per thread. I saw some indication you coul get it with WMI Trace Events, but not sure if this i best way. I want API call in application Thanks, Eric ...more >>

1.1 Framework Throws OutOfMemoryException
Posted by anathan NO[at]SPAM ironmountain.com at 4/15/2004 8:11:44 AM
We recently upgraded a Windows 2000 Advanced Server with 2GB of memory and dual processors to the 1.1 version of the .NET Framework. On this server we are running .NET Windows Services. These services parse and process about 15K text files a week, the largest of these files can reach sizes of at...more >>

where to see for performance
Posted by Kalpesh/ at 4/14/2004 3:59:10 PM
Guys, could anyone suggest me the tools available for performance optimizations also, since i am new to the subject (apart from the basics), where to look for (bottlenecks etc) also, any book/url/tools(how to use them) will be highly appreciated thanks Kalpesh...more >>

Performance Monitoring SQL Connections
Posted by Jay at 4/14/2004 12:19:00 PM
I am using the Windows Performance Monitor to show number of SQL = connections used by an ASP.NET application. I am using the counters you = get when you select .NET CLR Data. These counter always say 0. My = application makes many connections to the database. Futhermore, I have = used App...more >>

Thread Contention..
Posted by Yogesh S at 4/14/2004 8:51:02 AM
Hi Does anybody know what is the threshhold value for Thread contention per second perf. counter, i looked at the .NET Peformance document excerpt from .do ..NET CLR LocksAndThreads\Contention Rate / se Threshold: No specific value Significance: The counter displays the rate at which the runti...more >>

Attaching a process for debugging is dead slow
Posted by Sreekanth at 4/13/2004 11:15:11 AM
Hello, Am trying to attach a a process( a .Net application) to VS IDE. It is taking nearly 3 minutes to attach the process to the IDE. I am using Visual studio version 7.0.9466 and .Net framework 1.0, ver 1.0.3075. This problem I observed in two more machines with similar configuration. It is a...more >>

Disagreement between GC.GetTotalMemory and Performance Counters
Posted by Niall at 4/13/2004 10:24:45 AM
I have been noticing in some cases that GC.GetTotalMemory is returning a lower result than is shown in performance counters. For example, I have seen GetTotalMemory report about 18MB of heap usage, while the performance counters say it's around 26MB. I know that GetTotalMemory only returns an es...more >>

thread increases memory usage.
Posted by XYZ at 4/12/2004 11:21:03 PM
Hi I tried to spawn a thread on button clicking event. Inside the thread function i have the code for moving some graphical objects on the winform For each button click new thred is started . I have noticed that it is making the 'memory uage' and 'handles' are getting increased Do I have...more >>

why why why 7MB
Posted by at 4/12/2004 7:19:18 PM
why an empty form keeps 7MB at memmory ? when you minimaze and restore it decreases to 4MB ... i search for that but i couldn't find a real explanation... ??? ...more >>

SQL index tuning wizard - impact on windowsforms app
Posted by Rob Oldfield at 4/12/2004 2:42:30 PM
Hi all, Some very basic questions here. I have a VB.Net app that is using an SQL 2K server as it's data source. Everything is working fine but it's a little slower than I would like. So I've just run the index tuning wizard over the SQL instance that I'm using. The result of that is a li...more >>

performance problem receiving UDP packets
Posted by manulamb NO[at]SPAM yahoo.com at 4/12/2004 12:43:43 PM
Hi, I have written a small application that sends and receives UDP datagrams of a certain size at a certain speed; both work fine on 1 host (sending to localhost and receiving there also). The aim of the application is to test packet loss over a direct ethernet connection in a variety of phys...more >>

C#, Windows 98 and OLE Automation
Posted by VIvek Thakur at 4/10/2004 1:36:04 AM
Hell I m making a C# windows application which connects to excel to retrieve live data( stock quotes which are feeded to this excel sheet from other program via internet). The data in excel sheet is continuously changing and I want it to be reflected in my C# windows application, means i should ge...more >>

Casting Performance and Pattern Question
Posted by Remco at 4/8/2004 5:52:41 PM
Hi, Let me try to simply explain my questions. I've created a portal site with different types of users, e.g. Portal Administrators and Normal Users. One base class SessionUser (has a enum field UserType) and for each type of user a inherited class like SessionMasterUser and SessionNormal...more >>

Performance issues with WebService and compact Framework
Posted by Steph at 4/8/2004 1:56:05 AM
Hello, I developped a WebService in C# which is used by 2 applications. One is running on the "normal" Framework, the other on Compact FrameWork of Windows CE. From the Compact FrameWork, the first time a webmethod is called, we have to wait at least 3sec before having the response even if the met...more >>

Memory usage drift
Posted by Fritz at 4/7/2004 5:10:18 PM
Environment: Win Server 2003, :NET Framework 1.1, C# I have an application that polls on a web service method every time a timer event is raised. The method always returns an empty array of strings. I report a part of the code just clarify a little: public void OnTimedEvent(object source, El...more >>

XML Searlization
Posted by vineet at 4/7/2004 4:01:08 PM
I am searlizing the object. But i don't want to write to File on disk but instead get it into string varaible withen code Some thing In momery.... want to avoide disk operation I think it will use MemroryStream. Has any one done this before or any pointers Vineet...more >>

"% Time in Jit" PerformanceCounter Problem
Posted by ericc at 4/6/2004 10:11:02 PM
I am reading a PerformanceCounter - ".Net CLR Jit" category wit CounterName - "% Time in Jit". I read - say every second o 1/2 second. Sometimes one of the values is way ove 100 (percent) like 584 or 2893. Has anyone else seen this Also, note this is the fourth or fifth re...more >>

Using Dataset for large amounts of data
Posted by Brent at 4/6/2004 3:52:48 PM
Hi, I'm wondering if it is good to use datasets for large amounts of data with many users. I'm talking tables with 130,000 records and 15 columns. And we want current data, so no cached data. Right now we are using an OleDbDataReader and then just doing reader.Read() to go through the necessary...more >>

Performance Error in ASP.NET
Posted by paul at 4/5/2004 1:16:04 PM
I am getting the following message when running a certain portion of my ASP.NET applicatio ------------------------------------------------------------------------------- Server Error in '/PicisWA' Application ------------------------------------------------------------------------------- Con...more >>

Strange web client or server behavior
Posted by Yoav Ben-Ari at 4/4/2004 2:15:59 PM
Hi, I've come across I strange scenario which I can't explain... Please Help !!!! 1) I created a simple web service on a server 2) I created a proxy to the web server using the wsdl.exe tool 3) I created a console application that calls a function in the webservice via the proxy 1000 ti...more >>

strange performance behaviour
Posted by cody at 4/3/2004 2:55:44 PM
I have following class and doing a performance test with it: class C { // uncomment to make this class larger // decimal a,b,c,d,e,f,g,h,i,j,k,l,m; public int z; } C[] c = new C[5000]; int t1 = Environment.TickCount; for (int j=0; j<c.Length-1; j++) for (int i=0; i<c.Length-1; i++) ...more >>

Application Center Test Configurations
Posted by Arvind at 4/2/2004 12:26:10 PM
We are trying to test our ASP.NET application using ACT. We have a few questions regarding the configuration. We would like to configure 50 users per test-client box and we are having 4 client-boxes in total hitting one development web-server box(in future it would be increased to a web ...more >>

MSCORSVR.DLL/.NET v1.1 with Windows Service
Posted by Vikram at 4/1/2004 10:26:42 PM
Hi , My deployment box is going to be a dual proc and I want my application[Windows Service] to take advantage of the dual processor capabilities. For this the MSCORSVR.DLL needs to be used by my Windows Service. How do load a Windows Service with MSCORSVR.DLL ? I have seen the documentat...more >>

Crystal Report Apply
Posted by Pavel KOHOUT at 4/1/2004 4:00:26 PM
Hello, I have CR report compiled in exe... in runtime do following command: Report.SetDatabaseLogon(sUser, sPwd, sServer, sNastaveni.Database) i cant really understand why that statement cost 16 seconds !!! thanks for yoour help -- Pavel KOHOUT Advantage Solutions, Ltd. w...more >>

Simple properties not inlined?
Posted by Thomas at 4/1/2004 3:46:08 AM
Hi I have made some tests on Properties vs Public fields... I have created a Matrix structure (value type) and I have made the following test public static void Main(string[] args Matrix matrix = Matrix.Identity PerformanceTimer timer = new PerformanceTimer() timer.Start() for(int i...more >>


DevelopmentNow Blog