C#

General discussions about the c# language, Squirrels | gist.gi...
Nov 14, 2013 06:54
on a side note, meteor.js is very promising!
Nov 14, 2013 06:50
JS framework i will prefer
Nov 14, 2013 06:49
Angular.JS you mean, i suppose
Nov 14, 2013 06:47
already using it! :D
Nov 14, 2013 06:47
yap, saw that!
Nov 14, 2013 06:44
thanks for the help man!
Nov 14, 2013 06:44
Teddy, I get the change that you made in the download way.

i will try the approach and let you know
Nov 14, 2013 06:33
yap
Nov 14, 2013 06:06
you will know the reason at least
Nov 14, 2013 06:05
just shoot them email asking why
Nov 14, 2013 06:05
oh!
Nov 14, 2013 06:04
and says you are logged in
Nov 14, 2013 06:04
your profile looks normal
Nov 14, 2013 06:04
write an email to them
Nov 14, 2013 06:04
nope, they must be saying something
Nov 14, 2013 06:00
what is the issue or your question?
Nov 14, 2013 05:59
why is SO not allowing you to post more questions?
Nov 14, 2013 05:42
can you write a pseudo code? i will understand better from reading it.
The words can be confusing at times
Nov 14, 2013 05:40
the later one(one request one file) is what is implemented and it fails.
Nov 14, 2013 05:39
one by one
Nov 14, 2013 05:39
files*
Nov 14, 2013 05:39
and requesting through it all file
Nov 14, 2013 05:38
Ok, so you mean just keep one instance of webRequest static and open
Nov 14, 2013 05:38
no, the file is small, ,500Kbs
Nov 14, 2013 05:37
ok, so..
Nov 14, 2013 05:35
yes, "downloadDataCb" downloads an image file.
and the status update is for the time it took to download the image
Nov 14, 2013 05:34
like, why an async download request?
i can make that happen via BeginGetResponse etc easily. but why should that solve the issue?
Nov 14, 2013 05:33
yes, could you expand your answer a bit.I am not able to grasp it properly
Nov 14, 2013 05:33
Yes, it code downloads a single image file
Nov 14, 2013 05:32
@Teddy: "many download task" - ??
Nov 14, 2013 05:27
i will check the ans now
Nov 14, 2013 05:27
back, here
Nov 14, 2013 04:26
@Alegiac: ^
Nov 14, 2013 04:25
what do you mean by "pure" JS events without DOM?
Nov 14, 2013 04:19
yes
Nov 14, 2013 04:19
@teddy
Nov 14, 2013 04:19
or a coffee should work too
Nov 14, 2013 04:18
yea, take a bath or something
Nov 14, 2013 04:18
May the force be with you.

Calm you should keep.
Nov 14, 2013 04:16
Andre, what is the issue?
Nov 14, 2013 04:11
1
Q: C# HTTP reuse connection on separate threads

TarunGI need to listen to an open API, upon correct data i need to download some file and process it. I am using timer to automatically issue a download request every x seconds which keeps the connection alive, hence available for reuse. There are total of 3 components: 1. Parent Class 2. Listener C...

Nov 14, 2013 04:10
but it maintains two diferrent, one for each thread
Nov 14, 2013 04:10
yea, i mean a pool but with a single open connection
Nov 14, 2013 04:09
why a connection pool?
Nov 14, 2013 04:08
spawn thread -> using Timers underneath
Nov 14, 2013 04:08
and knwoing that if only single thread keeps on making the request, connection is reused
Nov 14, 2013 04:08
given that server supports keep-alive, and requests are made within the timeout interval
Nov 14, 2013 04:07
okay, so if i spawn 2 threads and they both make connection to same host with keep alive set to true. and both will not make the connection at same time.

Why does .NET not reuse the connection made by previous thread?
Nov 14, 2013 04:05
guys guys, need some help with multi threading.!
Oct 10, 2013 21:48
People pls, HttpWebRequst,?, (Raises white flag)..