IIS (Internet Information Services)


Q.#)   What is IIS?
IIS stands for Internet Information Services. It is created by Microsoft to provide Internet-based services to ASP.NET Web applications.

Q.#)   What is the usage of IIS?
Following are the main usage of IIS:
  1.         IIS is used to make your computer to work as a Web server and provides the functionality to develop and deploy Web applications on the server.
  2.         IIS handles the request and response cycle on the Web server.
  3.         IIS also offers the services of SMTP and FrontPage server extensions.
  4.         The SMTP is used to send emails and use FrontPage server extensions to get the dynamic features of IIS, such as form handler.



Q.#)   What is Application Pool in IIS ?
Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries. Application pools used to isolate our web application for better security, reliability, and availability and performance and keep running without impacting each other . The worker process serves as the process boundary that separates each application pool so that when one worker process or application is having an issue or recycles, other applications or worker processes are not affected.

Q.#)   What is ISAPI in IIS?
ISAPI is an open specification introduced by Microsoft.

Q.#)   What is the Role of IIS ?
Visual studio having It own ASP.NET Engine which is capable enough to run Asp.net web application from visual studio. So we just click on Run button to start the application. Now this is the scenarios of local environment. But If we want to host it on server from where all user can access the sites then IIS comes into the picture. IIS provides a redesigned WWW architecture that can help you achieve better performance, reliability, scalability, and security for our Web sites. IIS can support following Protocol HTTP/HTTPS, FTP, FTPS, SMTP Etc. We need to host the site on IIS, when request comes from client it first hits the IIS Server, then the server passed it to ASP.NET worker process to execute. Then the response also passes to client via IIS itself. Note only Hosting of Site we can create our FTP Server, SMTP Server using IIS itself. There are different version of IIS available like 5.1, 6.0, 7.0 etc

Q.#)   What are the different security settings available in IIS ?
  1.                Anonymous
  2.                Integrated Windows Authentication
  3.                Basic Authentication
  4.                Digest Authentication
  5.               Passport Authentication


Q.#)   What is the Name of Default Application Pool in IIS ? 
Default application pool named : DefaultAppPool

Q.#)   What is the Role of Http.Sys in IIS ? 
HTTP.SYS is the kernel level components of IIS. All client request comes from client hit the HTTP.Sys of Kernel level. HTTP.SYS then makes a queue for each and every request for each and individual application pool based on the request.Whenever we create any application pool IIS automatically registers the pool with HTTP.SYS to identify the particular during request processing.

Q.#)   What are the different types of Identity available in IIS 6.0 ?>
  1.                Local System
  2.                Local Services
  3.                NetworkServices


Q.#)   Name of default Identity of IIS6.0
Default Identity of IIS 6.0 is Network Services . Which is having very minimum rights on your system. The user can only have the read access of the site.

Q.#)   What exactly means HTTP.sys in IIS?
  1.          HTTP.sys is known as “HTTP Protocol Stack” or “Http Listener Process”
  2.         It is Implemented as a kernel-mode device driver
  3.         It is core component to receive and serve HTTP requests and passing them off to the worker processes
  4.         When you create a Web site, IIS registers the site with HTTP.sys
  5.         Other than retrieving a stored response from its internal cache, HTTP.sys does not process the requests that it receives.


Q.#)   What is Recycling of Application Pool ?
Recycling Application pool means recycle the Worker process (w3wp.exe ) and the memory used for the web application.
  1.         Recycling Worker Process – Predefined Settings
  2.         Recycling Worker Process – Based on Memory


Q.#)   What are ISAPI filters in IIS?
  1.         ISAPI filters are DLL files that can be used to modify and enhance the functionality provided by IIS
  2.         ISAPI filters always run on an IIS server, filtering every request until they find one they need to process
  3.         Mostly used for Authentication and Encryption of the i/p or o/p data for a site locally or all the apps globally


Q.#)   What are Application pools in IIS?
Group of Web Applications and Web Sites are called Application Pools.

Q.#)   What are the main layers of IIS Architecture ?
 1. Kernel Mode-
1.        HTTP.SYS
2. User Mode-
  1.         Web Admin Service,
  2.         Virtual Directory
  3.         Application Pool


Q.#)   What is the Role of Http.Sys in IIS ?
HTTP.SYS is the kernel level components of IIS. All client request comes from client hit the HTTP.Sys of Kernel level. HTTP.SYS then makes a queue for each and every request for each and individual application pool based on the request. Whenever we create any application pool IIS automatically registers the pool with HTTP.SYS to identify the particular during request processing.

Q.#)   From where you can change the ASP.NET Version in IIS ?
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.

Q.#)   What is the default user name of an anonymous login in IIS?
In IIS, an anonymous user will be given with a user name of “IUSR_MachineName “

Q.#)   How can we take back-ups in IIS Server?
          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.

Q.#)   What are the main components of SVCHost.exe ?
Main components for SVCHost.exe are WWW Publishing Service (W3SVC) and Windows Activation Process (WAP) . W3SVC is the mediator of HTTP.SYS and Windows Activation Process. Windows Activation Process maintain the worker processes.

Q.#)   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

Q.#)  What is Web Garden?
A Web garden is configured on a single server by specifying multiple worker processes for an application pool. Web farms use multiple physical servers for supporting a single Web site

Q.#)  What are the different type of application pool available in IIS 7.0 ?
1. DefaultAppPool (Integrated)
2. ClassicAppPool

Q.#)  Where is the default location for IIS Log files ?
C:\WINDOWS\system32\LogFiles\W3SVC1

Q.#)   What is the use of aspnet_regiis -i command ?
This is used automatically register the .NET Framework with your IIS.


Q.#)  How to check Installed .Net Version on IIS
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe –lv

Q.#)   Services?
1. www services
2. FTP services
3. SMTP services
4. NNTP services

Q.#)  What is the properties of App Pool in IIS?
1.Recycling
2.Perfomance
3.Health
4.Identity

 Q.#)   Default Iis Port Numbers?
  1. HTTP – 80 
  2. SSL – 443
  3. FTP – 21
  4. SMTP – 25
  5. POP3 – 110
  6. IMAP – 143
  7. NNTP – 119
  8. LDAP – 89
Other Port Number
  1. DNS – 53
  2. DHCP : 67
 Q.#)   Difference Between App Pool And App Domain In Iis ?
App Pool and App Domain both are for isolations on different approches.App Pool use process to isolate without .net but for App Domain isolation methods by .net.

In Simple terms
  1. For Multiple websites in IIS need different Application Pool.
  2. In Single domain purpose we use Application Domain.
 Q.#)   Different Layers In Iis Architecture ?
  1. Kernal Mode
  2. User Mode
 Q.#)   What Are The Security Authentication In Iis ?
  1. Anonymous ( Default Authentication in IIS runs under IUSER_servername )
  2. Integrated Windows Authentication
  3. Basic Authentication
  4. Digest Authentication
  5. Passport Authentication





    No comments:

    Post a Comment

    Excel Sort values in ascending order using function TEXTJOIN

     Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...