none
Performance of SL Client - no solutions since Version 2011

    Question

  • Hello,

    Months (Years) ago I have posted about the speed problems with the SL 2 Tier Client -

     there are the following problems:
    •startup loading time (see also here)
    •loading of complex screen (uses some entities with tab controls etc.)
    Now we have the next Version 2013 on the way and there is still no solution for that big kinf of problems - we have
    a big solution out there and it works but the costumers are very unsatisfied with the performance and we can nothing
    do to solve/workaround this!

    I know that MS does not extend the SL client but can't we expect that they do something against this slow loading and the sluggish screens!

     robert

    Thursday, September 12, 2013 1:05 PM

All replies

  • Hi Mad

    Thanks for your feedback,

    For Silverlight client performance issue, our community members and Microsoft engineers give lots of suggestions and solutions to speed up Lightswitch Silverlight Client, I think they will be good reference for us,

    # LightSwitch – 10 Performance Tweaks Anyone Can Do

    # Speed up Lightswitch Silverlight Client

    In addition, if you have suggestions and ideas for Visual Studio LightSwitch silverlight client, you could also visit Visual Studio uservoice site to submit your suggestions and ideas,

    Regards


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, September 17, 2013 6:03 AM
    Moderator
  • Hello,

    I know all the suggestions and I use a well designed Database and also use only computed columns in SQLServer not in LS but it is nevertheless slow (sluggish)

    I'm not the only one who have posted this performance problems in detail and since MS decided to concentrate on the HTML client (how to build "real" LOB'S with that technology is a miracle?) the SL client is still there with this problems (slow Datagrid and starting time in 2 Tier)

    robert

    Tuesday, September 17, 2013 8:16 AM
  • Hi Robert

    We actively monitor forum conversations in an effort to receive feedback that helps us continually improve our products, so we have logged this feedback accordingly.

    At the same I'd also like to suggest you to submit this to Visual Studio uservoice, Visual Studio development team will take it into consideration,

    Regards


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, September 17, 2013 8:41 AM
    Moderator
  • Hi Robert,

    Can you give some more details as to what your complex screen looks like?  Unfortunately there are some known issues around using the tab control on a screen as the data on the hidden tabs are loaded when the screen is loaded.  Have you considered any alternate designs in which multiple screens are used instead of the tab control?  Have you run a tool like Fiddler to monitor the number of server requests being made during screen load and tried to modify your screen to reduce the number of these requests?

    Tuesday, September 17, 2013 1:19 PM
  • Hello

    We have exactly the same problem with the performance. We also need the tabs on the screen. Since coming quickly 10 times and more entities on a screen.

    That is the reality. We also have this in Windows programs for years and it works.

    There must be repaired by Microsoft.

    Tuesday, September 17, 2013 5:28 PM
  • in the attached picture you can see the screen - it is a "normal" LOB screen and as J.Nord also posted I need the tabs to have a good application for my costumers - it should be easy for the user to have all necessary information on one screen. The problem is not only the slow loading of the screen also closing it takes 5 sec. And the whole feeling is very sluggish.

    another create problem is the loading time of the 2 Tier app - it takes up to 30 sec where the user can only see the "Loading..." info...

    I think MS knows about all that problems but they don't want to resolve it or they can't because of a fundamental design mistake of the SL client?

    it is a shame because if the SL cleint would be very fast we can build a lot of good apps with it :-(

    robert

    Wednesday, September 18, 2013 6:23 AM
  • Hi guys,

    I'm sorry if you've already done this, but can either of you please point me to your repro project that is exhibiting this behavior so we can run detailed perf tracing? That would really help us track down the exact problem.

    Thanks for your help,

    -Beth


    Senior Program Manager, Visual Studio Community http://www.bethmassi.com http://msdn.com/lightswitch http://dev.office.com

    Tuesday, October 22, 2013 4:31 PM
    Owner
  • Hello Beth,

    I think it should be possible to give you the LS Project if it is clear that you use it only for testing purposes and confidential...

    I'm not allowed to give you the database with data in it because this data from our customer

    what I can do is a websession to show you how sluggish the app works - it is slow on my developer machine (Win7 i5 8GB RAM) but much slower at the costumer with Win7 VDI (XenDesktop 2vCPU 4GB RAM)

    robert

    Tuesday, October 22, 2013 4:39 PM
  • Hi Robert,

    If we get a project with empty or test data in it that would be great. We will definitely not use it externally. Alternatively, if you can give us a test project where you are experiencing the same issues that will work as well.

    Thanks,
    -Beth


    Senior Program Manager, Visual Studio Community http://www.bethmassi.com http://msdn.com/lightswitch http://dev.office.com

    Tuesday, October 22, 2013 9:23 PM
    Owner
  • Hi Beth,

    I will try to build a test project based on the Northwind Database but for now I'm very busy and will need a few days/weeks to build such a test project...

    robert

    Wednesday, October 23, 2013 7:08 AM
  • Hi Beth,

    we have upload the sample Project for the performance problem.  With each new record, the performance is worse.

    We hope you can find the performance problem.

    Regards

    j.nord

    Monday, November 18, 2013 10:09 AM
  • Hi j.nord,

    Thanks. Our perf team will have a look and we'll let you know what we find.

    -Beth


    Senior Program Manager, Visual Studio Community http://www.bethmassi.com http://msdn.com/lightswitch http://dev.office.com

    Monday, November 18, 2013 7:23 PM
    Owner
  • Hi J.Nord,

    We tried to have a look at this but can't get your solution to compile. Can you provide us a working project or access to a VM with the running app?

    Thanks,

    -Beth


    Senior Program Manager, Visual Studio Community http://www.bethmassi.com http://msdn.com/lightswitch http://dev.office.com

    Tuesday, November 19, 2013 9:57 PM
    Owner
  • Hi Beth,

    I checked the references and extensions the project is using. Do get it to compile, you need the following prerequisites:

    • Silverlight Toolkit 5 (for the UserControls in "Klassenbibliotheken")
    • Entity Framework 4.1 (for the RIA Service)

    You can savely remove the "LightSwitchExtension1" and "Microsoft LightSwitch Extensions", it will compile without them. But, you need the Toolkit and the EF 4.1

    Wednesday, November 20, 2013 4:12 PM
  • Hi Beth,

    we have upload a compiled Version of the program.

    They may also install the following products

    • Silverlight Toolkit 5 (for the UserControls in "Klassenbibliotheken")
    • Entity Framework 4.1 (for the RIA Service)

    to the source code.

    We hope for a fast answer.

    Regards

    j.nord

    Monday, November 25, 2013 6:28 PM
  • Thanks, I passed this along to the perf team and they are looking into it.

    Senior Program Manager, Visual Studio Community http://www.bethmassi.com http://msdn.com/lightswitch http://dev.office.com

    Monday, November 25, 2013 6:32 PM
    Owner