How to connect Flutter app to MS SQL server to send queries?

5,044 views
Skip to first unread message

Mister Sapkowski

unread,
Oct 20, 2019, 9:02:03 AM10/20/19
to Flutter Development (flutter-dev)
I create an application with a table, which should be filled by using queries to the MS SQL SERVER. How can I use the application to send requests to the server?

Terje A. Bergesen

unread,
Oct 20, 2019, 9:50:41 AM10/20/19
to Mister Sapkowski, Flutter Development (flutter-dev)
You need to create a server application with an API, for example REST, that talks to your database and then the Flutter app talks to the server. You can use .Net MVC for example for the server app.

Mobile applications never talk directly to Databases except for locally on the device, usually for cache only. 


søn. 20. okt. 2019 kl. 15:02 skrev Mister Sapkowski <reddin...@gmail.com>:
I create an application with a table, which should be filled by using queries to the MS SQL SERVER. How can I use the application to send requests to the server?

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/cf768c9e-0d36-4ac7-b08c-5bbe92b031ba%40googlegroups.com.
--
Terje A Bergesen - te...@bergesen.info
"Vae, puto deus fio" -- Vespasian, not his last words though

Mister Sapkowski

unread,
Oct 20, 2019, 11:27:47 AM10/20/19
to Flutter Development (flutter-dev)
Can I use this video? https://www.youtube.com/watch?v=HT5WuFRJ2no I can migrate my DB to MySQL. But what about hosting like in this video? Can I use my PC instead website/hosting to connect directly to my server?

воскресенье, 20 октября 2019 г., 16:50:41 UTC+3 пользователь Terje A. Bergesen написал:
You need to create a server application with an API, for example REST, that talks to your database and then the Flutter app talks to the server. You can use .Net MVC for example for the server app.

Mobile applications never talk directly to Databases except for locally on the device, usually for cache only. 

søn. 20. okt. 2019 kl. 15:02 skrev Mister Sapkowski <reddin...@gmail.com>:
I create an application with a table, which should be filled by using queries to the MS SQL SERVER. How can I use the application to send requests to the server?

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.

Sam Cromer

unread,
Oct 20, 2019, 5:37:18 PM10/20/19
to Mister Sapkowski, Flutter Development (flutter-dev)

I’ve been using flutter since August 2018 and this helped me in the beginning.

 

https://flutter.dev/docs/cookbook/networking/fetch-data

 

 

 

Sent from Mail for Windows 10

To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/e2750332-ba7d-493e-8b4f-dd4e829a6248%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages