--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/dddcqrs.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "DDD/CQRS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dddcqrs/wbvDqV5mRPQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dddcqrs+u...@googlegroups.com.
On 20 November 2016 at 07:43:41, dypsok (dyp...@gmail.com) wrote:
Why not post to a facade service that execute the command and return a http response containing the uri with random string ?I thinkthat's the same idea as David, ie in pseudo code :At client level make a Get to http://GiveMeUrlForMedia/{file-id}At HttpHandler level do :var RandomString = generateNewRandomString()var IsExecuted = CommandHandler.Handle( new GenerateTempLinkCommand(RandomString) )if (IsExecuted){return "http://dynamicLink/" + RandomString
--
You received this message because you are subscribed to a topic in the Google Groups "DDD/CQRS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dddcqrs/wbvDqV5mRPQ/unsubscribe.