|
Hi,
You are absolutely right dudee.....
Saurabh
|
|
|
|
|
Can you tell me if the following is correct?
Between your two scripts that you supplied, you are saying the following:
<pre>
1. To get started, I will not be using IIS to test the web application. I will be using the default web server in visual studio 2010 called cassini. Here is where I obtained the opinion from:
From the "http://msdn.microsoft.com/en-us/library/aa983445.aspx" url, I found that you recommend the settings would be set to the following:
a. <UseIIS>False</UseIIS>;Use Local IIS Web server -Specifies that Visual Studio will test your application on the local IIS or IIS Express Web server instead of the Visual Studio Development Server.
b. <AutoAssignPort>True</AutoAssignPort>;Specifies that Visual Studio should select a random HTTP port on the development computer to send requests to. This HTTP port is used to test the Web application project by using the built-in Visual Studio Development Server.
c. <DevelopmentServerPort>2566</DevelopmentServerPort>;- I am using the default development server path.
2. I will go to the control panel-->add/remove programs and then delete IIS that was installed by the network administator.
3. I will then go to the general windows program and type in the command scipt you gave me. This will properly install iis 7/6 to work with my visual studio.
From the above, after I run the PkgMgr.exe, my visual studio.net will be tied into iis.
From what I can gather, I will be still running my visual studio 2010 with the default web server cassini. However when I want to actually connect my visual studio.net 2010 to working with IIs, I will need to change my settings to the following:
<UseIIS>True</UseIIS> <AutoAssignPort>False</AutoAssignPort> <DevelopmentServerPort>3358</DevelopmentServerPort> <DevelopmentServerVPath>/SUPPORT</DevelopmentServerVPath> <IISUrl>http://localhost:8080/support</IISUrl>;
When I can ready to deploy the application to production, I will need to do the comments you made below:
As far as programming IIS7 server, set the root path to the folder you put the project in in Default Web Site. Then on the far right, set the bindings to port 80, click on Default Documents, and enter the default document name, usually Default.aspx</pre>
|
|
|
|
|
i need to develop a remote desktop application for accessing machines through internet.please suggest ur ideas...
|
|
|
|
|
My ideas...
Hiring a team of really good developers. Get a few million dollars in funding. And schedule a release in about a year.
Failure is not an option; it's the default selection.
|
|
|
|
|
Don't reinvent the wheel. Just use an existing product.
A good free one is UltraVNC[^]
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Want to resize image on client side before uploading on server in asp.net c#...
|
|
|
|
|
Do you mean you want to allow the user to crop the image, or do you mean that they should be able to change the physical size of the image? The two are different, and how you would solve them are different too.
|
|
|
|
|
You normally would not do this. There are 3rd party tools that can do this but they will be server side. You want the file on your server to then do processing on it.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
For this you can use the tool from Ajax Control Tookit as Resizeable Control...
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
how to write a code in asp.net
1. editable button to goes on to update button create after the click
|
|
|
|
|
Please read a book on ASP.Net. Also, please ask a clear question.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
clicking a button will take you to button cclick event. you surely need to study asp.net beginner books.
|
|
|
|
|
how convert some algorithm to c#..
please give me some relevant links.some direction to achieve this goal.
|
|
|
|
|
Algorithms are just general guides,or set of steps for solving a particular problem.It is difficult to convert in code by software.
If any software convert algo to code then it requires some own syntax to define algorith then it will converts intio code.
|
|
|
|
|
You will have to re-write the code in C#. Please ask a specific question if you get stuck on a particular line of code.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
can any one provide me code for videos slide show
|
|
|
|
|
This is not a clear question so please search for 3rd party tools or if you are using ASP.Net search for jQuery tools.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I have some charts taking a long time to load (up to 15 seconds). I would like to calculate the time to load if possible.
I already have a feedback to the user using javascript and ajax extensions, but I cannot find any kind of "feedback" from the chart control so that I can display a "6 seconds to finish".
Is there any way to calculate/estimate this?
|
|
|
|
|
Well the chart control just makes a JPG or PNG image, that you reference in HTML in which your server sends back to the users web browser for display.
A well written chart program can generate an image in like 1/10th of a second. So your slow times must be from not closing a Paint handle, SQL handle or something like that, and your waiting for something to timeout. Or you forgot to destroy an object somewhere.
The chart control is just a wrapper to the paint or GDI classes in asp.net, I'm not aware of any feedback handle in the chart control.
Step through your program using debug, and set some breakpoints.
|
|
|
|
|
I'll check it out, thanks!
|
|
|
|
|
I've just tested, and when populating a small amount of data it runs fast, however when populating more data the process slows down. The SQL query runs fine, my x/y plotting runs fine. But after my methods are finished it slows down. It must be something with generating the picture....
FYI: I'm generating a chart based on a timeline with appr. 10000 rows with the X/Y values in two separate columns on each row.
Any suggestions?
|
|
|
|
|
Kaare Tragethon wrote: But after my methods are finished
Could you elaborate on that, Which methods,
the gathering and packaging of data,
or plotting of chart values?
or the final write to create the image file to the disk drive
Did you make a thousand variables, that the garbage collector has to clean-up at the end of your function? garbage collection takes lots of time to complete. Since your writing in an high level language wrapper, you don't see the extra tasks and time needed to cleanup memory at the end.
How big is the final image file size?, over 5 megs?
Are you writing a huge PNG at 24 or 32 bits, instead of a compressed JPG?
A nice chart is something that is 640 x 480, easy to read, no scrolling.
Or you can change the program to create each record 1 by 1, and loop it to create 10K charts, just kidding, but serious about breaking it down into smaller pieces.
You might of run out of memory RAM and threads, and the computer is doing a huge disk swap to complete the job. You may need to do some serious optimization on your code there.
|
|
|
|
|
I mean that it doesn't take long to do the following:
command.CommandText = "SELECT TimeStamp, " + siloNo + " FROM SilosGraphHistory";
UxChartSiloHistory.DataSource = command.ExecuteReader();
UxChartSiloHistory.Series["UxChartSeriesSilo"].XValueMember = "TimeStamp";
UxChartSiloHistory.Series["UxChartSeriesSilo"].YValueMembers = siloNo;
UxChartSiloHistory.DataBind();
It exits my method (that fetches data from the SQL server and binds them to the chart) in milliseconds. Then, after that, I'm unable to find out why it takes so long... Do you have any tricks to detect where the time goes??
The final size when saving it to my desktop is just 30kb.
I am indeed a beginner in ASP.NET and C# so please have that in mind, and thank you very much for taking the time to answer my questions....
|
|
|
|
|
I didn't know you were binding, that's different. I thought you were using pure code to build your chart. I'm not sure if you have downloaded the sample project that shows how to make various charts. In the sample project, they are combinations of code behind and <asp::chart> objects, and use small xml files for data to feed the points, so that's why they run so fast. The sample projects are a good way to learn how to build a faster chart object.
I haven't used a bound object in over 7 years, so I'm not qualified for assisting you. There good for small websites, but not practical for hi volume use because of the amount of resources needed, and speed. There's nothing you can do about the speed right now, until you expand you skill set to write part of it in code.
You should try here and ask for help, the chart control is a beast, and took me a couple of weeks to understand how to write one in pure code.
Objects like the Chart and Gridview can actually be their own forum, because the skys the limit on those topics. But go ahead and ask the same question again, and see what the bound chart object guru's say about it.
Good Luck with that!
http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/[^]
|
|
|
|