tuning...performance

I am using one asp web page with code behind and using C#. The page is very
slow when first hit. some time doesnt display but if I wait and request the
page it is displayed. What could be the wrong. Do I missing any caching,
performance tuning. Also I noticed that when I request the page it goes
twice into Page_Load?

Advertisements

The going into Page_Load twice means you have that event handler added
twice. Most likely it is because you are explicitly adding the handler and
have AutoEventWireup set to True. It's not related to the issue above.

"abcd" <> wrote in message
news:...
>I am using one asp web page with code behind and using C#. The page is very
>slow when first hit. some time doesnt display but if I wait and request the
>page it is displayed. What could be the wrong. Do I missing any caching,
>performance tuning. Also I noticed that when I request the page it goes
>twice into Page_Load?
>
> thanks in advance
>

Advertisements

"Marina" <> wrote in message
news:%...
> This is the asp.net process loading up your application. It's normal.
>
> The going into Page_Load twice means you have that event handler added
> twice. Most likely it is because you are explicitly adding the handler and
> have AutoEventWireup set to True. It's not related to the issue above.
>
> "abcd" <> wrote in message
> news:...
>>I am using one asp web page with code behind and using C#. The page is
>>very slow when first hit. some time doesnt display but if I wait and
>>request the page it is displayed. What could be the wrong. Do I missing
>>any caching, performance tuning. Also I noticed that when I request the
>>page it goes twice into Page_Load?
>>
>> thanks in advance
>>
>
>

That was a guess, because that is the most common reason why it happens.
Obviously, can't tell you much else since you didn't post any code.

"abcd" <> wrote in message
news:%23%...
> AutoEventWireup false on my page...
>
>
> "Marina" <> wrote in message
> news:%...
>> This is the asp.net process loading up your application. It's normal.
>>
>> The going into Page_Load twice means you have that event handler added
>> twice. Most likely it is because you are explicitly adding the handler
>> and have AutoEventWireup set to True. It's not related to the issue
>> above.
>>
>> "abcd" <> wrote in message
>> news:...
>>>I am using one asp web page with code behind and using C#. The page is
>>>very slow when first hit. some time doesnt display but if I wait and
>>>request the page it is displayed. What could be the wrong. Do I missing
>>>any caching, performance tuning. Also I noticed that when I request the
>>>page it goes twice into Page_Load?
>>>
>>> thanks in advance
>>>
>>
>>
>
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!