none
Convert a LightSwitch SilverLight 2011 application to a LightSwitch HTML 2012 RRS feed

  • Question

  • I've not been able to find definitive answers to these questions:

    1) In VS 2012 what is the technical difference between creating a new project via "LightSwitch Application" and "LightSwitch HTML Application"?

    2) What is the end result of either choice? My best guess is that LightSwitch HTML Application can only create HTML5 screens where LightSwitch Application can create both SilverLight and HTML screens?

    Specific question for our application -- I started developing a LightSwitch Application in v2011. It is relatively small with 40 tables. The only screens created are throwaway POC screens. A major component of the application is to allow crowd sourced users to manipulate product data. (ie: contractors who may or may not have Silver Light installed) It would seem we would be better off with 100% HTML screens moving forward.

    3) Is there a business case for recreating these 40 tables in a new "LightSwitch HTML Application" project?

    4) Am I ok, simply adding a HTMLClient to the application and going forward?

    5) Is there a business case for "Super Power Users" to use the SilverLight client?

    Thank you for any thoughts, comments or questions you may provide!

    Sincerely,

    Bill


    Thank you, Bill

    Monday, May 6, 2013 5:09 PM

Answers

  • Hi Bill,

    1) The difference is what type of client project is created initially. You can add an HTML client to a LightSwitch Application (Silverlight) project, and you can add a Silverlight client to a project initially created with the HTML template. see http://msdn.microsoft.com/en-us/library/ff852005.aspx

    2) A single project can contain both a Silverlight and an HTML client. Both share the same server tier and can access the same data.

    3) You don't need to recreate the tables. Upgrade you 2011 project by opening it in 2012 Update 2, then add an HTML Client (Project, Add Client menu).

    4) Yes. If you choose to use only HTML, upgrade as noted above and then remove the Silverlight client.

    5) In general, Silverlight is the best choice for a desktop client. HTML clients are optimized for mobile devices and not well suited for heavy data entry.

    Hope this helps,


    Steve Hoag Microsoft aka the Lights Witch (IEnumerable of Newt)

    Monday, May 6, 2013 6:27 PM
    Moderator

All replies

  • Hi Bill,

    1) The difference is what type of client project is created initially. You can add an HTML client to a LightSwitch Application (Silverlight) project, and you can add a Silverlight client to a project initially created with the HTML template. see http://msdn.microsoft.com/en-us/library/ff852005.aspx

    2) A single project can contain both a Silverlight and an HTML client. Both share the same server tier and can access the same data.

    3) You don't need to recreate the tables. Upgrade you 2011 project by opening it in 2012 Update 2, then add an HTML Client (Project, Add Client menu).

    4) Yes. If you choose to use only HTML, upgrade as noted above and then remove the Silverlight client.

    5) In general, Silverlight is the best choice for a desktop client. HTML clients are optimized for mobile devices and not well suited for heavy data entry.

    Hope this helps,


    Steve Hoag Microsoft aka the Lights Witch (IEnumerable of Newt)

    Monday, May 6, 2013 6:27 PM
    Moderator
  • Thank you!

    Thank you, Bill

    Monday, May 6, 2013 7:22 PM