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

Thanks for your inquiry. Please see the following link to learn when to apply license:
https://docs.aspose.com/words/net/licensing/
Hope this helps.
Best regards.

Thank you very much!