I have the following requirement from an asp.net mvc application.
User has the option to print , which will execute a print to different formats. I want to make the print process asynchronous.For that I want to utilize the service broker.
After going through some blogs etc, I have an understanding of how to use it and I wanted to confirm my understanding.
Here it is at a high level:
1: create a request message and send to service broker
2: Use the service broker external activator to call a web api
3: The web api will do the print task and store the printed document to the DB
4: Finish service broker task
5: On UI when the user visits the page again, they will see the option to download the document
Is this a good approach? Any example on how to use external activator with an MVC application?
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
If you have any feedback on our support, please click
TechNet Community Support
Your approach is supported by the service broker if the external activator is used.
Below is an example for your reference and you can have your step 3 implemented in an executable.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?