Performance on Mobile Client vs ASP.net Mobile

F

Fredrik Ljungbeck

Hi !

Does anyone have experience in developing with both
Mobile client (with compact framework) and ASP.Net ?
Where do you find you the best perfomace (running the app) ?

Consider a rather good wlan (11Mb) and not so much
data sent to and from server-database.
Thanks for any tip !

Regards,
Fredrik
 
B

Bardak

This is kind of a holistic question.

I will try to ellaborate:
1. You should use ASP.NET in cases that:
* You have connection available to your device at all times.
* You are targeting myrad of devices and browsers (and thus can use
ASP.NET mobile controls to render the applicaiton automatically).

2. You should use the .NET Compact Framework in cases where:
* Your applicaiton needs to run even when conenction is not available
(you can keep storage on your device).
* You target a specific device class (For instance Pocket PC)

In addition, you should consider the following facts:
* When you work with ASP.NET the applicaiton runs on the server and the
rendring is done on the client ( Pocket IE if it is a Pocket PC). The speed
of the application is thus capped first by the communication protocol (that
delivers HTML back and forth) and then by the speed of the code on the
server.
* When you write .NET CF applications, the speed depends on the power of
the CPU on the devices and the amount of memory available (influencing the
JIT compilation and Garbage Collection process).

Hope this helps.

Barak

--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top