Is there any way to call the quantify web services from azure app service?
I am able to connect to Quantify api from Quantify client, here I am connecting to database or remote connection, which is successfully able to create the QuantifySettings.xml in location “C:\ProgramData\Avontus\Quantify\Settings”. Quantify will work by taking the connectionstring from this file.
My question is how can azure app service will use this QuantifySettings.xml file, Can you please suggest me how to proceed with this scenario…
Thanking you in advance…
Have you installed Quantify Web? If not, install that on your local IIS. You will see connection stings there to modify to connect to your database. FTP these files to Azure.
Using Quantify client, verify you can connect to Azure.
Nothing to do with the API at this point. If you cannot connect, contact support@avontus.com
In the sample project, modify the connection string to point to the same azure instance. You can then use the API as normal, but it will be connected to the remote server.
My requirement is I want to consume the quantify scaffoldings in external azure app service (which is asp.net web api in my case), Can you suggest me to proceed on it.
Can you please suggest me in detail like How to access the quantify scaffoldings from my asp.net web api , how the QuantifySettings.xml needs to configure and finally which needs to be hosted in azure app service.
Can you please provide the details in detail…
Thanks in advance…
Have you installed Quantify Web?
Yes I have installed it in my machine…
My requirement is I want to consume the quantify scaffoldings in external azure app service (which is asp.net web api in my case), Can you suggest me to proceed on it.
Can you please suggest me in detail like How to access the quantify scaffoldings from my asp.net web api , how the QuantifySettings.xml needs to configure and finally my web api needs to be hosted in azure app service.
Can you please provide the details in detail…
Thanks in advance…
Hi sivakishore.
In the Web API project add references to Avontus.Core and Avontus.Rental.Library ↓

In Web.Config define <system.serviceModel> ↓
With the above setting in place, you should be good to connect from code ↓
Core.ApplicationContext.DataPortalProxy = "Avontus.Core.DataPortalClient.WcfProxy, Avontus.Core";
Core.ApplicationContext.DataPortalUrlString = "https://your-quantify-url/wcfportal.svc/binary";
//AvontusPrincipal.Login
Thanks for posting!
So no need of installing qunatify client in machine?
Only qunatify client should be installed only if you want to test connection. is that correct?
Thank You support team, this is first good response i got from team and this works. Can you please let us know how to access scaffold details?
Thank you Again, it is great help.