Chemaxon .Net in Azure Website

User a4e255e5f0

16-02-2016 09:18:53

Hi Chemaxon,


It it possible to use the Chemaxon .Net integration in Azure website (not Virtual Machine)?


As you know in Azure Website I can't install any software, so I am looking for a solution to include all the required Dlls in the deployment.


 


Thank you,


Cristian

ChemAxon 2e7d8629fa

16-02-2016 09:38:11

 Hi,


 


You can download the JChem .NET API package as a zip file:


https://www.chemaxon.com/download.php?d=%2Fdata%2Fdownload%2Fjchem-net-api%2F16.2.8.0%2FJChem_NET_API_16.2.8.0.zip


 


I hope it helps.


 


Regards,


Gergely

User a4e255e5f0

16-02-2016 10:00:54

Thanks for the answer gkovacs,


 


I just need to generate an image from a string like: "CC1(C)CCC2=C1C=CC(CCC=O)=C2"


Since I don't want to include all the DLLs in the bin folder, is there a way to know which ones I need?


 


Thank you,


Cristian

ChemAxon 2e7d8629fa

16-02-2016 20:56:50

 Hi Cristian,


 


I'm sorry I cannot give you a list about the necessary DLLs. We (the .NET Team) just integrate ChemAxon's knowhow what is written in Java by the different teams. For example the rendering logic is written by the Marvin Team. I don't know which DLLs are required for an EMF or a PNG rendering. Furthermore we just use the IO module to get a molecule object (graph) from a molecule string representation but I don't know which DLLs are used in case of SMILES, MOL or MRV strings.


 


For a starting point here is a link:


https://www.chemaxon.com/dotNET/6.3/examples.html#marvinsetup


Please refer the following DLLs in your .NET application directly:


- ChemAxon.NET.Base


- ChemAxon.NET.IKVM


- ChemAxon.NET.Windows.Forms


- ChemAxon.NET


 


You can find another documentation  here:


https://www.chemaxon.com/dotNET/6.3/API/online/index.html


 


You should use these lines to get an EMF image:


IJChemMolecule molecule = MainFactory.Chemistry.CreateMolecule(smilesString, MoleculeFormat.SMILES);


Image img = molecule.Renderer.RenderToImage(ImageFormat.Emf);


 


I recommend you the trail-and-error method to get the required assemblies. I'm sorry.


 


Regards,


Gergely



User a4e255e5f0

17-02-2016 07:29:54

Thanks Gergely, I'll trial-and-error it then.

User a4e255e5f0

17-02-2016 09:30:20

Hi Gergely,


 


One more thing. Once I determine which DLLs I need from those 250 from the zip file, how is the license handled? Should I just put the license file in the bin folder?


 


Thanks,


Cristian

ChemAxon 2e7d8629fa

17-02-2016 09:52:09

 Hi,


 


Please use ILicenseHandler interface for setting license info:


MainFactory.LicenseHandler.SetLicenseFile(cxlFilePath)


or


MainFactory.LicenseHandler.SetLicense(licenseString)


 


Regards,


Gergely

User 82b20b535e

24-02-2016 14:16:29

Hi crissian,


I had asked the same question and I got the same response.


would it be possible if you can share or reply back to this forum and list all the required DLLS of your task. I went through the process and since I only want to get the compound attributes to be displayed ( No DB search or any thing of does sort), I was able to compile the below list. 


user draws the structure , once submit and app displays name , atom count , molecule formula and so on inluding converting structure to image. this was my purpose and below DLLS would be required.  I know there could be more unwanted DLLs in the list but this as far as I went.


You can also list yours and it could be helpful to me  


 


ChemAxon.IKVM.aloe.1.0.dll


ChemAxon.IKVM.com.chemaxon.automapper.dll


ChemAxon.IKVM.com.chemaxon.calculations.commons.dll


ChemAxon.IKVM.com.chemaxon.calculations.dll


ChemAxon.IKVM.com.chemaxon.calculations.nmr.dll


ChemAxon.IKVM.com.chemaxon.calculations.plugin.dll


ChemAxon.IKVM.com.chemaxon.calculations.solubility.dll


ChemAxon.IKVM.com.chemaxon.calculations.stereoanal.api.dll


ChemAxon.IKVM.com.chemaxon.calculations.stereoanal.dll


ChemAxon.IKVM.com.chemaxon.calculations.stereoisomers.dll


ChemAxon.IKVM.com.chemaxon.common.dll


ChemAxon.IKVM.com.chemaxon.concurrent.dll


ChemAxon.IKVM.com.chemaxon.core.calculations.dll


ChemAxon.IKVM.com.chemaxon.core.dll


ChemAxon.IKVM.com.chemaxon.io.accord.dll


ChemAxon.IKVM.com.chemaxon.io.all.dll


ChemAxon.IKVM.com.chemaxon.io.cdx.dll


ChemAxon.IKVM.com.chemaxon.io.dll


ChemAxon.IKVM.com.chemaxon.io.gaussian.dll


ChemAxon.IKVM.com.chemaxon.io.inchi.dll


ChemAxon.IKVM.com.chemaxon.io.mdl.dll


ChemAxon.IKVM.com.chemaxon.io.mrv.dll


ChemAxon.IKVM.com.chemaxon.io.pdb.dll


ChemAxon.IKVM.com.chemaxon.io.peptide.dll


ChemAxon.IKVM.com.chemaxon.io.skc.dll


ChemAxon.IKVM.com.chemaxon.io.smiles.dll


ChemAxon.IKVM.com.chemaxon.io.tripos.dll


ChemAxon.IKVM.com.chemaxon.license.dll


ChemAxon.IKVM.com.chemaxon.marvin.app.dll


ChemAxon.IKVM.com.chemaxon.marvin.gui.dll


ChemAxon.IKVM.com.chemaxon.modelling.dll


ChemAxon.IKVM.com.chemaxon.naming.dll


ChemAxon.IKVM.com.chemaxon.search.api.dll


ChemAxon.IKVM.com.chemaxon.search.base.dll


ChemAxon.IKVM.com.chemaxon.search.extended.dll


ChemAxon.IKVM.com.chemaxon.search.hitdisplay.dll


ChemAxon.IKVM.com.chemaxon.search.mcs.app.dll


ChemAxon.IKVM.com.chemaxon.search.mcs.dll


ChemAxon.IKVM.com.chemaxon.search.rgdecomp.dll


ChemAxon.IKVM.com.chemaxon.search.screen.dll


ChemAxon.IKVM.com.chemaxon.search.sss.dll


ChemAxon.IKVM.com.chemaxon.search.utils.dll


ChemAxon.IKVM.com.chemaxon.transformer.dll


ChemAxon.IKVM.com.chemaxon.version.dll


ChemAxon.IKVM.commons.io.2.4.dll


ChemAxon.IKVM.guava.16.0.1.dll


ChemAxon.IKVM.jgoodies.common.1.7.0.dll


ChemAxon.IKVM.jgoodies.forms.1.7.2.dll


ChemAxon.NET.Base.dll


ChemAxon.NET.dll


ChemAxon.NET.IKVM.dll


ChemAxon.NET.Windows.Forms.dll


IKVM.AWT.WinForms.dll


IKVM.OpenJDK.Beans.dll


IKVM.OpenJDK.Charsets.dll


IKVM.OpenJDK.Corba.dll


IKVM.OpenJDK.Core.dll


IKVM.OpenJDK.Jdbc.dll


IKVM.OpenJDK.Management.dll


IKVM.OpenJDK.Media.dll


IKVM.OpenJDK.Misc.dll


IKVM.OpenJDK.Naming.dll


IKVM.OpenJDK.Remoting.dll


IKVM.OpenJDK.Security.dll


IKVM.OpenJDK.SwingAWT.dll


IKVM.OpenJDK.Text.dll


IKVM.OpenJDK.Tools.dll


IKVM.OpenJDK.Util.dll


IKVM.OpenJDK.XML.API.dll


IKVM.OpenJDK.XML.Bind.dll


IKVM.OpenJDK.XML.Parse.dll


IKVM.OpenJDK.XML.Transform.dll


IKVM.Reflection.dll


IKVM.Runtime.dll


IKVM.Runtime.JNI.dll


JChemExt.dll


ntlmauth.dll

User a4e255e5f0

24-02-2016 14:20:05

Thanks kempegowda,


We have decided for now to host the app on a virtual machine, since this is a bit overkill and the list can probably change on each ChemAxon.Net release.


Best regards,


Cristian