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

Posted by on in Blogs
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.


About
Gold User, Rank: 9, Points: 364
Crazy about Delphi Programming!

Comments

  • Guest
    Miriam Schroeder Monday, 2 April 2012

    "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.

  • Guest
    Pawel Glowacki Monday, 2 April 2012

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

  • Guest
    Jim McKeeth Monday, 2 April 2012

    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#.

  • Guest
    Pawel Tuesday, 3 April 2012

    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

  • Guest
    Shiva Friday, 20 April 2012

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

  • Guest
    Angelo Friday, 5 October 2012

    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.

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: