Hello,
I’d like to connect to a mssql Database from the ionic Framework. How can this be done?
Is it only possible via http-server access?
You need to write web api.
and use $http service for access.
as far as i know.
Thank you very much for your Reply. I hoped there were some other support than web API.
I found this topic:
which already states me to the REST API.
So does anybody know if there is someting like a plugin which allows direct mssql access without any web api?
I know this thread is really old, but someone might end up coming here, as I did.
this guy solved my problem: https://www.npmjs.com/package/cordova-plugin-sqlserver
Dear @danieltoptal
Can u tell me how to make it ?
Thank’s a lot.
By Ivan
Go the route if using an API. The plugin above requires ports being open on your firewall and a user name and password. Huge security risk! Also, if your infrastructure changes, you’ll have to republish the app.