Re: Theory behind ASP.NET mobile device capabilities?

From: bonnie (bonnieliyl_at_postmaster.co.uk)
Date: 09/27/04


Date: 27 Sep 2004 02:54:46 -0700

Hi Juan,

Thank you so much. You are really really helpful!!
I am going to do as you suggested and try to figure it out.

Thought it might be somewhat like WURFL and I was right =).

Seems standards can sleep in researchers' bag for a long while and de
facto protocols are in real use... In your opinion, is Microsoft's
better than the others?

Best regards, Bonnie

"JuanDG" <jdgx@hotmail.com> wrote in message news:<#JHhsjaoEHA.596@TK2MSFTNGP11.phx.gbl>...
> We'll I thought at first this was some kind of beginner question, but I see
> you want "the real thing!!", so here I come!!
>
> Microsoft has it's own implementation of the Device Capabilities assessment
> written in the ASP.NET Engine (HTTP Pipelines) this pipelines are a
> collection of HTTP modules
>
> HTTP modules are classes that have access to the incoming request. These
> modules can inspect the incoming request and make decisions that affect the
> internal flow of the request. After passing through the specified HTTP
> modules, the request reaches an HTTP handler, whose job it is to generate
> the output that will be sent back to the requesting browser. all the
> information about the mobile device capabilities is written in the request.
>
> In fact, you can see a precise list of what modules are used by default by
> going to the machine.config file (located in the
> $WINDOWS$\Microsoft.NET\Framework\$VERSION$\CONFIG directory). Fist you can
> search for an element called <sectionGroup name="system.web"> and then the
> section corresponding to the devicefilters (<section name="deviceFilters"
> type="System.Web.Mobile.......). And the mobile controls (<section
> name="mobileControls" type="System.Web.UI.MobileControls...) they are the
> main classes for mobile web development in asp.net and as you can see they
> are in charged of handling requests from mobile devices.
>
> You'll also find a <mobileControls> tag and after this tag you'll locate al
> the device filters and if you have installed device updates you'll see the
> changes made by them in this section. This is the most interesting part
> because you'll meet the actual classes who take care of the rendering, like
> System.Web.UI.MobileControls.Adapters.WmlTextBoxAdapter capable of rendering
> textboxes to WML and a whole bunch of them for all the devices supported by
> the framework.
>
> then there's the <browserCaps> tag where you'll find all the set of
> capabilities ASP.NET defines for each type of browser it supports, as you'll
> see it's some what similar to WURFL and also very plain and simple.
>
> You can keep browsing the machine.config and the whole config folder and at
> the end you'll get the picture of how all the dirty work is done!!!!
>
> Hope its all clear now. Cheers!!!
> --
>
> Juan David Gomez A.
> Microsoft Certified Professional
> Analista de Desarrollo - PSL S.A.
> Web and Wireless Banking
> Medellin - Colombia
>



Relevant Pages

  • RE: OWA works from client but not from server
    ... Recently, the SBS domain users cannot access OWA from the SBS server, ... the error message may be one of the ... HTTP 400 - Bad Request ...
    (microsoft.public.windows.server.sbs)
  • Re: OWA works from client but not from server
    ... Recently, the SBS domain users cannot access OWA from the SBS server,   ... the error message may be one of the ... HTTP 400 - Bad Request ...
    (microsoft.public.windows.server.sbs)
  • Re: How to write something to a html textfield and send it?
    ... > No need for controlling any particular browser. ... I'm not familiar with HTTP user ... and building the request in your program. ... The server doesn't know anything about a textfield; ...
    (comp.programming)
  • Re: undefined function error if I use a fully-qualifed include
    ... >>obtains filename.php by performing an HTTP request to the specified ... which specifies "Go and get this resource using the HTTP protocol". ... PHP doesn't ... off to Apache to satisfy. ...
    (comp.lang.php)
  • Re: SSL Issue - Urgent
    ... Generically extensible -- the translation device gives some hint of the ... so the device would need to set a proprietary HTTP Request header indicating ... This has been done on Apache and IIS as well. ...
    (microsoft.public.inetserver.iis.security)

Loading