Configuration :: Finding Best Practice For Making Sure That Slow Pages Don't Affect Other Pages?

Aug 31, 2010

Page B - loads slowly and needs to do some CPU-intensive operations on the web server.

I noticed that when someone is loading Page B, then Page A also loads slowly. This is even worse if multiple users are loading Page B at the same time. Page A won't finish loading until Page B is done.

Is there a best practice for making sure that Page A can still load quickly? Maybe a config setting or IIS setting that I need to change from its default? With 2 users loading Page B at the same time, the web server CPU usage only gets to 30% so I suspect it might be something I can tweak with the settings.

View 1 Replies


Similar Messages:

What's Standard Practice To Make Sure One Slow Running Page Doesn't Affect Other Pages

Aug 31, 2010

Page A loads very fast; Page B loads very slowly and does some CPU-intensive things on the web server. I noticed that if someone is loading Page B, then Page A also loads slowly - for ALL users. What is the standard practice for making sure this doesn't happen? If multiple users are loading Page B at the same time then Page A is ridiculously slow. Is there an IIS setting, web.config setting, or hardware configuration I could use to make sure that the fast-loading pages aren't bogged down by other pages that need more time to load?

View 1 Replies

Web Forms :: Master Page Changes Affect Other Pages

May 27, 2010

I have had this problem for a long time now and have just dealt with it but i am at the point finally that i need a solution or i need to look at other options besides visual studio for web development. it is way too time consuming now to have to worry about changing one thing and then having to search all other pages to be sure they are still fine. So this is what i have: visual studio 2008 pro sp1 asp.net web application targeting .net framework 3.5

a master page with several tables. i have broken out into several tables because it seemed to help the issue. the tables are all stacked on top of each other, no special positioning. the tables seem to be fine for the most part but if i make changes to the table which contains the content placeholder, i will find other pages have formatting incorrect, such as backcolor of text in different areas changed, bulleted lists are overlapping. when navigating to some pages, one of the tables i have at the top that is not related to the table with the content placeholdder, will not show the background picture, and it will show either different font size of the menu that is in the table with the content placeholder, or bold font on other buttons text, such as link button, on the master page.

so they seem to affect each other. changes on the master page affect the other pages and when displaying the other pages, whether in a browser in the IDE, parts of the master page will be affected. this is only on certain pages and they are never consistent. they will stay consistent once changed, but each time i make a change to the master page, the pages which are affected are not consistent. However, it used to be a issue that was always consistent with certain pages i kept in their own folder. i had taken the time once to go through them and make fixes and after that i didn't really have any more issues. but now they are being affected again as well as others.

i had started using link buttons instead of hyperlinks because it seemed to not affect the other pages when formatting them. for instance i would highlight the backcolor of a link with yellow, and other pages text in random places would show with the same yellow backcolor. it does not seem to matter what any of the affected text is in whether in p or div, it doesn't seem to follow a pattern other than sometimes it does seem to favor text that is bold. i think in some ways it has to do with new content pages i add to the site. those seem to be the ones that are usually affected for sure. but there are always others and i never know for sure which ones they will be.

View 3 Replies

Configuration :: Dev Server Doesn't Turns On Pages Automatically When Debug Or View Pages Of Site In Browser

Sep 13, 2010

When i'm trying to debug or view pages of my site in browser asp.net dev server doesn't turns on pages automatically and when im trying to go by url it throws me an error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Не удается найти указанный файл
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.DoLaunch()
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.OnLinkClickedHyperlinkLinkLabel(Object sender, LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)............................

View 7 Replies

Why CKEditor Slow Down Pages / How To Make It Fast

Feb 17, 2010

I have used CKEditor in my ASP.NET pages. But after than, that pages are very slow. Is it possible that it is caused by CKEditor?

View 1 Replies

Log Slow Loading Pages / How To Optimize Speed

Jan 11, 2011

Do you know of a library/httpmodule for logging slow loading pages (perhaps for a specific treshold) in an ASP.NET environment?

Google did not yield any results.

It would not be too hard to implement on my own, but why re-invent the weel.

View 4 Replies

AJAX :: Using Pages Extremely Slow Load?

Feb 18, 2010

So i'm new to AJAX and just installed the AJAX toolkit.

When i have tried to used any of the object there my page are really slow, it like the server is forever to compile the site and when that is done the browser shows it in a flash.

You can see here :

[URL]

This is not a problem when using only ASP.NET.

When i debug in VS2008 i can see that is looking for some random files when compiling like C:AjaxBuildAjaxServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs and alot of other stuff, it goes through alot of setting there and i think that is the hold up, why it's so slow.

I have Sp1 installed, running Windows 7 64bit.

These pages are very small and standard. I basicly drag a toolkitscriptmanager, htmleditor, textbox and two buttons to the form. There isnt more.

This is the code for the first page :

[Code]....

The host has AJAX support and has installed SP1 for .NET.

View 8 Replies

Slow Rendering Of Pages Due To User Controls?

Mar 14, 2010

How would you troubleshoot a page that is rendering slowly in ASP.NET?

This issue is happening on only specific pages with a few user controls. Other pages work fine. Tracing has clarified that the issue is happening between "Begin Render" and "End Render".

View 3 Replies

State Management :: Making Object Available To Multiple Pages?

Feb 13, 2011

I have created a object in ASP.net C# that is a collection (arraylist) of Arrest Warrant objects. How do I make that object available to multiple pages?

View 6 Replies

Web Forms :: Performance Slow / Being Load Most Speedy Then Pages Developed?

Jan 19, 2010

I often Observed that pages developed in simple asp is being load most speedy then pages developed in asp.net ,

View 5 Replies

V4.0 IIS 7.0 Integrated Slow / Certain Pages And It Seems To Compile Again Next Time Go That Page Its Very Fast?

Feb 24, 2011

We recently migrated to v4 of .net. We are running iis 7 in integrated mode. When the site first starts its slow. I get that - it compiles for the first time. The odd thing is then we will go to certain pages and it seems to compile again. The next time i go that page its very fast. Nothing exceptional with the second page - but once that is hit the rest of the site is fast.

View 1 Replies

Web Forms :: Finding The Controls In Content Pages?

Feb 21, 2011

i have page which is derived from nested master page. Below is the hierarchy

Master.Master
Master2Column.master
Bronze.aspx

The aspx page is derived from master2column and which in turn is derived from master.master.

Now i need to find a control in bronze.aspx page from master.master.cs page. This is where i am getting lost.

My master.master has the contentplaceholder1. Below is my master2column

[Code]....

And the maincontent is in bronze.aspx page. Now i need to find a label called lblTo.

I tried this one

[Code]....

and few other options too. But still i am getting "Object reference not set to an instance of an object".

View 2 Replies

Finding Free Website For Uploading Testing Pages?

Feb 3, 2010

what free website can i upload my asp.net pages for testing?

View 4 Replies

VS 2005 - Finding IP Address Of The Person Who Is Viewing Pages

Feb 1, 2011

I want ip address of the person who is viewing my pages. I am using following code. But i am getting :::1

currently using code :-

string strHostName = System.Net.Dns.GetHostName();
string ip = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString();

what is wrong or what i need to change?

View 6 Replies

Compiler - Automating Finding Compile Errors In Pages?

Jan 20, 2011

I have an ASP.NET website where the pages call a few components in DLLs. I need to change the signature of a method in the component, and short of doing a text search, don't know if this will break any pages or not. IMO, this is the weakness of web programming -- you don't get the benefit of a compiler telling you about syntax errors.

But it doesn't need to be so. Does anyone know if there is a way to run a spider over a website watching for compile errors, or perhaps some tool that would compile all the .aspx files in a folder structure looking for compile errors?

This is merely for syntax checking -- not to actually pre-compile the website.

EDIT It looks like aspnet_compiler is being recommended. I don't use Visual Studio projects for the website -- it's grown over time with my own templating system (back before Master Pages were available). So something that would run aspnet_compiler over all the files in a folder might work...

View 3 Replies

Web Forms :: Finding Control Id And Setting Properties In Other Pages?

Oct 23, 2010

im using a webusercontrol (hide.ascx) it has 2 buttons btn_hide,btn_expand

and in my other forms of all like(products.aspx)customers.aspx,orders.aspx

im using a panel conrol(pnl_products) where in im placing all the input controls.

i want to find the panel control in hide.ascx page and to set that

panel.visble=true/false property in this page.

View 2 Replies

VS 2005 Finding Alternative To Declare Output Cache In All 200 Pages

Jan 20, 2010

I create a menu control in a user contol, named as RightUserrControl.ascx.

and i kept this RightUserrControl.ascx in nearly in 200 pages.

every thing is working fine , but when ever i am going to any page the page loading is very slow, nearly each page is taking 1 minute to load.

set caching for the user control, if this is the case , do i need to declare output cache in all 200 pages or is there any alternative way to resolve this issue.

View 8 Replies

Forms Data Controls :: Finding Pages In A Paged GridView

May 27, 2010

I have a gridview that is a directory of people with about 50 pages

How would I make another gridview that had first row with 26 columns, 1 for each letter of the

alphabet and second row with the first page that has last names that start with that letter.

View 6 Replies

