Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Slow loading time. Extension 3.5

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
msch.prv@gmail.com - 05 Mar 2008 12:59 GMT
I have been experimenting with VWD Express Extension 3.5 and noticed
that quite often it takes up to 1..2 min to load external js or css
files. This occurs often after rebuilding the site. The problem seems
to be linked to retrieving small ( approx 200 bytes) graphics files,
as evidenced in Firefox' Firebug tracing graphics.

Currently, the script manager is included in the master page, the
external js file in the header section, and the page theme referenced
in the config file. Is this the right approach or does Ext 3.5 have
some bugs? With ASP.NET 2.0 load-up time was satisfactory. I tried
deleting the external js file to no avail. How can I speed up loading
time?

TIA for sharing any thoughts.
Cowboy (Gregory A. Beamer) - 05 Mar 2008 15:14 GMT
Are you just dealing with initial load time? If so, you may or may not be
able to alleviate the situation and should attempt to run the JITTer when
you deploy through the precompile.axd file. More and more of the code is
being compiled when you compile a web project.

Could there be a bug in 3.5 Extensions? Certainly. It is still in beta. I
would log your findings, along with code, and a step by step description of
what you did. The place to log is one Connect. You can also get to the team
via the forums on www.asp.net.

In addition, if you want someone to figure out what is wrong with your code,
or if it is a bug, you should post code here, as well. The more info, the
easier it is for other people to help you.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************
>I have been experimenting with VWD Express Extension 3.5 and noticed
> that quite often it takes up to 1..2 min to load external js or css
[quoted text clipped - 10 lines]
>
> TIA for sharing any thoughts.
msch.prv@gmail.com - 05 Mar 2008 16:09 GMT
Gregory, thanks for your feedback. I'll follow your suggestions and
post my findings in the fori you specified. Meanwhile, here is a small
snippet taken from the master page (aside from the ScriptManager tag,
this is identical to the ASP.NET 2.0 script which works fine):

....
<head runat="server">
   <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/

   <script type="text/javascript" src="/AndersShop/Includes/
JavaScript/Common.js"></script>
   <title id="PageTitle" runat="server"></title>
</head>

<body >
<form id="form1" runat="server">
   <asp:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true" EnableStateHash="False"
EnableHistory="True"
       OnNavigate="ScriptManager1_Navigate" />
   <div id="page" >
   ....

The config includes the css theme reference:

<pages styleSheetTheme="Theme1">
mike_something - 13 Mar 2008 03:00 GMT
Has anyone else been having this.
Everything was going fine - VS2005 asp net2.
Last night I installed 3.5 because I wanted to use the TimeZoneInfo class.
Added a reference to System.Core.
Went and added TimeZoneInfo classes all over the place.
Straight away load times went up to from < 1 sec to > 20 sec.
Can't remember doing anything else that could have an impact.
Removed the references and classes - still long load times...

I might uninstall 3,5 and see what happens there.

Any ideas much appreciated,
Cheers, Mike.
mike_something - 14 Mar 2008 08:14 GMT
> I might uninstall 3,5 and see what happens there.

All sorts of trouble apparently.
I wish I'd found http://blogs.msdn.com/astebner/articles/492809.aspx 
before I started getting silly.
Anyway, removed the 3.5 references and all is back to good.
S Kumar - 29 Apr 2008 02:05 GMT
Application initial load is extremely slow. I am not sure if this is to do with something running on the machine. It was fine earlier today after I recompiled. It is definitely flaky... Kind of scares me because we have invested enough into 3.5 upgrade.

Some of the things I am planning is run a
1) aspnet_compiler.exe before we start browsing the site..
2) use the MSbuild with other options (do not know what as of now -:))

Any one able to find any solution on this?

thanks
-Kumar
nick chan - 29 Apr 2008 03:38 GMT
make sure u turn off indexing service on the folder.

> Application initial load is extremely slow. I am not sure if this is to do with something running on the machine. It was fine earlier today after I recompiled. It is definitely flaky... Kind of scares me because we have invested enough into 3.5 upgrade.
>
[quoted text clipped - 6 lines]
> thanks
> -Kumar

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.