Mobile ASP.NET

  • Thread starter Thread starter rn5a
  • Start date Start date
R

rn5a

I've come across numerous mobile phones with which ASP.NET pages can
be accessed on the Internet. Then why has Microsoft developed a
separate programming model to create ASP.NET apps for mobile devices
when regular ASP.NET pages can be accessed from mobile devices?

Ron
 
I've come across numerous mobile phones with which ASP.NET pages can
be accessed on the Internet. Then why has Microsoft developed a
separate programming model to create ASP.NET apps for mobile devices
when regular ASP.NET pages can be accessed from mobile devices?

Ron

I believe you are referring to Mobile Web Forms, that can be added to
asp.net websites that target mobile devices
 
I believe you are referring to Mobile Web Forms, that can be added to
asp.net websites that target mobile devices

--http://bytes.thinkersroom.com

Yes Rad I am referring to Mobile Web Forms only. When the conventional
Web Forms can be accessed from mobile devices (for e.g. mobile
phones), why has Microsoft developed a separate programming model to
create Mobile Web Forms when the usual Web Forms can be accessed from
mobile devices?

Thanks,

Ron
 
Yes Rad I am referring to Mobile Web Forms only. When the conventional
Web Forms can be accessed from mobile devices (for e.g. mobile
phones), why has Microsoft developed a separate programming model to
create Mobile Web Forms when the usual Web Forms can be accessed from
mobile devices?

Thanks,

Ron

True, some mobile devices such as PDAs can access normal web forms,
the same assumptions cannot be made for all mobile devices, like WAP
phones for instance.

These may not support web protocols, or web browsers to the extent of
being able to render faithful ASP.NET forms.

Mobile Web Forms I imagine are the "least common denominator"
 
-----Original Message-----
From: Rad [Visual C# MVP] [mailto:[email protected]]
Posted At: Friday, 19 October 2007 1:42 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: Mobile ASP.NET
Subject: Re: Mobile ASP.NET

Yes Rad I am referring to Mobile Web Forms only. When the conventional
Web Forms can be accessed from mobile devices (for e.g. mobile
phones), why has Microsoft developed a separate programming model to
create Mobile Web Forms when the usual Web Forms can be accessed from
mobile devices?

Thanks,

Ron

True, some mobile devices such as PDAs can access normal web forms,
the same assumptions cannot be made for all mobile devices, like WAP
phones for instance.

These may not support web protocols, or web browsers to the extent of
being able to render faithful ASP.NET forms.

Mobile Web Forms I imagine are the "least common denominator"

So how do you tell that a request has come from a mobile phone ?

A user can type any value into a url. They don't know if the website has
been setup for Mobile Web Forms.
 
So how do you tell that a request has come from a mobile phone ?

A user can type any value into a url. They don't know if the website has
been setup for Mobile Web Forms.


Targeting mobile devices is something that you have to design into
your solution from the very beginning.

Due to the constraints of screen size, supported controls, and so on,
a common strategy is to build two completely different sites so for
instance your main site would be www.mysite.com and then you have a
sub domain for your mobile devices , www.wap.mysite.com

For the www.wap.mysite.com you would then build an asp.net site
entirely with mobile web forms. However you can share much of the data
access logic.

If you wanted to you could force a mobile user who inadvertently
wanders to the main site back to the WAP, perhaps in the authenticate
request method.

What you do is query the Request.IsMobileDevice property and redirect
as appropriate
 
Back
Top