views:

113

answers:

2

Can I port my old C# desktop application on IPad using MonoTouch?

+5  A: 

You can probably re-use any modular logic.

The MonoTouch UI code is completely different than WinForms (or anything else in .NET really) so re-use there is pretty much impossible.

If your application mixed UI and Logic code in the same place, you'll have to pull out the logic and create separate assemblies for them. You can then build your UI (using InterfaceBuilder) and then wire everything up with some new UI code.

Justin Niessner
A: 

Not if you used any features from the .net framework. From the mono touch website:

When developers create iPhone and iPad applications using MonoTouch, they use the C# language to take advantage of the features found in .NET like garbage collection, full type safety, and Language Integrated Query while interfacing directly with iPhone OS libraries, including UIKIt, CoreGraphics, CoreAnimation, GameKit, AudioToolbox, AVFoundation and many more.

Phil
Pretty much the entire .net framework is available on MonoTouch. Although a few parts are a little rough, pretty much everything you need is there.The parts that are not there are the ones that don't make sense, like asp.net, or WinForms.
Eduardo Scoz
as above - the poster has no idea of the topic he's talking about - the whole point of MT is that you have access to _most_ of the available .NET framework - I say most as there are some parts still being ported - WCF for instance is only partially supported - the most common use cases in this instance are all available.
cvista