CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Web Site slow

  1. #1
    Join Date
    Jul 2008
    Posts
    63

    Exclamation Web Site slow

    Hi All
    i am making a project in C# and ASP.net using VS2005.
    it is a travel portal which has a lot of webpages these
    are htm pages which i link to my project. problem is
    that my site is very slow static pages is neary 400.
    any other way? plz tell me.
    i want my web site faster.
    thanks

  2. #2
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: Web Site slow

    there are a number of reasons why a website would be "slow".... server load, server configuration, server specs, inefficient code, etc.

    where do you want to start?

  3. #3
    Join Date
    Jun 2001
    Location
    Melbourne/Aus (C# .Net 4.0)
    Posts
    686

    Re: Web Site slow

    The question you have asked is way to generalised for this forum.

    First of all, you need to narrow down the problem. Maybe debug your code and try and find out if there are specific bits that are slow.

    If the whole site is slow, then you may want to look at code that is used by the majority of pages on the site, code that is not concerned with the user interface, but rather data access, inefficient queries etc.

    Check you are not dealing with massive amounts of data by default. For example, you may have a DataGridView with 10,000+ rows in it. Consider filtering the data and making one of the filters the default. Warn users if they are about to view 10,000+ rows of data and give them the option to cancel. If you really need to show all of the data, consider a paging mechanism.

    As mentioned, it may also be the server/config you are using. If you have an alternative server that you could publish your site on and then compare, that may help too.
    Rob
    -
    Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured