Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. SCSF application is taking a lot of time to load

SCSF application is taking a lot of time to load

Scheduled Pinned Locked Moved C#
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sakshi Smriti
    wrote on last edited by
    #1

    Hi, I have developed a smart client desktop application using SCSF. It has an MDI and MDI child forms opens over it(It is similar to windows menu based application using MDI) . The problem is that the MDI child forms (i.e. the views) take a few seconds to open and load. Is there any way of minimising the time it takes. The forms are having simple text boxes and labels and grids(which has two columns and is not populated during load) I call a webservice at form load and have tried to comment the service call; Even then it takes the same time so I have ruled out the possibility of service delay. Nothing else is done at the form load except the form is rendered All MDI child forms(views) are taking the same time. I dont have knowledge of SCSF internals, and how SCSF does all the handling of smart parts etc. May be it might be tuned up to load the views faster or there is some way to make the CAB work faster which I am unaware of. Could not find the forum related to SCSF so posting it here, please suggest in case you have knowledge of SCSF message board in code project. Thanks in advance. Sakshi

    M 1 Reply Last reply
    0
    • S Sakshi Smriti

      Hi, I have developed a smart client desktop application using SCSF. It has an MDI and MDI child forms opens over it(It is similar to windows menu based application using MDI) . The problem is that the MDI child forms (i.e. the views) take a few seconds to open and load. Is there any way of minimising the time it takes. The forms are having simple text boxes and labels and grids(which has two columns and is not populated during load) I call a webservice at form load and have tried to comment the service call; Even then it takes the same time so I have ruled out the possibility of service delay. Nothing else is done at the form load except the form is rendered All MDI child forms(views) are taking the same time. I dont have knowledge of SCSF internals, and how SCSF does all the handling of smart parts etc. May be it might be tuned up to load the views faster or there is some way to make the CAB work faster which I am unaware of. Could not find the forum related to SCSF so posting it here, please suggest in case you have knowledge of SCSF message board in code project. Thanks in advance. Sakshi

      M Offline
      M Offline
      Muhammad Mazhar
      wrote on last edited by
      #2

      First try with marking all your forms double buffered, secondly you may try to put some way to manage cache for example if you have downloaded something and its not changed then it would be better to make use of that instead of downloading same thing again and again. Secondly put some paging type thing in it to download specific parts for example instead of downloading 100 records from webservice on client side and then filtering them upon some criteria it would be better to ask webservice to return you only desired records. Secondly although I am not a fan of show/hide tech in windows forms but it may do the trick in your case and will be much faster then creating new form each time.

      Share your experience with others Check my Blog...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups