[mono-android] problem inserting data in Sql Server in release mode

Jonathan Pryor jonp at xamarin.com
Thu Oct 4 18:11:25 UTC 2012


On Oct 4, 2012, at 11:42 AM, Sayed Arian Kooshesh <kooshesh at gmail.com> wrote:
> what's the advantage of using a direct connection here vs an rpc call to a generic handler or other form.

Bureaucracy. ;-)

> I would like to hear an argument for exposing your database to the world in any app. 

Not all companies behave as you might think they should...and if Product A needs data held in the DB, they can either contract with Group G to get a front-end to the DB running (which may or may not be possible due to politics/etc.), or Product A just bypasses Group G entirely and (somehow?) opens the firewall to the DB.

Yes, in any sane world, the DB would be locked behind more firewalls than you can shake a stick at and you'd use SOAP/REST/WCF/JSON/SMTP/whatever to access it -- with decent data validation at all tiers! -- but the world is very rarely "sane."

Also, who want's to write all that "plumbing" code for your WCF/DB layer when you can just make the DB world-accessible? ;-)

 - Jon



More information about the Monodroid mailing list