Hi Member 8714304, There are a number of libraries available for detecting which device is currently making a request from your application such as 51degrees on codeplex.
Member 9171128 10-Dec-12 18:16How to create mobile pages using mvc? can you give the step by step process? I am new this one plz | |
Sign in· View Thread |
Hi Member 9171128, You can add new views from Visual Studio -> Add View, see the article below:
MSDN - Create Views
As long as you have followed the practice of creating the Layout pages for each device from the article, the steps for creating mobile views are no different than other views.
Axar Patel 2-Dec-12 12:38 AssemblySoft 26-Feb-13 23:41 pointeman1 2-Oct-12 21:32 AssemblySoft 3-Oct-12 5:03The code demonstrates the home page. To extend this you simply need to create a
.Mobile.cshtml
.Tablet.cshtmljigshCodeproject 21-Sep-12 10:44
Excellent article. how can we test with device during development | |
Sign in· View Thread |
The simplest method i use is to use the a 'local IIS Web server' instead of 'Visual Studio development Server'. Then you can point your device at a dedicated IP address on your local network. The device also needs to be able to access/browse the local network. Obviously your network + operating system + device have specific steps to perform this but it is important to understand what you are trying to achieve
Machine with IIS (known IP) ------------ Local Network ----------- Your Device (known IP)
The following articles should provide some assistance: