For the scheduled part I will use Quartz.net but for the file transferring part I am completely lost.
I found many examples but not close to what I need. I want to use two WCF libraries (no graphical interface) hosted in IIS to transfer files, no more than one GB. I understand the code (most of it) but when it comes to the ABC (address, bindings, contracts) it gets complicated. Can anyone point me to the right direction?
WCF is a powerful framework and flexible in terms of IPC. And that flexibility has accompanied of complexity as well ( may be for me when I was learning this stuff ).
Ex. BasicHttpBinding, WSHttpBinding ,WSDualHttpBinding , NetTcpBinding, WSFederationHttpBinding, NetNamedPipeBinding, NetMsmqBinding,NetPeerTcpBinding
<bindings>
<wsHttpBinding>
<binding name="wshttpbind" allowCookies="true" closeTimeout="00:01:00"
receiveTimeout="00:01:00" />
</wsHttpBinding>
</bindings>
Ex. Service Contract, DataContract, Message Contract and Fault Contract.
[ServiceContract]
public interface ICalculate
{
[OperationContract]
double Add( double a, double b);
[OperationContract]
double Subtract( double a, double b);
}
I suggest to you to read article about it first for you not to lost along your development.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.