|
Hi All,
How to improve the .net application performance from application point of view irrespective of database changes.
Regards,
Vijaya
vijaya
|
|
|
|
|
|
Will Caching increase the memory usage in server ?
|
|
|
|
|
There are many, many ways. But first thing you should do is some profiling... to find what takes most resources.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Actually i don't know which one is taking most resource utilization but by ACT tool i came to know my application was using 100% resources of webserver.
please give me suggestion to minimise this %processortime
vijaya
|
|
|
|
|
|
My sides are splitting.........
|
|
|
|
|
Ctrl + S !
Ctrl + S !!
Ctrl + S !!!
Mehedi Hasan
|
|
|
|
|
Ctrl+F1 for specific help
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
After he trips from the floor, how about CTRL+Z, CTRL+Z, CTRL+Z, CTRL+Z?
|
|
|
|
|
|
Hello Everybody,
I am unable to get that thw opened page is secure or nonsecure.
Actually i want know that page url is starting with http or https
regards
Rahul
rahul saini
|
|
|
|
|
u can use it..
url = Request.ServerVariables("HTTP_REFERER")
in url u will get whole url from addressbar.
now u can check it. whether it's starting from http or https
Thanks,
Sun Rays
|
|
|
|
|
Hello Sun Rays
Thanks for rplying me.
the code you have written is not working
Can you please explain me more clearly
Thanks
Rahul
rahul saini
|
|
|
|
|
That method may not work as the referrer isn't always passed by the browser (the user can disable it if they want) and it wont exist if you type the address directly into the address bar.
Check out my earlier reply on the Request.Url.OriginalString method.
|
|
|
|
|
Rahul,
u try this
write this on your page load event.
Dim str As String
str = Request.Url.OriginalString
in str it will give u whole path of addressbar.
Dim http As Boolean
If str.StartsWith("http:/") Then
http = True
ElseIf str.StartsWith("https:/") Then
http = False
End If
Thanks,
Sun Rays
|
|
|
|
|
Hello Sun Rays
Issue is solved
with
url = Request.Url.AbsoluteUri.ToString
Thanks
RAHUL
rahul saini
|
|
|
|
|
Try parsing the Request.Url.OriginalString path
|
|
|
|
|
Hi All,
I have a page in which javascript is used for validation of client side. There is a textbox which bydefault invisible. When some one select a checkbox that textbox appears. Now when that checkbox is unchecked the javascrit cant recognize the textbox by getElementById.
Can any body help in that wht shoud I do for that.
Thanks in Advance.
|
|
|
|
|
hi,
if u are using asp.net textbox then from page source u can see that textbox's id will be changed. so when u are trying to find textbox from javascript find id by that new id which is coming in page source in html page. hope it will help.
Thanks,
Sun Rays
|
|
|
|
|
Can u plz give me example of that. How can i find that id. That will be same , i think it will not change.
|
|
|
|
|
in java sript write this.
var test = document.getElementById('ctl00_testLBL');
var testValue = test.value;
testLBL = my label's ID
so it will changed to this 'ctl00_testLBL'.
so one run your application and from html page source see label's ID. it will similar to this......
Thanks,
Sun Rays
|
|
|
|
|
Thank u very much for ur help.
|
|
|
|
|
Are you setting the visibility on client-side or server-side with AutoPostBack for the CheckBox? Controls with Visible = false set on the server-side do not exist on the client-side.
|
|
|
|
|
I m making visibility true on server side.
|
|
|
|