Hi,
I am working through an issue with using Spire.Doc and using it inside a .NET Web API.
I have successfully written code that uses Spire.Doc in a Windows Form application for testing purposes that takes a Word document does a MailMerge and some other processing and generates a PDF document.
My real intention is to take the code and re-use it inside a .NET Web Api - basically call a REST endpoint that returns a PDF file. I'm finding however that the mail merge is not working (fields are empty) on the generated document when called from inside the web api processing. This is all happening on my local machine at the moment when debugging inside Visual Studio.
Looking in the forums here it looks like there may be some limitations around where Spire.Doc can be run in a web environment (e.g. GDI/GDI+ requirement post12653.html?hilit=azure#p12653) and I'm wondering whether I might be running into some known issues here.
In production, I want to host this service in Azure or AWS. Is this possible and if so are there any examples or best practices I should know about?
I'm continuing to investigate my issues but wanted to know if I was hitting something obvious.
Thanks,
Joe