Trying To Increase Speed - Using Classes That Aren't Necessary, Cause A Page To Load Slower?

Nov 26, 2010

I've been using things like Firebug and YSlow, so I'm not really looking for advice on increasing page load speeds, but I'm wondering does extra imports or using, especially if your importing or using classes that aren't necessary, cause a page to load slower?

View 2 Replies


Similar Messages:

Increase The Downlaod Speed In IE8?

Jul 8, 2010

how to increase the downlaod speed in IE8. is there any performance tuning or any settings.

View 3 Replies

Useful Steps To Increase The Speed Of The Website?

Mar 30, 2010

I know its a common question. But I want to share something. Actually I am working on e-commerce portal. It consists of 32000 products with around 2500 categories. I used 3-tier architechture for this project.Everyting is coming using stored procedures. I used master pages as well.But still I am fighting with the performance issue. Can anyone pls tell me some usefull steps to increase the speed of the website.Its taking ages to load the pages. please look at the site

View 2 Replies

Use AJAX Or Multithreading To Speed Up Page Load?

Jan 30, 2011

I have a page that has 5 sections. Each section takes about 1 second to render.

Page_Load()
{
RenderSection1(); //1 sec
RenderSection2(); //1 sec
RenderSection3(); //1 sec
RenderSection4(); //1 sec
RenderSection5(); //1 sec
}

I would like to speed up the loading of this page. But at the same time make sure that it don't slow down performance of other parts of web application and also do not crash the IIS.

The are several approaches:

Use AJAX requests. Needs to be MVC style requests to Controller or Web Service. Using UpdatePanel around each section will not work - since if I try to submit refreshes to multiple UpdatePanels at the same time using approach here: [URL], the last request will always win: [URL] Use ASP.NET threads described in answer to right way to create thread in ASP.NET web application. So I would use a separate thread for each call: RenderSection1, RenderSection2, etc... Move the logic that takes up time, usually DB requests, into Application Service class in another DLL or External Web Service. Something like

OrderDTO GetDataForViewOrder(int orderID)
{
}

and use multiple threads in that DLL. This approach seems to provide the best scalability, but also introduces UI details into Application Services layer.

View 3 Replies

Open Source - Increase Development Speed Of Site?

Dec 10, 2010

I am curious to know that how we can make web site development much faster. I am specific about asp.net.

As far as my knowledge is concern, we can make asp.net website development faster by

Using Log4Net - to capture logging information Entity framework - to increase database operation speed.

So, is there other tools also which we can use to optimize the development process?

If you have used in any of your project, whether it was a small project or large.

View 3 Replies

Configuration :: Internet Explorer Gets Slower And Slower Untill Restart?

Sep 28, 2010

CWe've internal application written in ASP.NET, AJAX, SQL 2005. The problem is that sometimes response time (post back) is raising up to 10-30 second for some reson. The only way to make it faster is to restart browser (IE). Then it works really fast.

I have no clue what is causing this. Maybe it's viewstate, browser cache, browser memory clogging - I DON'T KNOW. The only thing I know is when I shut and reopen browser it's working fine. If I leave it open and come back in an hour or two it's really slow.

View 4 Replies

Web Forms :: Have High Speed On Page (with Thumbnail Image) Load?

Mar 23, 2010

Have a look at this link.Web pageIf I want to have this kind of speed in my page load which consists of many thumbnail images. It that image is stored in database or in file system.What measures to take to achive this kind of speed like indexing, denormalization, caching and what else?

View 7 Replies

How To Increase Speed For Loading Of Google Maps Embedded On Site

Feb 3, 2010

Are there any javascripts or other method which can decrease loading time of google maps? Google maps are added by iframe code.

Update: 12 FEB 2010

Can any jquery plugin be useful for me?

View 3 Replies

Configuration :: Slow Initial Page Load Speed And Compile Settings

Dec 8, 2010

Over the last week I've been investigating an issue for one of our clients whereby the initial page load following a deployment of their website takes around 1 minute, resulting in unacceptable downtime for end users. This was happening not only for code deplyments (bin dll's and .config files) but also if there were large numbers of .aspx pages updated. For code deployments it's not an issue, but for aspx updates it is; in this particular scenario, we are making use of a 3rd party content management system (RedDot from OpenText) in which every page of the site is published out as a distinct .aspx page. This means that for this website there's somewhere in the region of 2,400 separate .aspx pages. I realise this isn't an ideal situation but we're working within the constraints of the CMS, and we managed to correlate the instances where the site was unresponsive with App pool restarts, which also corresponded to publications of of .aspx pages.

I found an article by Tess Ferandez [URL] which describes all the reasons why the app pool may restart, and it does seem that if more than 15 .aspx pages are changed then the app pool will recycle and the pages will be re-compiled. Another msdn article [URL] then gave me a few pointers on how to start addressing this problem, and for the moment I've set a flag on the compilation options to prevent batch compilation:

<compilation batch="false">

This means that the initial page load now takes around 6 seconds instead of 1 minute, which is a great improvement. However, I also used the "Compilations Total" performance counter to investigate the number of pages that have been compiled by ASP.NET for my site and was quite surprised that the total number of pages that get compiled peaks at 44, which is odd given that there are 2,400 aspx pages in the site. If the batch flag is set to false, the counter slowly increments by 1 page at a time as you click around on the site; if batch mode is true, the initial compilation takes the number straight to 44 over the course of ~60 seconds. What I'm really struggling to understand is why all 2,400 pages aren't compiled. Does anyone have any inside info on what might be going on as all the documentation I've read seems to indicate that all of the pages should be compiled and this counter should be much higher.

View 1 Replies

Forms Data Controls :: DropDownList Binding - Ways To Increase Speed?

Oct 20, 2010

I have a gridview that displays query results on a reporting page for a "home-grown" CRM application. From the gridview, a link can be clicked which opens a modal window that contains an iframe linked to a "details" page where record specific info can be viewed/altered. On the details page there are 10 or so dropdownlists (ddls) that are bound every time the page is called. The ddls are bound using a method similar to the example below. I am looking for a way top speed things up a bit. The details page could be called 10-20 times in one session and every time the page loads these ddls have to be bound from the same methods but for different records. What are some options for speeding up the load time for this page??

[Code]....

[Code]....

View 6 Replies

Forms Data Controls :: Increase The Speed Of Loading Images In Repaetercontrol?

Aug 2, 2010

I am facing problem with images loading time. In my form I have image server control placed in repeater control. The repeater control every time binds atleast 300 images. When we want to see all the images at a time the page is taking lot of time(atleast 3 to 4 mins) to display. But I need the page should be loaded fast.

The image url is from physical location.And the information related to image is coming from database.

I am using .net framework 3.5 and C#.net as language in asp.net web application.

View 3 Replies

Web Forms :: How To Increase Speed To Populate Dropdown List With Large Amount Data

Jan 11, 2010

I have Sql Table for Products that have ~8000 records. In my web form I want use dropdown list to edit code with dropdown list. This drop down list populate very slow. How to increase speed to populate dropdown list with large amount data.

View 1 Replies

AJAX :: Application Getting Slower And Slower If Use More Time?

Jan 26, 2011

Our application is getting slower and slower if the user using more time... its start as regular website and works fine for some time..once the time is going on the speed getting slower..for one request it is taking more than 7 secs..

One of our Page (which is main one and user needs spent more time in this page) contains 3 formview and one grid view..all are inside 2 update panel and one main update panel.

[Code]....

View 4 Replies

Why Aren't All Controls Initialised At The Event Handling Point Of The Page Lifecycle

Jan 29, 2010

I have a user control embedded in a web part. It has the following snippets of code:

[code]....

Why are some controls initialised and others not? How do I get around this if I'd like to update the Text property on currentPageLabel?

Update:

I've placed breakpoints all the way through the page life cycle and found that nextButton and currentPageLabel are never initialised. The breakpoints were placed at OnLoad, CreateChildControls, goButton_Click, OnPreRender, Render and OnUnload.

View 2 Replies

Web Forms :: Menu Image Length Increase On Website Increase?

Jul 27, 2010

i am working on my master site, and i want to add an image that increases its lenght as the website's length increases...

but im not sure how to do that, i know it's possible because i've seen it done on banners, but im not completely sure how to do it.

View 3 Replies

Slow Speed Of The Page In Localhost

Sep 27, 2010

i see that my site is a little slow in my localhost it is fast but in the server not but i see that videos are displayed without problems so i dont think that is from bandwith but i am not sure which are the main things that make a page go slow? sessions can be one of that?? or connections with database??or something else?

View 8 Replies

Web Forms :: When Published And As Well As During Development, The Execution Speed Of Page Is Very Slow?

Apr 21, 2010

i have developed an ERP in asp.net 3.5. The problem is that when published and as well as during development, the execution speed of page is very slow. I have off the compilation mode in web.config and also get all the data in page load and then filter it using Dataview rowfilter property but i can't get much better speed.

View 5 Replies

Architecture :: Build A Page To Test Online Video Speed?

Sep 30, 2010

I need to build a page to test online video speed.

video will be uploaded in my webserver and there is no flash play in the server. I need to have two players. one is window media player, second is a flashplayer (prefer using google player)

Page layout:

Windows media player

report of speed testing

Flash player

report of speed testing

report requirement

1.length of video

2. total time that spend to load this video (dynamic is better)

3. average download and upload speed during playing the video

View 1 Replies

Web Forms :: How To Load From Secondary (Derived) Master Page Controls In Page Load

Feb 25, 2010

I hv Declared two Master page one Is Base and Derived.. Base Page Load is working but when i hv written load controls in Derived Page Load Using C# it's not working..

View 3 Replies

To Compress JavaScript Files With GZip To Speed Up The Page Loads Of Site?

Mar 24, 2010

we're looking to compress our gargantuan JavaScript files with GZip to speed up the page loads of our site. I know this can be done through IIS, but I can't seem to find a simple step-by-step guide on how to implement it.We're running IIS7.5 on Windows Server 2008 R2.

View 2 Replies

Visual Studio :: What Is The Difference Between Designer Classes And T4 Template Generated Classes

Jan 11, 2010

I am new to LINQ. when we drag tables we get a dbml file and designer file.

For example DataClasses1.dbml and DataClasses1.designer.cs.

Once we have them then we can start using our LINQ Queries.

In my company project I do not see this designer files and instead there are .tt files which were used as templates to greate ABC.generated.cs files. Is this same as designer class?

View 3 Replies

C# - Class Structure With LINQ, Partial Classes, And Abstract Classes

May 17, 2010

I am following the Nerd Dinner tutorial as I'm learning ASP.NET MVC, and I am currently on Step 3: Building the Model. One part of this section discusses how to integrate validation and business rule logic with the model classes. All this makes perfect sense. However, in the case of this source code, the author only validates one class: Dinner.

What I am wondering is, say I have multiple classes that need validation (Dinner, Guest, etc). It doesn't seem smart to me to repeatedly write these two methods in the partial class:

[code]....

This doesn't "feel" right, but I wanted to check with SO to get opinions of individuals smarter than me on this. I also tested it out, and it seems that the partial keyword on the OnValidate method is causing problems (understandably so). This doesn't seem possible to fix (but I could very well be wrong).

View 1 Replies

Telerik - Increase The Performance Of Page?

Dec 2, 2010

We have one page which is about 300 KB after compression of viewstate. It's loading very slow. We are using telerik tabstrip. There are 8 user controls being loaded for this tab. Is there anyway we can improve the performance of this page?

View 5 Replies

Mvc 2 Website Much Slower On IIS 7.5 Vs Built-in Server?

Jul 13, 2010

I am taking some time to learn how to develop asp.net mvc2 websites, but I'm used to working directly off IIS instead of the built-in web server that uses the random ports when you hit F5.

but I've noticed that using the built-in webserver, requests fly and are immediate. I am using only the default project with the Home and About pages as it comes out of the New ASP.NET MVC 2 Project settings, no database connections, nothing beyond the base install...

but when I setup the IIS website and pointed it to the same directory, each request takes at least 3-5 seconds to complete, sometimes more. this isn't just the "load" on the first request. EVERY request takes this long on IIS. but if I F5 and test the project once again, everything zips and the responses are immediate.

View 1 Replies

Is WPF Development Faster Or Slower Than Classic

Mar 30, 2011

Are you experienced with both ASP.NET and WPF coding? If so, I'll be grateful if you'll share your experience, We are estimating a 100-screen WPF project. Our estimation methodology involves characterizing the complexity of each screen. We then apply a standard number for the development time, based on the complexity and the technology. The standard number is based on the developer being good, not a super-star.

For example, here's a screen:

[Code]....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved