What is the best practice for deciding how many worker processes to allow for an ASP.NET web application?
On one server I manage, creating a new AppPool defaults to 10 (maximum) worker processes. Other people suggest that the normal setting is one.
What problem does multiple worker processes solve and what are the techniques for decidi...
I embed a MP4 movie in a page. The problem is that the video doesn't play good. There are snowy effect when you play the video.
The embeded MP4 is playing good in IIS 6 but not in IIS 7.
The MIME is set to .mp4/video/mp4
Server: IIS 7
OS: Windows 32 bit
What settings are needed to stream it smoothly?
Thanks.
...
Hi,
I just installed IIS7.5 on my brand new windows 7 box.
I created a new site using .NEt 2.0 DefaultAppPool, and set up permissions on the database and on the disk for that DefaultAppPool user.
All seemed good, until I deployed and visited my site http://localhost:9000
The page itself worked and returned html, but all static conten...
What happens first in the pipeline: a URL Rewrite (as defined in the URL Rewrite module of IIS), or a HttpHandler (added with the add managed handler functionality of IIS7)?
...
Hi,
im using the url rewrite feature of iis7
Im trying redirect a url like this
xxx.com/?parameter=abc
to a url like this
xxx.com/somedirectory
the url redirect works well if the source url doesn't contain a question mark in it.
pls help
-Vivek
...
I have a few aspx files in a "Cache" folder in my application and I do not want HttpModules to run for those files in that folder. I tried having a web.config in subdirectory but learned that HttpModules take the root web.config and not that of the subdirectory.
Reference 1, Reference2. So I decided to have this directory as a sub appli...
How to setup IIS 7.0 to serve SVN repositories?
First of all I need to make possible remote users to checkout and web-based viewing isn't really necessary.
I tried to setup WebSVN but got no success: can't set parent folder for a number of repositories, can't switch off anonymous access, can't link non-anonymous access and access list....
I'm working on some scripts to automate deployments. I use IIS7 ARR to load balance between two servers.
When doing a deployment I take one of the two out of load balancing and my powershell script deploys code to that server so I can test it before making it live.
It would be awesome if the script could also do the work of taking t...
Hi -
This is a bit complex - so here we go.
I am developing a mobile web application using asp.net mvc and I need to test it locally on my iPhone. So far I have the first iteritaion of the site running on my local dev laptop. I created a virtual dir for the site under IIS 7 on the same machine. I deployed the site to that folder from V...
Is there a way to programmatically know when someone is using the Default Document feature of IIS to access my page (that is, the name of my .ASPX isn't in their URL anywhere)?
...
Using asp.net in visual studios and IIS7 when i get a host.
I have a folder full of icons that will rarely change and is used on every page. Is there a way i can set a certain directory to expire something like once every 2 or so hours so i can decrease the amount of incoming request to the server?
...
The setting: Windows 7, IIS installed and running.
The following piece of code:
HttpListener listener = new HttpListener();
listener.Prefixes.Add("http://server.com:8080/path");
listener.Start();
Works like charm - any request made against the server is received in my code.
However, when I make the following change (moving to port 8...
Could anyone help me with this regex issue?
^(Songs|Albums)$
becomes
{R:1}.aspx
This gives you songs.aspx, albums.aspx
wondering if I can do this in Regex:
^(Songs|Albums|Songs/List)$
and how do I get SongsList.aspx from Songs/List?
Thanks!
Edit
This worked:
^(Songs|Albums)/(List)?$
{R:1}{R:2}.aspx
...
I installed PHP/FastCGI and Mysql on w2k8 64bit IIS7.
PHPinfo() loads fine, and MySQL extension is properly installed. PHP displays echo commands.
MySQL also works fine through the MySQL Command Line Client. I can create DBs, tables and users.
However MySQL does not respond and the PHP script times out when simply connecting with mysq...
Hi,
I am trying to write to a file on a server (web05) from a classic asp site running on Windows 2008 serer on IIS7 (webadmin). This fails and web05 logs an anonymous logon attempt during the course of the save operation.
Webadmin's site is running on an app pool in classic mode with a domain user as the process account. The process ...
Scenario: The infrastructure that a website is built on consists of a web farm fronted with ISA servers, these ISA servers terminate the SSL of any given website and the requests between the ISA server and the IIS7 servers are always over port 80 (http).
Therefore: Customer > [https] > ISA > [http] > WebFarm(IIS)
Question: Is it possib...
I'm struggling to get my HttpHandler to process requests for jpg and gifs.
I've gone to the website's Handler Mappings and added the following line:
Path: *.jpg,*.gif
State: Enabled
Path Type: Unspecified (I've also tried setting this to File)
Handler: IsapiModule
Entry Type: Local
Running through Visual Studio works, so I know its n...
With the following:
<Web.WebSite.Create Condition="'$(Flag)'=='false'"
Description="XXX"
Path="$(SolutionPath)\Blah"
Port="8100"/>
<!-- Add Resources VirtualDirectory -->
<Web.WebSite.CreateVirtualDirectory Condition="'$(Flag)'=='false'"
VirtualDirectoryName="Profile"
Path="$(RootFolderPath)\Resources"
Ap...
I would like to set up rules in IIS7 for static content caching in my ASP.NET website.
I have seen these articles, which details how to do it using the <clientCache /> element in web.config:
Client Cache <clientCache> (IIS.NET)
Add Expires or Cache Control Header to static content in IIS (Stack Overflow)
However, this setting ap...
I tried to install Amplifeeder today with the Web Platform Installer.
When I arrived at the database setup I had to fill out some informations like "db admin user/password" and user username/password.
Using SQL Express I do not have any username/password (neither admin or user). How should I be able to install applications with the WPI...