1. Use appcmd.exe to recycle the application pool from the command prompt. 2. appcmd.exe is the command line tool for IIS7, you will find this tool at following location : %systemroot%\system32\inetsrv\appcmd 3. To recycle your application pool use the following command: appcmd recycle apppool /apppool.name: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Status Code Type of Code 100 Series - Informational 200 Series - Success 300 Series - Redirection 400 Series - Client Error 500 Series - Server Error | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
IIS metabase is a special databse which is used to maintain the settings and configurations data for IIS. In simple term, it is a configuration base for IIS (Metabase.xml). IIS 5.0 --> Metabse is in Binary. IIS 6.0 & 7.5 --> Metabase is in XML. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. There we can have change the ASP.NET Version. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
There are three Execution Permission available. 1. None 2. Scripts Only 3. Scripts and Executable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 registred 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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Main components for SVCHost.exe are WWW Publishing Service (W3SVC) and Windows Activation Porcess (WAP) . W3SVC is the mediator of HTTP.SYS and Windows Activation Process. Windows Activation Process maintain the worker processes.
|
Tuesday, December 28, 2010
IIS Interview Questions
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment