I'm replying to the thread, not you specifically. Jack's code is some piece of crap it looks like a student programmer wrote.
On Sat, Nov 26, 2011 at 9:13 PM, SRI <sri...@gmail.com> wrote: > Hi Sayed, > > I never wrote the Code, which you seem to think i did. > > Did you at least download the project which Jack attached?, > which he wrote and I did not write. > > Background Worker is for implementing Async Methods, > > WebClient / WebRequest is for doing Web Requests to a URL. > > Memory Leak was observed in WebClient Code. > > Suggestions should be relevant to the Topic which is being > discussed on the Thread. > > Best Regards, > Sridharan Srinivasan > Alias Sri > > On Sun, Nov 27, 2011 at 11:02 AM, Sayed Arian Kooshesh > <koosh...@gmail.com> wrote: >> Hi! >> I read your thread. Looked at your code. >> >> If you don't know how to use background worker then you really >> shouldn't be programming in this language as it's a core piece. Either >> hire a pro, or use java.. >> >> >> >> On Sat, Nov 26, 2011 at 9:00 PM, SRI <sri...@gmail.com> wrote: >>> Hi, >>> >>> Before responding, can you please take the time to read the >>> full thread. >>> >>> My Response was to Jack's issue about a Massive Memory Leak >>> observed in his enclosed project. (Did you see the Project?) >>> >>> I just pointed out by googling that WebClient has issues with >>> Memory and hence he needs to change his code. >>> >>> If you have a concrete suggestion to Jack and me about how we >>> can change this code (Please look at his enclosed project) so that we >>> avoid memory leak as well as implement the functionality of >>> downloading from a Url, i will be gratefull. >>> >>> I am not an expert, but I know of only two methods of >>> downloading from a Url, either using WebRequest or WebClient and I am >>> not sure how BackgroundWorker can improve this. >>> >>> Thanks for you help. >>> >>> Best Regards, >>> Sridharan Srinivasan >>> Alias Sri. >>> >>> On Sun, Nov 27, 2011 at 10:20 AM, Sayed Arian Kooshesh >>> <koosh...@gmail.com> wrote: >>>> Use backgroundworker, not an async. Silly. >>>> >>>> you're using very outdated code. What did google threading? Googling >>>> code is like sticking your wang in a glory hole. You're not gonna get >>>> anything good.And you may come out with more problems than you went in >>>> with. >>>> >>>> >>>> So >>>> also, webclient i think wraps backgroundworker. >>>> >>>> >>>> >>>> >>>> http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx >>>> >>>> >>>> >>>> Use that. Avoid "threads" in c# cuz they are crap. I know from >>>> experience. I've never developed mono-droid just an experienced c# >>>> developer. >>>> _______________________________________________ >>>> Monodroid mailing list >>>> Monodroid@lists.ximian.com >>>> >>>> UNSUBSCRIBE INFORMATION: >>>> http://lists.ximian.com/mailman/listinfo/monodroid >>>> >>> >>> >>> >>> -- >>> Sridharan Srinivasan >>> Alias Sri >>> Ph:(65)98255785/(65)63922439 >>> www.arshu.com >>> _______________________________________________ >>> Monodroid mailing list >>> Monodroid@lists.ximian.com >>> >>> UNSUBSCRIBE INFORMATION: >>> http://lists.ximian.com/mailman/listinfo/monodroid >>> >> >> >> >> -- >> Extreme Knowledge is not something for which he programs a computer >> but for which his computer is programming him. >> >> -Wozniak >> _______________________________________________ >> Monodroid mailing list >> Monodroid@lists.ximian.com >> >> UNSUBSCRIBE INFORMATION: >> http://lists.ximian.com/mailman/listinfo/monodroid >> > > > > -- > Sridharan Srinivasan > Alias Sri > Ph:(65)98255785/(65)63922439 > www.arshu.com > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > -- Extreme Knowledge is not something for which he programs a computer but for which his computer is programming him. -Wozniak _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid