I have an Asp.net MVC website and for that I will making a lighter mobile version and install it on http://m.mysite.com subdomain.
Please tell me what code I can use to redirect the mobile visitors and where should it be placed ?
Also, tell me if this is a better approach or there is an alternative which simply uses CSS to scale down the website ?
Yes there is a better approach – a responsive build means you only have one code base and one set of content for all devices. Redirecting to a mobile area is the old approach, doesn’t always cater for new devices and usually means either duplicate code, duplicate content, or both.
This is probably the best introduction to responsive design I have come across