Solved

event driven WCF for Downloading PDF

Posted on 2013-06-01
1
274 Views
Last Modified: 2014-11-12
our company  provide  WEB Service to client - fill out documents on line.
Now Clients want  to download  pdf document to their client side.
Some document are huge, And we have a lot of clients.
What the best scenario  could be in the situation ?
Ideally I would like to have  some event driven Windows Service.
So when document is filed  out , event occurred. If Client is subscribed to this event,
WCF  download the pdf to the client side . This way , I guess we avoid transferring huge amount of data via network.
So should I use WCF? Or it could be another architectural solution?
0
Comment
Question by:Yampolka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
farooqam earned 500 total points
ID: 39217919
While a publish-subscribe scenario is possible with WCF, it may not be appropriate in your scenario since your clients are remote which precludes the use of NetTcpBinding or NetNamedPipes binding. Using WSDualHttpBinding is troublesome as well.

A more appropriate solution would have the server send a message to a queue which the client can monitor. The message's payload would be the PDF document. You may want to have a look at Windows Azure service bus and queues if Azure is a possibility for you.

But a more simpler solution would be to give the client the URL of the PDF document when it is ready - a rest style service. Either way you are going to have to transfer possibly large files over the network so may as well make the solution as simple as possible.

Hope this helps.
0

Featured Post

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the market for a new backup solution for Windows Server 2016? Follow these guidelines to get the most bang for your buck.
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question