I have a window service and i want it to be able to upload/download large (around 4MB) files (Img, music etc.) in chunks.
I tried to do that by changing the 'maxBufferSize' 'maxRecivedMessageSize' etc. in both the service and client app.config files, but unfortunately it didn't work.
My question is how I can upload/download files in chunks. and if I can do that just with the App.config file?
Thank!
相关问题
- How to make a .svc file write to asp.net Trace.axd
- WCF Service Using Client Certificates Requires Ano
- Why does a windows service, hosting an NserviceBus
- WCF error with net.tcp "The service endpoint faile
- Upload file to Google Cloud Storage using AngularJ
相关文章
- WCF发布Windows服务 POST方式报错 GET方式没有问题 应该怎么解决?
- XCopy or MOVE do not work when a WCF Service runs
- File Upload of more than 4GB
- The current request is not a multipart request - S
- Could not find default endpoint element that refer
- The 'DbProviderFactories' section can only
- Input file in laravel 5.2?
- Do I need to expose a constructor in a WCF DataCon
WCF doesn't have direct support for chunking (it always sends whole data as single chunk) but you can check this extensibility example to get chunking channel. Both your service and client must use that channel to make it work.