"Aspnet - Isapi - DLL" Files
"Aspnet - Isapi - DLL" Files
In IIS, an anonymous user will be given with a user name of "IUSR_MachineName "
Step 1 : In the IIS (inetmgr), right click on the "Computer" icon under "Internet
Information Services" . Click "All Tasks" and select "Backup/Restore Configuration".
Step 2 : Click on button "Create backup". Give Name for your backup file. If you want
encryption enable encryption option and give UserName and Password and then click OK.
IIS 7.5
This can be change from Virtual Directory properties. First open Properties of Virtual
Directory > GoTo ASP.NET Version Tab.
What are the different "Execution Permission" available for IIS for an virtual
directory ?
We can set the Session time out settings from the Virtual Directory for that site.
Right Click on Virtual Directory > Properties > Click on "Configuration" Button
Goto the "Option" Tab. There in Enable Session State Section you can configure the
Session Timeout .
When client request for an aspx pages, request comes to kernel level off IIS means
to HTTP.SYS . HTTP.SYS receives the request and based on the application pool name
[ Which is already registered with the HTTP.SYS ] it send the request to worker
process. Windows Activation process works as mediator of them. w3wp.exe loads
"aspnet_isapi.dll" files to start
the HTTPRuntime . HTTPRuntime creates HTTPApplication objects and all request are
passed through HTTPModule and finally reached to HttpHandler . This is the request
pipeline. After end of Request pipeline ASP.NET Page lifecycle starts.
For more Information :
http://www.codeproject.com/KB/aspnet/aspnetrequestarchitecture.aspx
What are the different way that we can hosted site on IIS ?
We can hosted site on IIS either creating Virtual Directory through IIS manager or Using
Folder Web Sharing .
Apart from that Visual studio provide some inbuilt features to host the site on IIS like using
Publishing the web site , Using Copy web Tool or Creating Virtual directory during the
creating the project by choosing Location as HTTP
W3SVC is the mediator of HTTP.SYS and Windows Activation Process. Windows Activation
Process maintain the worker processes.
Yes. We can.
While creating Application Application Pool From IIS, there should have two option
available first one is for Default Setting and Another is for Existing Setting as template.
We can select the second one and from the drop down listed below we can select any on
the Application Pool as Template,.
Is there any alternative way to host site on IIS rather than opening IIS
Manager ?
Yes, We can directly host any site from the physical location of directory itself.
There you need to select > "Share This Folder" Option Button. Then it will ask for alias
name and other setting. Then Click on OK.
To Validate : Run > Inetmgr > Check there should an virtual directory with the same
"Alias" name that you have given.
If there are already one Virtual directory exist it will showing you the error message while
you providing the "Alias" name.
We can set the Idle time out for an worker process from Application Pool Properties.
In Performance Tab of Application pool, we can set the Idle Time out of the worker process.
This means worker process will shut down after that given time period if it stay idle. And will
again wake up again if a new request comes.
What are the worker process for IIS 5.1 and IIS 6.0 ?
WAP is the Controller of Worker process under a Application Pool. Windows Activation
Process which is managed by the worker process by starting, stopping and recycling the
application pool. When to start, stop and Recycle should be defined on Application Pool
Settings. Activation Process is also responsible for Health Monitor of Application Pool during
runtime.
FYI : Health monitoring setting can be easily found in Properties of Application Pool.
This is one of the most question in IIS. And along with that interviewer can as what is the
different between Web farm and Web Garden ?
When we hosted our web Application on multiple web server under a load balancer call the
Web Farm. This is generally used for heavy load web application where there are many user
request at a time. So When Web Application is hosted on Different IIS Server over a load
balancer, Load balancer is responsible for distribute the load on different server.
We can set the default page for a web site from the Virtual Directory Setting.
How To :
IIS Manager > Virtual Directory > Right Click > Properties > GoTo Document Tab.
What are the different type of application pool available in IIS 7.0 ?
1. DefaultAppPool (Integrated)
2. ClassicAppPool
Its
C:\WINDOWS\system32\LogFiles\W3SVC1
Yes. IIS Can have multiple web sites and Each and every web sites can have multiple
virtual Directory.
This is used automatically register the .NET Framework with your IIS.
Yes. This is one of the great features of msvsmon.exe . Each instance of the remote
debugger has a unique server name.we can give an instance of the remote debugger any
server name. Now multiple user can able to access the server instance.
If there are multiple worker process running on IIS, then how can you attach a
particular worker process for application ?
Well, If there are multiple worker process running in IIS, it means I have to know the
name of my application pool. Then I can run cscript iisapi.vbs script to find out the process
ID and Application Pool name . Based on the process Id for particular application I have to
attache the process from Visual studio IDE.
How can we get the list of worker process running in IIS along with the
Application pool name ?
What are the different authentication mode available for IIS Remote Debugging ?
1. Windows Authentication
2. No-Authentication
Right Click on Application Pool > All Task > Save Configuration to a File .
This will save all the settings of Application Pool as an XML file.We can make it password
protected also.
Which version of IIS is available in Windows Server 2008 ?
IIS 7.0 .
Even Vista Home Premium and Ultimate edition is also having IIS 7.0
Authentication Modes in IIS:
A) Windows
B) Anonymous
C) Basic Authentication
D) None