.NETCF, it does not mean that .NETCF version will have all the methods, properties
and events from the full version. Methods and classes has removed for decreasing the
memory usage. These differences are typically noticed only when implementing the
application and thus can cause harmful problems. Fact is that many classes and prop-
erties have been removed if they are not needed in mobile device without thinking an
influence at the compatibility. This kind of incompatibility is not only the problem of
GUI libraries but can be found in other libraries as well. A pleasant exception is Web
service. In general ADO.NET, including web service and database support, is well
supported by .NETCF, apart from the object serialization.
7 Conclusion
This paper evaluates the option to use the same applications in both .NET and .NET
Compact Framework environments. The main conclusion is that in the present shape,
these platforms do not lend themselves easily for the design of common applications.
There are several reasons for problems. The most important ones are:
• different patterns of usage
• different facilities for designing user interfaces (e.g. some components miss-
ing or unusable, incompatible resource file format)
• incompatible interfaces, resulting from the removal of some methods and
their parameters in many .NETCF classes.
While the last item can be fixed in future releases of platforms, the other two issues
are fundamentally associated with the different purposes of wireless devices.
Even if it is technically possible to circumvent all these issues as described in this
paper, the resulting applications are not necessarily well-suited for end users, and
therefore should be depreciated. However, for e.g. experiments on using a certain
technology in a new environment or context, the commonalities offer a practical way
to compose rapid implementations.
Based on our experiences described above, the most tempting wireless application
development approach for us is to implement an application and device specific
graphical user interface for all different types of devices if necessary, but rely on the
use of web services for main functions of the application whenever possible. This
approach is supported by both .NET and .NETCF development tools, which enable
an easy access to web services from source code.
References
1. Ballinger, K., .NET Web Services: Architecture and Implementation with .NET, Addison-
Wesley, 2003.
2. Järvensivu, J., .NET as a mobile application platform. Master of Science Thesis, Department
of Information Technology, Tampere University of Technology, 2005. In Finnish.
3. Troelsen, A., C# and .NET Platform, Apress, 2003.
4. Wigley, A, Wheelwright, S, Burbidge, R, MacLeod, R and Sutton M, .NET Compact
Framework, Microsoft Press, 2003.
113