i am to create a application which will send an xml file through https protocol and get a xml file as a response. and this process will go for more then lac. times(continusly to download all xml files around 1-2 lac.). so please tell me i should create a desktop application for this (in .net) or asp.net . and should i use threading for this otherwise i think application will be hang..and i would not be able to see the current status..
views:
177answers:
3Please describe your functionality in detail.Desktop application is always faster then web application if you are processing document's and mail them....
If this is going to do something continuously in the background, you may well want it to be a Windows service in the first place. If you need to display the results of the processing, you could get the service to write them somewhere that a desktop or web app has access to them.
Where would the web application be hosted, if you went that route? Would it have a better network connection than wherever the desktop application would be running? Depending on exactly what you're doing, that may have performance implications.
If you need to do this operation to several servers or with several files at once then you may well want to use multiple threads - but if it's just a case of making a request, dealing with the response, making another request etc then it may not be necessary or useful to do so in the service approach. You'd need to be careful that you could write the results out in a way that they could be read at the same time by the desktop or web app without having to block.
Beyond this, we really need more information about what you're trying to do - it's all a bit vague at the moment.
Well definitly desktop application is more faster than web based application.
But more depends upon the context in which your application will be running.Yo can make web based application more responsive my making use of web methods(web services).
One more thing I can think of is desktop application can make use of system resources more effectivly than a web based application.