Localhost - How To Reduce The Need For IIsreset For Developing Web App In IIS 5.1
Feb 17, 2010
I have a web application project on my dev PC running WinXP and hence IIS 5.1. The changes I'm making to this site seem to "take effect" only after I do IISRESET. That is, I make a source change, Rebuild the project and then Start without Debugging (or with debugging). The newly changed code is not "visible" or in effect unless I intervene with an IISRESET.
BTW, the "web" tab on the Properties display for the web app project is configured to use the Local IIS web server at project Url: http://localhost/myVirtualDirectory
...
but I've noticed the same issue when using the VStudio Dev Server (i.e. I have to stop it by visiting the taskbar tray area in order to see my source changes take effect).
Is this something I can change?
EDIT UPDATE:
Just wanting to clear this up if possible. Two answers diverge below; not sure how to move forward. One states this is to be expected (weakness of IIS 5.1 which in turn is the best WinXP can provide). Another states this is not expected behavior (and I tend to agree since this is the first I've encounted this on the same old WinXP dev platform I've had a long time). I suspect it may be something "deep inside" the Visual Studio 2008 web app which was upgraded to this new IDE from VStudio 2002 (ASP.NET 1.1). I've tried to add comment/questions down each answer path.
View 7 Replies
Similar Messages:
Jul 20, 2010
i want to use localhost for developing website facebook application using the graph api.
i working in asp.net c#
in the previous api of facebook i was abe to write the
http://localhost:4300/ in the connect url at the application settings.
now it dosent work.it keeps telling me
An error occurred with application name. Please try again later.
** if i upload the website, and use the website coonect url, it is working.
View 3 Replies
Dec 27, 2010
I've got an application that needs to do some work on startup (before the first request is in). I've added the initialization code in the global.asax file (Application_start method) but this code doesn't seem to be hit after an iis reset is performed.Is there an event which is triggered in an asp.net application when an iis reset has occurred?
View 2 Replies
Nov 1, 2010
I recently developed a simple application for displaying a list of files to some users based on access levels and allowing them to download them etc.
This application was developed to be hosted inside a large corporation with heavy security policies and is fairly mission critical.. The application is very basic,
it checks the users NTID (using windows authentication) compares that to a table in SQL then pulls up a list of all the files on which this user has access Thats pretty much it.. There are also a couple of forms for adding a user and editing a user and uploading a file.
We have a problem often where the application is pretty much unresponsive. This can be remedied by opening command prompt and running 'iisreset' I should also note when originally deploying the application we changed some settings on the server to allow connections to stay open a while longer to allow bigger file uploads.. Could this be locking the application up? I am unabble to restart the server until the weekend. The server is a windows 2003 box running IIS6.0 and .NET 2.0
View 3 Replies
Sep 21, 2010
some reason that I can't figure out, the iisreset command prohibits the webserver extension ASP.NET 2.0.50727 and this prevents the site being accessible.I would have to manually allow the webserver extension so that the site becomes accessible.This happens only on one of the load balanced servers.The rest work fine without any issues.
View 3 Replies
Aug 13, 2010
I have the line where is goes "Hide Suggested budget with tolerance %' then the box is too large. It is almost fine, you can see here
[URL]
The box holding the '5' for the Tolerance percent is too large. How can I reduce this?
the code for all this area is here:
[URL]
View 2 Replies
Apr 8, 2010
This is the IF -Else ladder which I have created to focus first visible control on my form.According to the requirement any control can be hidden on the form.So i had to find first visible control and focus it.
if (ddlTranscriptionMethod.Visible)
{
ddlTranscriptionMethod.Focus();
[code]...
View 10 Replies
Jan 15, 2011
I am using asyncfileupload ajax control and can successfully upload and save picture on server.I need to do the following and not sure how:When user is in process of uploading, I only want them to see *.jpg *.gif and *.bmp files
Once the user uploads their picture, how do I reduce the quality of the picture so it is less than 10 KB?
View 1 Replies
Feb 26, 2010
I have two lines of labels each in a Horizontal StackPanel. When they display there is a wide space (about an inch) between them. I can't figure out how to reduce this spacing. The height characteristics does not seem to do it.
<UserControl x:Class="SilverlightApplication1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" Margin="10">
<StackPanel x:Name="LayoutRoot" Background="LightGray" Margin="10">
<StackPanel Orientation="Horizontal" Height="50" Width="500" Margin="10">
<TextBlock Height="15" Width="100" Margin="20"/>
<TextBlock Text="Heading" Height="15" Width="100" Margin="10"/>
<TextBlock Text="PDOF" Height="15" Width="100" Margin="15"/>
<TextBlock Text="PDOF" Height="15" Width="100" Margin="15"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Height="50" Width="500" Margin="10">
<TextBlock Height="15" Width="100" Margin="20"/>
<TextBlock Text="(degrees)" Height="15" Width="60" Margin="10"/>
<TextBlock Text="locked" Height="15" Width="40" Margin="10"/>
<TextBlock Text="(degrees)" Height="15" Width="100" Margin="15"/>
<TextBlock Text="(O'Clock)" Height="15" Width="100" Margin="15"/>
</StackPanel>
</StackPanel>
</UserControl>
View 2 Replies
Jul 23, 2010
I am using Javascript for my ascx control. I have 2 tables, one below the other. My code written is like
</tr>
</table>
<table style="border-spacing: 15px;">
But when i execute, it shows almost 2 inch space between them.
View 3 Replies
Oct 25, 2010
I have an application that allows users to upload a pdf. I am saving the PDF into SQL (I know already this is not the best practice, but it was not my decision) and I need to some how duing this upload process reduce the size of the pdf. Is there a way to get the uploaded file, reduce its size, then stream it to SQL?
View 12 Replies
Dec 18, 2010
I have a problem of image loading. My site contains around 20 images on home page. It will take to much time to load.
So is there any code in asp.net framework 3.5 that will reduce the load time without jquery or javascript.
View 2 Replies
Nov 11, 2010
I have a variable called "Totaltime" in my program. I assign the variable (in seconds) as Totaltime = 3600. Now i want to reduce the time by 1 sec for each Tick event and show the reducing time in label or litera control. tell the C# ASP.NET coding to implement this?
View 3 Replies
Feb 15, 2011
[Code]....
Is there any other way to make this more efficient?
View 2 Replies
Jan 21, 2010
So far I am quite comfortable working with C# windows application. I am about to shift to Asp.net to develop a website. The requirement has made me to put around 50 columns in a single table. I know this concept of breaking it into small tables using normal forms.
I tried googling, but dint get much results. I need to know if my table with 50 attributes would decrease performance of my web application?
View 8 Replies
Jun 11, 2010
I am facing a problem related to webpage loading. After analysing the problem I got the conclusion that this is because of the use of third party control (Telrik Control) on the page.
it loads "ScriptResource.axd?d=VHFRlHPU4ruHmOYm-mEPLk5XeFL0XZCCksSiaq9cH120I4XzMjzdvS3A-Z1Q4FSlJuGkXycxn8tvOxEGZvni7w2&t=634068427680000000"
type of scripts on browser so it take time to load the page. Is there any way to reduce time of loading page?
View 5 Replies
Dec 30, 2010
SELECT t1.Assign as [User Id],(t2.Name)as [Name],
View 5 Replies
Jul 11, 2010
If you use a space <br /> this is a little too much space.Is it possible to reduce the interval between two textbox?
View 6 Replies
Sep 11, 2013
I have Gridview inside div and i achieved the gridview scroll with the div. but i am struggling with reducing the space between gridview and scroll bar. below is my code and screen print also attached.
Code:
<div id="divGrid">
<div style="overflow-x: auto; width: 800px; height:360px;">
<asp:GridView ID="gvReport" runat="server" AutoGenerateColumns="true" EnableViewState="false"
AllowSorting="false" EmptyDataText="No Data." AllowPaging="false" PageSize="50"
ShowFooter="false" GridLines="Both">
[code]...
View 5 Replies
Nov 28, 2012
i used baloon popup extender to show alerts but how to reduce its height is aa problem.i have less text in panel to display.so lot of empty space come.
View 1 Replies
Mar 21, 2011
I need to do parallel processing in my coding because i have 4 sql to fetch data from database which each take me 3-4 minutes.All the tables involved are raw table and that is no way i can reduce the time for the sql.I need to find a way out to reduce the data fetching time.The only thing i canfigure out is to have this 4 sql execute at the same time by doing parallel processing.
View 4 Replies
Aug 25, 2010
I'm looking for ways to reduce the size of my page . I have a page that just renders a gridview - no images - and it is over 400k!
Looking at the html that is generated I see the names of the controls in the gridview are very very long. For example: ctl00_ContentPlaceHolder1_releaseGV_ctl149_lblBuy
My gridview is about 200 rows by 13 columns = ~ 2600 spans with very long names rendered. The above example is 49 characters X 2600 controls = 127,400 characters just in control ID's!
The actual data on my page ins't anywhere near a tenth of that!
I am already storing viewstate on the server.
YES, I will put a pager on this page to bring down the number of rows. Also, I've seen sever other posts related to page size with some excellent content. I will follow up on them - however I have not seen this specific question answered.
Here is a sample of my page. As you can see there is not much data and a lot of html!
[Code]....
View 5 Replies
Mar 18, 2011
I am using a sql server 2008 database and I am uploading images to the server using an asp.net webapplication. I have an image column that I use to store the images. I have chosen the database to store the image and not a folder on the server, because the database table will contain only very few rows. maybe close to 10 or 15 rows.
My question is, Do I have to reduce the size (dimensions and quality affecting size on disc in kbs) of the image in code behind before uploading it to the database or do I keep it as is. The total upload size permitted is 200kb. I am thinking that when the image size (size in kbs) is small my webapplication performance will not be affected when displaying them from the database.
View 6 Replies
Nov 1, 2010
how can I delete or reduce the space before the node in tree view.
View 4 Replies
May 25, 2010
I have an asp.net application written in C# and need some help to fine tune it for better performance. All pages with in this web application have horizontal tab, left vertical menu panel , footer and header. Left menu panel changes as per top tab selection.
View 2 Replies