Device Adapter Code

To help you create adapters for new mobile devices, ASP.NET contains device adapter code that you can modify for a new device. The device adapter code can be downloaded from https://go.microsoft.com/fwlink/?LinkId=6350.

All the adapter code can be compiled into and executed from its own assembly. You can compile the adapter code by running the following command in the directory that contains the device adapter code, provided the directory that contains the csc command is in your PATH environment variable.

[C#]

csc /target:library
   /out:System.Web.UI.MobileControls.ShippedAdapterSource.dll
   /r:System.Web.Mobile.dll
   /debug+
   /D:COMPILING_FOR_SHIPPED_SOURCE
   /nowarn:0679
   *.cs 

Replace the <mobileControls> section in Web.config with the contents of the web.config-shippedAdapters file to install these stand-alone adapters.