Skip to content

Building awesome Mac clients for web services built with Visual Studio and C#

If your customers are asking you about a “Mac” version of your existing Windows application, you may want to look at the new Embarcadero FireMonkey application development platform. FireMonkey makes it very easy to create great looking, native, compiled applications for Mac as well as for Windows. FireMonkey is a great way for building clients application with advanced GUI features like programmable effects and animations to your existing web services implemented with Microsoft Visual Studio 2010.

RAD Studio XE2 comes with multiple compilers, including Windows 32/64-bit compilers and native OS X compiler. Basically you just need to select active target platform and recompile your project and you can build applications that natively run on Windows and OS X.

That’s truly unique capability. Being able to target Windows and OS X from the same Delphi or C++Builder code is something that no other IDE on the market can currently provide.

I have put together a tutorial and a demo that features a simple ASP.NET 4.0 C# web service and a Mac OS X client application for it built with Delphi XE2 and FireMonkey. I have also recorded the whole process of building the ASP.NET web service and Mac client for it using Camtasia. The recording is just one 25-minute long mp4 file that you can download from the Code Central.

{ 6 } Comments

  1. Miriam Schroeder | April 2, 2012 at 4:54 pm | Permalink

    "no other IDE"???? XPower++ cross compiles native exes for Linux, Mac, Windows, and Mobile, and on top of that without the need to recompile on the target system. I love Delphi but you should not provide wrong information, that statement is just not true. And besides XPower++ there are like 5 other tools like Lazarus, wxWidgets, and … which are also capable of cross platform. I for example dropped Delphi about 9 months ago and moved to XPower++. Again, I love Delphi and I used it for over 15 years but they are way behind of what the current market has to offer.

  2. Pawel Glowacki | April 2, 2012 at 9:58 pm | Permalink

    Hi Miriam,
    For Delphi and C++ code RAD Studio is the only one, so it is true:-)
    Pawel

  3. Jim McKeeth | April 3, 2012 at 12:33 am | Permalink

    Curious why you use c# over Embarcadeo Prism. Seems like it should be able to do the same thing with Prism and still stick with the Object Pascal language we all know and love. Prism had full access to the entire .NET framework, just like c#.

  4. Pawel | April 3, 2012 at 8:42 am | Permalink

    Hi Jim,
    I’ve been doing this many times with Prism and like you said - all .NET languages have full access to the .NET framework. This time I have done this with C# to make the example more accessible to every Visual Studio user, especially those that have not yet heard about Embarcadero and FireMonkey…
    The other reason being that you have demonstrated Prism ASP.NET web service in your Delphi 17th birthday webinar;-)
    Pawel

  5. Shiva | April 20, 2012 at 2:47 pm | Permalink

    It is really nice and informative, it is useful for me. thank you

  6. Angelo | October 5, 2012 at 12:57 pm | Permalink

    Hi, I have purchased Xpower++ Enterprise edition, but after one year the native mobile compiler (Android, IOS and others) isn’t still available. Only Windows, Mac and Linux with some problems.
    Xpower++ could be a great tool but it’s lagging behind the other tools and the development and release it’s very slow.
    Actually, I think Embarcadero Delphi XE3 it’s the best.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Bad Behavior has blocked 2 access attempts in the last 7 days.

Close