AJAX :: Finding Control Toolkit Modal Popup Using JavaScript In Master Pages

Nov 15, 2011

I am using AJAX Modal Popup extender with Master Pages. Since the ID of the Modal Popup Extender changes due to Master Page I am not able to find it.

View 1 Replies

Web Forms :: VS2010 Master Pages / Everything Shows On The New Pages Except The Jpeg Image Logo?

Sep 5, 2010

i'm developing a site using VS2010 and with my windows vista busniness OS. i used the default VS2010 wizard for new web application to create it. included a folder in the root directory and created new aspx pages to derive from the master page in the root directory of my site. everything shows on the new pages except the jpeg image logo in the master page. But other aspx pages i created in the root directory shows every thing fine.

View 1 Replies

Web Forms :: Master Pages - All My Pages Inherit From The Base Page Class

Jun 21, 2010

Currently I'm doing common functionality required throughout my site inside of my masterpage. What I want to do is move this functionality to a BaseClass so All my pages inherit from the Base Class. However, I'm not sure how to set this up interms of c# code with regards to Using a Base Class and then having a masterpage applied to my aspx pages that i create.

View 5 Replies

State Management :: Maintain Query String Parameter In All Pages - It Gets Lost In Subsequent Pages

Aug 9, 2010

In my Application_BeginRequest I have code that gets query string value ?c=FR or ?c=US and store it in cookies.Based on query string value I have either US or FR,locale is selected from locale table.If ?c=FR then locale will be fr-FR and if it is US then locale will be en-US.My code is below.

void Application_BeginRequest(object sender, EventArgs e)
{
LocalizationInfo loc = GetLocalizationInfo();
if (Request.Cookies["Localization"] == null)
Response.Cookies.Add(new HttpCookie("Localization"));
Response.Cookies["Localization"]["Country"] = loc.Country;
CultureInfo objCI = new CultureInfo(loc.Locale);
Thread.CurrentThread.CurrentCulture = objCI;
Thread.CurrentThread.CurrentUICulture = objCI;
}
public static LocalizationInfo GetLocalizationInfo()
{
string countryCode = "";
string sLocale = "";
if (HttpContext.Current.Response.Cookies["Localization"]["Country"] != null)
countryCode = HttpContext.Current.Response.Cookies["Localization"]["Country"];
if (!string.IsNullOrEmpty(HttpContext.Current.Request.QueryString["c"]))
countryCode = HttpContext.Current.Request.QueryString["c"];
if (countryCode == "")
countryCode = "US";
sLocale = HertzRent2Buy.DataProvider.ListData.GetLocale(countryCode);
LocalizationInfo ret = new LocalizationInfo();
ret.Country = countryCode;
ret.Locale = sLocale;
return ret;
}
public struct LocalizationInfo
{
public string Country;
public string Locale;
}

Now when I run the project and in query string I set [URL] then for the very first page(home page itself) it shows me French translation,but on subsequent page,that query string parameter ?c=FR is lost and hence it shows be English translation not French translation since it does not pickup French resx file.If I manually append ?c=FR in subsequent page then it shows the French translation.Is there is way how I can make that query stringparameter available in all pages.Structure is there to hold Country and locale variables. In all pages I am calling GetLocalizationInfo() method as follow

LocalizationInfo info = some.DataProvider.Globalization.GetLocalizationInfo();

And I create instance info to pass locale and country as parameter. GetProductDetails(id,info.Country,info.locale). why my query string parameters get lost on subsequent pages.

View 1 Replies

Caching - How To Turn Pages Into Static Pages As Part Of The Build

Dec 29, 2010

I have a few pages that are completely static. They only change at build time. But they are expensive to create. For the ones that are kind of expensive to create, I cache them for very long times using the ASP.NET output caching. But for one page, I really want it cached forever and ever or until the the next build.

What is the most expedient way to make this happen? Is there a build in feature that achieves this or a 3rd party tool?

(yeah, for the moment I plan to do the "view source" and copy paste thing, which isn't a very elegant build step)

View 2 Replies

JQuery :: Menu Does Not Work For Pages Which Are In A Separate Folder Pages

Oct 24, 2010

I have added a jquey menu in my master page its working fine for those asp.net pages which are at the same level as master page.

But this menu isn't working at all for all of those page which aur in Editor's and Admin's folder. In these pages menu is displaying as simple html menu and unfortunately no jquery effect is shown on it.

I'm very confused why this menu isn't working for the pages which are in a seprate folder while the master page is added at the root level outside of all these folders.

View 16 Replies

AJAX :: Set Title For Content Pages When Working With Master Pages?

May 17, 2013

How can we add titles to each content pages which inherits from mater pages in asp.net?

View 1 Replies







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