Not sure if this makes sense, but why did adding the code on my http handler (responds to a ajax request returning a json result):
adding context.Response.Headers.Add("Cache-Control", "no-cache");
cause an error and say integrated pipeline mode has to be set?
...
The application folders in ASP.NET are used for storing various elements critical to running a website. I want to get a handle on understanding these folders in more depth, specifically the folder accessibility. According to the article on ASP.NET Web Site Layout:
The content of application folders,
except for the App_Themes folde...
I have been tasked recently to estimate number of concurent users that IIS can handle. Unfortunately, I have 0 experience with IIS, so I hope someone will guide me where to look. I hope I will not have to do my own benchmarking in this phase.
I would like to know what is the number of concurrent connections that it can handle. The clie...
I have a website that emails a link to the invoice when an order is complete.
The link should be http://mysite.com/QuoteAndBook/Confirmation?orderId=123
But for some reason it is:
http://204435-204435/QuoteAndBook/Confirmation?orderId=123
The host portion of the link is generated using HttpContext.Current.Request.Url.Host but I woul...
I have a bunch of javascript functions which depend on some server-side constants (such as strings from my resources file). While I was developing them I kept the javascript code in the view header, so I could simply used server-side tags inside my javascript code, but now I'd like to move the javascript functions to a separate file.
I...
Does anyone know of a free tool that I can use to get website statistics from my IIS log files?
...
I have a Lucene Index on a central file system. In my IIS application, I have methods to query the index and another to update the index.
To update the index, I have to lock the file until the changes are committed. My problem in implementing this is choosing the best design pattern to maintain good concurrency.
Am I best off using a s...
Hi,
I want to know the best way of hosting a web application for different domains. What I want to achieve is this:
Have single folder of the web application for easier maintenance.
Be able to override some parts of Web.Config per each site (ATM only ConnectionString, but could be more).
Store log files on file system without interf...
We would like to change a web site from version 1.1 to 2.0.50727 during the installation of a solution.
We would prefer a solution that could do this in code.
We can do this by running Aspnet_regiis -i . However, this has a drawback that it changes the version for all sites on the server, and the customer may have other sites that we s...
Hi Guys,
Im pretty new to CI so bear with me here. I have just setup an instance of Team City in on a local machine, and I can clearly see the benefits.
The one thing we do want understand is how we can managed the deployment aspect of CI. What we really want to achieve are two builds:
1) We check in to our source repository and the...
Hi Guys
I have a requirement to have a website running as a service accout for IP reasons, I also want to be able to use AzMan for Auth/Auth of the users. For some reason I cant seeem to get these working together. I have set up a sample app to test the waters that basically spits out some user credentials. Other than Azman and the web c...
I think I heard that ASP.NET applications will shut down after a while of being idle (i.e. no visitors).
Is there a way to prevent this behavior from happening? I have a timer that runs some code from the global.asax.cs application_start event, and want to make sure that it continues to run, even when no visitors are hitting the site.
...
I am running IIS7 and for the longest time I have been dealing with only being able load index.php. All other requested files return a "File not found" type message in the browser. I have built my own OOP Framework making it mostly a non issue. Now I am doing some ajax stuff. Ajax REQUIRES that I make use of more then one file because if...
Hi,
We have an application running where IIS and SQL are on the same machine. It's a windows2003standard server, with 4gigs of RAM running on a VM.
Now the numbers of users are rising constantly. There are some huge statistics also, which can be run by the users but has very much impact of the performance for other users. So we need t...
Hello everyone,
If I am using IIS 7.0 + Server 2008/Vista Enterprise, any ways from IIS 7.0 side to control the upload speed? For example, max upload speed at 1M bytes/second?
Any configuration based easy solution is great! And any programming based solution is also appreciated. :-)
thanks in advance,
George
...
First look at this url:
http://stackoverflow.com/questions/tagged/xoxoxo/
This directory does not exists but somehow stackoverflow can pass that last directory as a parameter to his base script.
Is this possible to configure IIS or Apache to do so? How?
...
I intend to create a web based application server.
The server is implemented in C and I wish to create a web based interface instead of a specific client application.
Could anyone please suggest what approach/technology I can use to implement ?
Thank you.
-Mac
...
I am trying to view the dependencies of my website on IIS 6.0 running on windows server 2003. When I type the following command,
msdeploy -verb:getDependencies -source:metakey=lm/w3svc/1
I got the following error:
C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies -source
:metakey=lm/w3svc/1
Error: Object of t...
I have searched on google for hours without finding a good and simple example of the comet technique using PHP. I just need an example that uses a persistent HTTP connection or something similar. I dont want to use a polling technique because I have something like that set up and not only is it difficult to work with and manage its a big...
I've been looking and I've seen a few how-tos but I find them to be somewhat confusing.
Does anyone have a good tutorial or step by step writeup that's easy to follow for a newbie
Thanks
Crash
...