ASP.NET app for different devices
Folks, I might have to write an ASP.NET app that looks pleasant on different devices such as Desktop, pad and phone. I will have to reliably detect the browsing device and render different html, but I've not needed to do this before. I'll bet someone in here has done this, and if so, can you give me a potted summary of what the tricks are (in the hope you can help me avoid hours of searching and experimental suffering). I'll start running some searches anyway. Thanks, Greg K
Re: ASP.NET app for different devices
Dear Greg, i am also planning for it,best of luck for both of us.:) but what is my understanding ASP.NET 4.5 WebForms/MVC can be helpful. Because default asp.net Application is rewritten via Html5 and CSS 3 when you create new Web App via Visual Studio 2012. see you later... On Sat, Mar 16, 2013 at 1:50 AM, Greg Keogh g...@mira.net wrote: Folks, I might have to write an ASP.NET app that looks pleasant on different devices such as Desktop, pad and phone. I will have to reliably detect the browsing device and render different html, but I've not needed to do this before. I'll bet someone in here has done this, and if so, can you give me a potted summary of what the tricks are (in the hope you can help me avoid hours of searching and experimental suffering). I'll start running some searches anyway. Thanks, Greg K -- Regards, Muhammad Niaz +966 596 792864
Re: ASP.NET app for different devices
Modernizer, jquery , jquery mobile to star with. Brows stack over flow for more recent additions, almost every day there is a new framework coming out these a days. Depending on your needs signal or not. Most likely you won't be detecting browsers and rendering html accordingly, that is the old way of doing things. You would be detecting capabilities and working accordingly, kind of like programming purely with interfaces. The html will be almost constant for all devices and browsers but the java script library would do the rest on client, how ever that is when minification needs to kicks in, having said that one might settle for the minimum look instead and go for simple but fast loading interface. On 16 March 2013 09:50, Greg Keogh g...@mira.net wrote: Folks, I might have to write an ASP.NET app that looks pleasant on different devices such as Desktop, pad and phone. I will have to reliably detect the browsing device and render different html, but I've not needed to do this before. I'll bet someone in here has done this, and if so, can you give me a potted summary of what the tricks are (in the hope you can help me avoid hours of searching and experimental suffering). I'll start running some searches anyway. Thanks, Greg K
RE: ASP.NET app for different devices
I would start with twitter bootstrap. It is trivial to build a responsive interface and styling past tue default is pretty simple too. Sent from my Windows Phone -- From: Arjang Assadi Sent: 16/03/2013 10:30 AM To: ozDotNet Subject: Re: ASP.NET app for different devices Modernizer, jquery , jquery mobile to star with. Brows stack over flow for more recent additions, almost every day there is a new framework coming out these a days. Depending on your needs signal or not. Most likely you won't be detecting browsers and rendering html accordingly, that is the old way of doing things. You would be detecting capabilities and working accordingly, kind of like programming purely with interfaces. The html will be almost constant for all devices and browsers but the java script library would do the rest on client, how ever that is when minification needs to kicks in, having said that one might settle for the minimum look instead and go for simple but fast loading interface. On 16 March 2013 09:50, Greg Keogh g...@mira.net wrote: Folks, I might have to write an ASP.NET app that looks pleasant on different devices such as Desktop, pad and phone. I will have to reliably detect the browsing device and render different html, but I've not needed to do this before. I'll bet someone in here has done this, and if so, can you give me a potted summary of what the tricks are (in the hope you can help me avoid hours of searching and experimental suffering). I'll start running some searches anyway. Thanks, Greg K
Re: ASP.NET app for different devices
I would second Twitter Bootstrap. Allows you to get going with a responsive interface that looks good on desktop, tablet or mobile. On Sat, Mar 16, 2013 at 11:49 AM, Ben Scott b...@belfryimages.com.au wrote: I would start with twitter bootstrap. It is trivial to build a responsive interface and styling past tue default is pretty simple too. Sent from my Windows Phone -- From: Arjang Assadi Sent: 16/03/2013 10:30 AM To: ozDotNet Subject: Re: ASP.NET app for different devices Modernizer, jquery , jquery mobile to star with. Brows stack over flow for more recent additions, almost every day there is a new framework coming out these a days. Depending on your needs signal or not. Most likely you won't be detecting browsers and rendering html accordingly, that is the old way of doing things. You would be detecting capabilities and working accordingly, kind of like programming purely with interfaces. The html will be almost constant for all devices and browsers but the java script library would do the rest on client, how ever that is when minification needs to kicks in, having said that one might settle for the minimum look instead and go for simple but fast loading interface. On 16 March 2013 09:50, Greg Keogh g...@mira.net wrote: Folks, I might have to write an ASP.NET app that looks pleasant on different devices such as Desktop, pad and phone. I will have to reliably detect the browsing device and render different html, but I've not needed to do this before. I'll bet someone in here has done this, and if so, can you give me a potted summary of what the tricks are (in the hope you can help me avoid hours of searching and experimental suffering). I'll start running some searches anyway. Thanks, Greg K