> >I've come across numerous mobile phones with which ASP.NET pages can
> >be accessed on the Internet. Then why has Microsoft developed a
[quoted text clipped - 7 lines]
>
> --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
Rad [Visual C# MVP] - 18 Oct 2007 16:41 GMT
>> I believe you are referring to Mobile Web Forms, that can be added to
>> asp.net websites that target mobile devices
[quoted text clipped - 10 lines]
>
>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"
--
http://bytes.thinkersroom.com
Ian Semmel - 18 Oct 2007 19:14 GMT
> -----Original Message-----
> From: Rad [Visual C# MVP] [mailto:rad@nospam.com]
[quoted text clipped - 30 lines]
> --
> http://bytes.thinkersroom.com
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.
Rad [Visual C# MVP] - 19 Oct 2007 11:11 GMT
>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
--
http://bytes.thinkersroom.com