Avatar

Level 3

Basic info:

LC version: ES 8.2

Application code: C# .NET

I have a web service created in LC which is invoked from .NET application. The service (short-lived) saves data to a database and then send an e-mail .

The e-mail is using the 'EmailService' from the Foundations category. I want to be able to fire the e-mail portion with out waiting for a response back, as the service takes to long to finish.

I tried making a sub service that was long-lived and called it from my main serive with the Invocation Policy set to 'Do not Wait'.

That causes the following: Cannot invoke actions using Fire and Forget semantics on a shortlived process

If there is a better way to send emails from a service I'm open to comments.

Cheers,