| 1. |
What Is The Use Of Display Modes? |
|
Answer» View can be changed automatically based on browser(For mobile and DESKTOP browser’s) Display Modes is newly ADDED feature in ASP.NET MVC 4. VIEWS SELECTED automatically by application depending on the browser. Example: If a desktop browser requests LOGIN page of an application it will return ViewsAccountLogin.cshtml view & if a mobile browser requests home page it will return ViewsAccountLogin.mobile.cshtml view. View can be changed automatically based on browser(For mobile and desktop browser’s) Display Modes is newly added feature in ASP.NET MVC 4. Views selected automatically by application depending on the browser. Example: If a desktop browser requests login page of an application it will return ViewsAccountLogin.cshtml view & if a mobile browser requests home page it will return ViewsAccountLogin.mobile.cshtml view. |
|