With ASP.Net Web Pages 2.0 the concept of Mobile views was introduced http://www.asp.net/web-pages/tutorials/working-with-pages/rendering-aspnet-web-pages-sites-for-mobile-devices. Normal webforms also got it with the Microsoft.AspNet.FriendlyUrls.
In both cases the idea is that whenever you have a file named MyPage.cshtml or MyPage.aspx, you can create a new set of files called MyPage.Mobile.cshtml or MyPage.Mobile.aspx and ASP.Net will automatically be smart enough to choose the Mobile view when its a mobile device requesting the url.
So without much further introduction i suppose the readers by know has figured out where i'm getting at; this file scheme should be supported by Composite C1 as well for .master, .cshtml, .xslt etc.
Myself, i'm already supporting it at MasterPage template level, plus i implemented the BrowserHelpers-class (http://msdn.microsoft.com/en-us/library/hh396628(v=vs.111).aspx) which was introduced in WebPages 2.0 to override a mobile device to mimic it being a desktop and vice versa.
https://bitbucket.org/burningice/compositec1contrib/src/94f2e3b5715b0a6b99d10d48a45023903319e489/Re
ndering.MasterPages/Web/MasterPageModule.cs?at=default#cl-59
In both cases the idea is that whenever you have a file named MyPage.cshtml or MyPage.aspx, you can create a new set of files called MyPage.Mobile.cshtml or MyPage.Mobile.aspx and ASP.Net will automatically be smart enough to choose the Mobile view when its a mobile device requesting the url.
So without much further introduction i suppose the readers by know has figured out where i'm getting at; this file scheme should be supported by Composite C1 as well for .master, .cshtml, .xslt etc.
Myself, i'm already supporting it at MasterPage template level, plus i implemented the BrowserHelpers-class (http://msdn.microsoft.com/en-us/library/hh396628(v=vs.111).aspx) which was introduced in WebPages 2.0 to override a mobile device to mimic it being a desktop and vice versa.
https://bitbucket.org/burningice/compositec1contrib/src/94f2e3b5715b0a6b99d10d48a45023903319e489/Re
ndering.MasterPages/Web/MasterPageModule.cs?at=default#cl-59