While Launching A Simulator It Takes More Time To Start?
Jan 20, 2010here .aspx file in one website is communicating with .asmx file in another website so its taking some time to displat the simulator.
View 2 Replieshere .aspx file in one website is communicating with .asmx file in another website so its taking some time to displat the simulator.
View 2 RepliesIn development, our Asp.Net 4 website takes a fairly lengthy time to start after the project libraries are built
We do a fair amount of population of statics etc, but not enough to justify the length of time it takes the app to come up (probably 3-4 minutes)
We aren't building the website, just the libraries, and batch != true in the compilation element in the .config file.
I will try log some diagnostics, but any other pointers would be useful
I want to build an oscilloscope that, over them web, the user can practice on and the scope looks real (ie: has "grass", etc).
View 1 RepliesI have a solution I have been working on over the last few weeks with a 3 or 4 projects in that used to build and begin debugging in under 10 seconds.The solution contains 3 dll's and 1 mvc project.
As of today, it takes about 2 minutes to start debugging, it keeps pausing on "loading symbols for ccpCodeProvider.dll".
I'm debugging on the internal vs development server, and I haven't changed anything since yesterday?I haven't ever used symbols before, and I'm not trying to debug the framework or anything, I just want my stupid web project to run.I created a new solution from scratch and added a random console app, and that also takes forever to debug.
I am working on a ASP.NET 2.0 application. It is hosted on IIS 6 on Windows 2003 server.
Few pages have jpeg images (around 50 images and 50 KB each). It takes long time to load the page for the first time. But when i open the same page for the second or third time it is faster.
why does a web page take long time to load for the first time?
Is it cached somewhere when it loads for the first time? Do we have any control over it?
I just recently installed VS 2008 on my workstation. I tried creating a simple web site just to check if the installation was fine. The project compiled without error but when I tried running it, the Macromedia Dreamweaver software is being launch. It tried it several time and it's all the same.I remember during the installation there was an option that was displayed asking me to select Designer or Coder. Since the default is Designer i just click next.
Is there a way to stop launching dreamweaver from VS 2008 every time i try running the web project? Is because I selected "Designer" during the installation?
I need to do to the following:
Find if the current time falls within hourly ranges  and display the start hour and end hour of that range in labels.
Examples:
 If the current time is 8:46am, label startTime would return "8am" and label endTime would return "9am"
