During the Friday I realized, that I did a long time nothing with my iPhone & MonoTouch development environment and I should try something more challenging. As I’m still fighting with some good idea for real world test application and my UIs are looking weird, I decided to turn my attention not to iPhone app directly, but to MonoTouch capabilities.
As a true geek I decided to try to connect to Firebird from iPhone. Although, thinking about it, I’m trying to connect to Firebird (or make it work with) with various technologies (Astoria offline, Silverlight, etc.). Because .NET provider for Firebird is pure C# and we have Mono compatible build, I deduced that it should work with iPhone too.
Sure, it’s a nice challenge to whole MonoTouch stack, because the .NET provider is more about the code than about the application itself. And we’re using there a lot of different things that can go wrong or may not be available or compilable to native code. And I have to say, the guys behind MonoTouch did a great work (I still can’t believe it).
With couple of minor tweaks I was able to create application that connects from iPhone (simulator) through internet to Firebird server. Pure C#, no hacking or major problems.
![]()
Application connecting to Firebird server and showing the server version.
First I’m impressed how mature the MonoTouch is. Second I’m still trying think thru all the possibilities you have with this. With some work on UI you can deliver the same database oriented application to Windows Mobile and iPhone using the same business layer (sure some webservice approach would be better, but …).
Looks like it’s time to stop playing and get some serious test app done.
I’m wondering whether we should start providing build of .NET provider for Firebird for MonoTouch/iPhone, as we have for Compact Framework?


Pingback: Firebird News » Connecting from iPhone to Firebird
#1 by Andre on 5.2.2010 - 13:01
Quote
Sure that’s very interesting – even more when iPad is coming!
#2 by william on 16.2.2010 - 14:24
Quote
hi,
this is very interesting. since im not a geek, mind explaining how this can work so I can try it for myself?
#3 by cincura.net on 16.2.2010 - 21:23
Quote
william> What you mean by “this”?
#4 by Simon on 16.2.2010 - 21:54
Quote
Hi, thank you for this info, but I am wondering … does “.NET provider for Firebird” need fbclient.dll library, or how all this works?
#5 by cincura.net on 16.2.2010 - 22:03
Quote
No it doesn’t. The Firebird wire protocol is completely implemented using managed code (C#). That’s BTW why you can run it on MonoTouch (as proved here).