Free Support Forum - aspose.com

Deploying web application with Aspose.Words e Pdf

Hi, I just bought Aspose.Words and Aspose.Pdf. I’m developyng a Web application (intranet). I just installed Aspose.Pdf.msi and Aspose.Words.msi on my server development. I have a geat

doubt: When I will deploy my web application, have I to install in the BIN folder just the two dll (Aspose.Pdf.dll and Aspose.Words.dll) ? Is it correct ?
Thanks
Stefano

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

Thanks for your inquiry. Yes, you need Aspose.Words.dll and Aspose.Pdf dll only.

Best regards.

thanks for the answer. Even the license files ?

Sorry, I missed this. Yes, you need also license files. Please see the following link to learn how to apply license.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/applying-a-license.html

Best regards.

Where Have I to insert these "licences" instructions (in my web application) ?

Dim licenseWord As Aspose.Words.License = New Aspose.Words.License

licenseWord.SetLicense("Aspose.Words.lic")

Dim licensePdf As Aspose.Pdf.License = New Aspose.Pdf.License

licensePdf.SetLicense("Aspose.Pdf.lic")

- at project startup

- at Page load

- at single procedure (that may call a lot of time)

Thanks

Stefano

You should call SetLicense from the Global.asax.cs (Global.asax.vb) file, in the Application_Start protected method. See the following link for more information.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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

Best regards.

Thanks again ...

Regards

Stefano