If the current time is 10:01pm, label startTime returns "10pm" and label endTime returns "11pm"
If the current time is 12:59am, label startTime returns "12am" and label endTime returns "1am"
I have been working with the C# TimeRange class but not getting what I need.
Our business case requires that a Start Time and End Time must be defined for each Organization involved in the business model. For example; some organizations have their working hours from 8:00AM to 5:00PM and others from 9:00 to 6:00PM. While creating a new Event on our calendar these should be queried from the database (StartTime and EndTime) and setting these as default. My questions are:
1) How should I save these times since DateTime requires a Date in front of it and there's no Time column format on SQL Server (Varchar? Number?). If using one of these types how to I concatenate these to a DateTime variable?
2) If the column should be DateTime, how do I concatenate it to replace the column's Date with Today's date and replace the Time with the time specified for that? Let me be more clear:
Default values saved in the database: StartTime = "2010-01-01 8:00AM" EndTime = "2010-01-01 5:00PM" In my code after querying, my local variables would be populated and replaced by: OrgStartHour = "2010-03-26 8:00AM" and OrgEndHour = "2010-03-26 5:00PM"
[Code]....
The code above works but I have no idea on how to replace/concatenate the "2010-01-01" with today's date while keeping the "8:00 AM" on it. :)
The SQL below takes at least 7 second to run and may even time out.
There are a lot of records over a million in each of the two tables being inner joined and then being searched on.
I have tried putting an index on the create_date# and rdat# hoping that sql would not have to access all the records
But it seems to have made no difference, so I have now deleted those indexes.
I realise that manipulation of strings comes at a price but I can only work with the data I have been given.
Do you have any tips or trick that I can use to optimise this code?
-- Description: Finds all customer infomation that matches at least two params
-- =============================================
ALTER PROCEDURE [dbo].[usp_FindMatchesInDAProspect.bak] [code]....
I have a aspx page which contains 6 user controls which will be displayed when the user clicks on any button using show model pop up extender. My page rendering takes more time. it taked 3 minuits to load the page. If i debug the page its traveling to page load of all the user controls. Its not taking more time to fetch the data from database but its taking time to load the page. Is there any way to improve the perfomace .Is there any place where i have to look into.I am using VS 2010 and c# .
View 2 RepliesI have two text boxs for time input. I'm trying to compare two time with format : 10:14:23 AM. Then End-TIme must be greater or equal to Start-Time. The ASP.NET CompareValidator doesnt offer the time type, so I'm thinking of using the Customvalidator. I never use Customvalidator to compare the two text boxs for time input before. How to compare the two time?
View 2 RepliesI'm copying one datatable into another like this:
temporaryTreeData = treeViewData.Copy();
How could I figure out how much time it takes for the copy to complete?
PrincipalContext.validatecredentials(username, password);
Takes more time and high cpu usage to validate.
Is there any alternative way to validate credentials or any way to reduce the load and time?
I am a PHP MYSQL person but now i have got webiste to do it ASP.net.I kow nothing about ASP.NET. INitially i was thinking of ASP.NET as a programming language but now i now its not , i really don't know what it is.Someone told me that i have to do c sharp to build the website. I i have to display simple data from database how much different is c sharp from php.Does it has all function like php to echo stuff etc
View 4 RepliesI have table for past four years. It had a records for around 10 Lacks it was taking lot of time to execute so i removed recordes from the table. Table size was reduced to 29 thousand. Still when i execute a query from my application it takes more than 2 minutes to return.
View 4 Repliesi have 4 dropdownlist controls in a page. each have more than 6000 records. when retrive the records from DB there is no issue and taking very less time. after getting the records it takes too much time to display in the the page. here no problem with db retriving.. i guess problem is with page weightage. how can i solve this problem..
View 3 Repliesif I hit the .aspx page on the browser and if the page takes time to load say may be 25-30 seconds then what are the steps to be taken to make sure that the page loads quickly. In other words what could be the reason for this slow loading.
View 3 RepliesI have 10 000 000 words, I need to use
[Code]....
to search for specific word. It is very quick in finding the word, but when loading that amount of data to my dictionary it takes a while. Could you say what is the efficient way deal with such data? This is not homework or work related, but it is my personal project.
One of my web pages populates a droplist with about 60k items pulled from SQL Server, and this operation takes upwards of 10 seconds to complete. Are there some tricks or optimizations I can try to improve performance? I'm using a SqlDataSource configured as a DataReader.
View 5 RepliesI have a tree-view which doesn't have any events and AutoPostBack property is also false. But whenever the treeview node is selected,its taking a lot of time...The tree view is placed inside update panel...I have an update progress and selection of any node shows the progress for atleast 5-6 seconds.
The code is as below :
<asp:UpdatePanel ID="updatePnlListBoxes" runat="server">
<ContentTemplate>
<table align="center">
<tr>
[Code]....
The script manager is in Master page.
I have developed a web application in .net & if the web application is idle for some time & after that if we perform some action on that web page then it doesn't respond.
View 1 Repliesi am having the problem that i am using datareader to get contents in my asp.net page.But the page takes a lot of time to load.How to decrease the loading time of the apage and increase the performance of my page.
View 1 RepliesProject
I'm running a single page (default.aspx) web site in Visual Studio 2010. I have a few other projects in the solution, but they're all taken out of the build queue at the moment. I'm using Visual Studio Development Server as the web server (I haven't tried IIS yet). I'm using the HTML5 Boilerplate from [URL] I'm testing in Chrome and IE8
Problem
Visual Studio 2010 is outputting "Debug" information to the Output window every time I refresh my browser. Whilst this isn't a problem in itself, it seems to be extremely slow in doing so... it takes around 4 seconds to show the page in full from initial refresh.
I've noticed that the "Script Documents" folder appears in my solution view, and some files (notably JS files) seem to take a while to show up. I've tried removing all the JS and CSS file references from my page, but it still does it.
So, to troubleshoot I've created an index.aspx page with no content apart from the generic ASP.Net template code, set this as the start page, but it still takes just as long to load up as the other page.
As a last resort, I've created a new project and tried it with no changes to the default page - still the same, takes a few seconds to finish loading in either browser.
The strange thing is that this happens even when I stop debugging in Visual Studio and browse directly to the URL on the ASP.NET Development server.
Output Windows contents when page is refreshed
[Code]....
I've dynamically made an ImageButton, the problem is when I hover the Image, it takes a few seconds to load the hover image (imgHover.png in my code)..
Is there a way to preload the images or something?
heres my code:
[Code]....
I am dynamically creating a table of checkboxes on my test.aspx page. The dimensions (row and column count) of the table are determined by querying the database. In test.aspx page, I do the following:
<script language="C#" runat="server">
protected void Page_Load ( object src, EventArgs e ) {
//Query the database to get the data for rows and columns
CheckBox[] chkBox = new CheckBox[rows * columns]; //creates a collection of checkboxes
//Iterate over the query set in a double for loop to create dynamic checkboxes
}
</script>
Right now I have the number of rows=20 and columns=10, but it can increase (with the columns more likely). I used the Net tab in Firebug to ascertain the time taken by different events and found that GetTest.aspx is taking close to 4 minutes, which is too long a time to wait. Is there a way to being down the page load time? Is my approach to create dynamic check boxes correct?