[ADVANCED-DOTNET] HTTP Module and the Timer

2003-07-30 Thread Joel Cade, MCSD
I'm attempting to monitor the progress of a file upload by comparing the Request.TotalBytes and Request.ContentLength via a timer event in an HTTP Module. It seems to be locking up. Am I on the right track? Will the timer work with the HTTP Module in this fashion, or does the module interfer

[ADVANCED-DOTNET] ASP.NET AppDomains

2003-07-30 Thread Brian Berns
Is it possible to create a second instance of a running ASP.NET instance? I would like to end up with two independent AppDomains running the same application on a single box. Additionally, all existing sessions should continue to be served by the original instance while new sessions are served

[ADVANCED-DOTNET] Urgent problem with Event triggering order in Server Control

2003-07-30 Thread Julian Voelcker
I am trying to expand my server control knowledge and am re-developing some forums that I have written so that they operate as a single server control. I am having a problem with the order that events are triggered. Pretty well all the functionality of the control is in the CreateChildControls

[ADVANCED-DOTNET] AppDomain vs Process: which is faster ?

2003-07-30 Thread wycklk
According to Microsoft, threads can execute across AppDomains without the overhead associated with inter-process communication and process context switch (vs thread context switch). I did an experiment to verify the above. However, I found there is no obvious performance gain when I use 2

Re: [ADVANCED-DOTNET] windows service memory footprint

2003-07-30 Thread Griffiths, Ian
.NET processes will tend to grow to what looks like an alarmingly large size unless there is a reason for them to shrink. The CLR does actually keep track of the amount of memory being used system-wide, and if other processes start to demand more memory, the CLR will trigger a garbage collect in

[ADVANCED-DOTNET] BCP Upload Numeric field problem

2003-07-30 Thread Virat
Hi there I am doin BCP using SQLDMO. It imports rows but gives problem for Numeric, Date, Integer fields. Doest improper data gives some junk data. Whereas for Character fields data is imported properly. Here is my .fmt file 8.0 3 1 SQLCHAR 0 0 \t 0 SecurityCode SQL_Latin1_General_Cp437_BIN 2

Re: [ADVANCED-DOTNET] windows service memory footprint

2003-07-30 Thread Paulo Jorge F. Sacramento
I hope that's true. I've had the same problem with my services, which are written in C#. Mine are even worse. I have one that takes up 23 MB. It's using Remoting, AppDomains, Threads, XML, some Reflection also, and other things, but nothing that I'd think would occupy so much memory. The reason

[ADVANCED-DOTNET] Merging Tables in a Dataset

2003-07-30 Thread adonis
I have created a stored procedure in Sql Server which uses a cursor and returns multiple identical(schemawise) resultset. When this stored procedure is used to populate a dataset, naturally multiple datatables are created. I need to merge the data avaiable in these multiple tables of the dataset