This manual introduces the use of Hprose for C#, including installation, quick start, type mapping, server, client, etc.
This manual, published by Weifang Gaoyuan Su Tong Software Co., Ltd., provides developers with step‑by‑step guidance for using Hprose in C#. It includes quick‑start instructions, detailed installation methods, and examples of server and client code.
The document also describes advanced topics such as type mapping, asynchronous calls, exception handling, timeout configuration, and HTTP parameter settings, plus contact information for support and bug reporting. This manual is written in Chinese.
| .NET Framework versions supported | 1.0, 1.1, 2.0, 3.0, 3.5, 4.0 |
|---|---|
| .NET Compact Framework versions supported | 1.0, 2.0, 3.5 |
| SilverLight versions supported | 2.0, 3.0, 4.0 |
| Windows Azure Platform support | Yes |
| Mono support | Yes (limited) |
Set the Timeout property on the Hprose client object to the desired number of milliseconds.
Wrap the call in a try…catch block and catch Exception (or HproseException) to process errors.
Headers such as Context-Type, Context-Length, Connection, Keep-Alive, and Host cannot be set because they have special meaning.