Determine the size of the transmitted data for calling a web service in .NET CF

I am developing a .NET CF client application and using web services to transfer data. I use SharpZipLib to compress the transferred datasets, so I know the size of the transferred byte array.

I wonder if there is an easy way to determine the full request size (html header, soap wrappers and real data) for one call. I really want to minimize the cost of a GPRS connection.

Thanks...

+3
source share
3 answers

Repeat the general question; sorry i don't know how to use network tracer ...

; , SOAP ? , . , (, POX, , (GZIP/Deflate)).

... , , protobuf-net, ( ); ( ). , / , RPC ( , , ). (.. asmx - - , MVC).

ADO.NET, JSON ( , ).

+1

Wireshark - . .

Fiddler. , .

tcpmon - Java, . tcpmon tcpmon -. 10 - . tcpmon Fiddler.

0

WCF supports message tracing, which allows you to see the size of the generated SOAP + message. You can use these trace files to determine what you are looking for, although with compression on your messages, the bytes sent will be less obvious. For actual on wire, wirehark size would be a good bet. Or you can pin a message extracted from a WCF trace and get a rough idea.

0
source

Source: https://habr.com/ru/post/1704583/


All Articles