Are you doing a lot of string concatenation? If you are, you should be
using a StringBuilder class instead. In .NET, string concatination creates
new strings. Lots of string concatination requires a lot of copying of
strings and creates a lot of garbage. Lots of garbage requires frequent
garbage collection, which slows things down.
Also, be sure that you aren't deploying a debug build of the application.
Debug builds prevent the CLR JIT compiler from performing many
optimizations.
You might also want to watch this episode
(
http://msdn.microsoft.com/theshow/Ep...27/default.asp) of the .NET Show
on MSDN. They talk about opitimizing .NET code. The chief topic is how the
garbage collector works and how you should code accordingly.
"Manu" <cr***********@hotmail.com> wrote in message
news:Ob**************@TK2MSFTNGP12.phx.gbl...
Hi!
How can i make the .net applications run faster on user computers. I have
used .net a lot and proagrammed int it. But the applications developed
using .net framework are very slow when compared to other progrmming tools like
VB6.