Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Mobile ASP.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rn5a@rediffmail.com - 18 Oct 2007 03:36 GMT
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
Rad [Visual C# MVP] - 18 Oct 2007 10:52 GMT
>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

--
http://bytes.thinkersroom.com
rn5a@rediffmail.com - 18 Oct 2007 12:09 GMT
> >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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.