Publish Big Data in C #

I have the following scenario

  • Have a web browser control that uses the Navigate method to call a web page. I need to send a large number of items via FORM POST. The number of elements can be either 40-100 elements.

Is it advisable to code it and send it using a navigation method?

Is this usually done via FORM POST or is there a better solution? I can get the client to open the web service and maybe I can pass the xml file to them

+1


source to share


1 answer


I don't see a problem with 40-100 items. How much data is being sent, are you talking about MB? Web servers have limits (which are configurable) on how large a message can be.

Depending on the actual scenaior I would look at packing all the elements in the Xml and sending them that way (I felt it was easier to program against Xml when the elements have relationships that you can model in the Xml).



You can also post the Xml using XmlHttpRequest and then you don't need a web service on the other end, just a page that knows to read the request body.

+1


source







All Articles