Free Support Forum - aspose.com

Where should I place the load of the licence in IIS?

Hi everyone,
I have a web service that is about to do lots of conversions.
right now I wrote the following code right before the conversion:

Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense("Aspose.Words.lic");

Since this code should run only one time I have to know where you recommend to place it in asp.net application?

Thanks a lot

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Please see the following link to learn when to apply license:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/when-to-apply-a-license.html

Hope this helps.

Best regards.

Thank you very much!