Introduction To Microsoft IIS 7.0 By:  - Nguyễn Mạnh Cường - Cao Văn Tân - Nguyễn Hoàng Hoàn
Agenda <ul><li>Introduction </li></ul><ul><li>IIS 7.0 Components and Architecture </li></ul><ul><li>Five Major Focus Areas...
Introduction Internet Information Services  ( IIS ) - formerly called  Internet Information Server  - is a set of Internet...
Introduction <ul><li>Microsoft’s Internet Information Services (IIS) has been around for more than a decade, from its firs...
IIS 7.0 Components and Architecture
IIS 7.0 Core Components <ul><li>IIS 7.0 Core Components </li></ul>
Protocol Listeners,  WWW Service <ul><li>Protocol Listeners : A protocol listener listens to specific requests based on a ...
Windows Activation Service (WAS) <ul><li>Windows Activation Service (WAS) : WAS is a new service in IIS 7.0 that manages a...
Five Major Focus Areas Five Major Focus Areas
IIS 7.0 Pillars <ul><li>Apart from the change in the core components Microsoft made various changes in five major focus ar...
Security <ul><li>Security is a subject that any large enterprise must consider before making the decision to adopt a parti...
Demo  – IIS 7.0 Installation options
Extensibility <ul><li>IIS 7.0 has a new set of public APIs that developers can use to extend IIS.  </li></ul><ul><li>Integ...
Demo  – IIS 7.0 Extensibility
Configuration <ul><li>IIS configuration management has been integrated with the configuration for ASP.NET. </li></ul><ul><...
System Management - New Look and Feel   <ul><li>IIS 7.0 moves away from the traditional MMC snap-in used by earlier versio...
Demo  – IIS 7.0 Management UI
Diagnostics <ul><li>Detailed Errors </li></ul><ul><li>IIS 7.0 includes a Failed Request Tracing feature that enables web a...
Demo  – Detailed Errors
Demo  – Logging
Demo  – Failed Request Trace Log
Demo  – LogParser
Understanding XML Configuration
Configuration <ul><li>The old centralized configuration store, found in the previous releases of IIS (known as the metabas...
Configuration - ApplicationHost.config   <ul><li>Server-level configuration defaults, and distributed Web.config files loc...
 
Demo – ApplicationHost.config
Configuration - Web.config  <ul><li>URL-specific configuration settings can either be stored directly within the code or i...
 
Configuration - Redirection.config   <ul><li>Contains settings used to redirect a Web server to configuration files and sc...
Configuration -   Administration.config <ul><li>The IIS Manager tool uses administration.config (also not part of the IIS ...
 
Placement of Configuration Configuration For Place  Place In Entire server applicationHost.config A specific site web.conf...
Demo <ul><li>Install:  vista & windown server 2008 </li></ul><ul><li>Create new website: socute.com </li></ul><ul><li>+ Ch...
Install IIS 7.0
 
 
 
 
 
 
Create a new Web site - To create a new Web site in Apache, you must set up a virtual host and configure the individual se...
 
Connection limit:
 
Upcoming SlideShare
Loading in …5
×

Iis it-slideshares.blogspot.com

2,360 views

Published on

more from http://it-slideshares.blogspot.com and japanese-zen-garden.blogspot.com

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,360
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
72
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Iis it-slideshares.blogspot.com

  1. 1. Introduction To Microsoft IIS 7.0 By: - Nguyễn Mạnh Cường - Cao Văn Tân - Nguyễn Hoàng Hoàn
  2. 2. Agenda <ul><li>Introduction </li></ul><ul><li>IIS 7.0 Components and Architecture </li></ul><ul><li>Five Major Focus Areas </li></ul><ul><li>Understanding XML Configuration </li></ul><ul><li>Demo </li></ul>
  3. 3. Introduction Internet Information Services ( IIS ) - formerly called Internet Information Server - is a set of Internet-based services for servers created by Microsoft for use with Microsoft Windows . It is the world's second most popular web server in terms of overall websites behind the industry leader Apache HTTP Server
  4. 4. Introduction <ul><li>Microsoft’s Internet Information Services (IIS) has been around for more than a decade, from its first incarnation in Windows NT 3.51 to the current release of IIS 7.0 on the Windows Server 2008 and Vista platforms. </li></ul><ul><li>IIS Versions 1.0 : Windows NT 3.51 Service Pack 3 </li></ul><ul><li>IIS Versions 2.0 : Windows NT 4.0 </li></ul><ul><li>IIS Versions 3.0 : Windows NT Service Pack 3 </li></ul><ul><li>IIS Versions 4.0 : Windows NT Option Pack </li></ul><ul><li>IIS Versions 5.0 ,5.1 : Windows 2000 Server , Windows 2000 Professional </li></ul><ul><li>IIS Versions 6.0 : Windows Server 2003 editions and Windows XP Professional 64bit edition. </li></ul><ul><li>IIS Versions 7.0 : Windows Vista editions and Windows Server 2008 </li></ul>
  5. 5. IIS 7.0 Components and Architecture
  6. 6. IIS 7.0 Core Components <ul><li>IIS 7.0 Core Components </li></ul>
  7. 7. Protocol Listeners, WWW Service <ul><li>Protocol Listeners : A protocol listener listens to specific requests based on a specific protocol and sends the request to the IIS worker process for processing. Protocol listeners provided with IIS 7.0 include HTTP.sys, NET.TCP, NET.MSMQ and NET.PIPE. </li></ul><ul><li>-WWW Service : This service acts as a listener adapter for the HTTP.sys protocol listener and monitors the HTTP requests. </li></ul>
  8. 8. Windows Activation Service (WAS) <ul><li>Windows Activation Service (WAS) : WAS is a new service in IIS 7.0 that manages application pool configuration and worker processes. </li></ul><ul><li>In IIS 6.0, this responsibility was part of the WWW Service. </li></ul><ul><li>The shift to a separate core component ensures that developers can use the same process model and configuration for both HTTP and non-HTTP based sites. It is possible to configure the other three protocol listeners (NET.TCP, NET.MSMQ and NET.PIPE) using WAS. </li></ul><ul><li>For example, when the NET.TCP protocol listener is configured it listens for TCP requests. WAS can also be used to host a Windows Communication Foundation (WCF) based service. </li></ul>
  9. 9. Five Major Focus Areas Five Major Focus Areas
  10. 10. IIS 7.0 Pillars <ul><li>Apart from the change in the core components Microsoft made various changes in five major focus areas. These five areas form the pillars of IIS 7.0. </li></ul>
  11. 11. Security <ul><li>Security is a subject that any large enterprise must consider before making the decision to adopt a particular web server. </li></ul><ul><li>IIS 7.0 offering a much more modular design. </li></ul><ul><li>The new modular design splits the features/functionality offered by IIS into multiple fine-grained services that need not be installed when a specific is not required. </li></ul><ul><li>IIS 7 ships with more than 40 modules or services that can be added to or removed from an installation as required. </li></ul><ul><li>The main advantage of the new modular design is that it helps reduce the footprint of IIS. A reduced footprint maps directly to a reduced surface area for attacks, thus making the web server more secure. </li></ul>
  12. 12. Demo – IIS 7.0 Installation options
  13. 13. Extensibility <ul><li>IIS 7.0 has a new set of public APIs that developers can use to extend IIS. </li></ul><ul><li>Integration with ASP.NET and managed code now lets developers write modules in managed .NET code. </li></ul><ul><li>IIS sports a unified pipeline, which means that the managed modules do not need to be mapped to the ASP.NET ISAPI to participate in request processing. </li></ul><ul><li>This means that developers now have a choice of either writing modules using managed code or using the native API to build ISAPI modules. </li></ul><ul><li>Because IIS is highly modular it is also possible to replace any of the built-in modules with custom built modules if necessary. </li></ul>
  14. 14. Demo – IIS 7.0 Extensibility
  15. 15. Configuration <ul><li>IIS configuration management has been integrated with the configuration for ASP.NET. </li></ul><ul><li>IIS also uses a web.config file for storing configuration information, and that you can deploy a specific web server configuration by simply copying the correct web.config file. </li></ul><ul><li>In IIS 7.0, the metabase has been completely replaced with the web.config file; IIS 7.0 no longer uses the metabase repository used by earlier IIS versions for storing configuration settings. </li></ul>
  16. 16. System Management - New Look and Feel <ul><li>IIS 7.0 moves away from the traditional MMC snap-in used by earlier versions and provides a new, more intuitive administrative user interface that also integrates and manages ASP.NET configuration information. </li></ul><ul><li>Why did it have to change?   </li></ul><ul><ul><li>IIS and ASP.NET work together. </li></ul></ul><ul><ul><li>Delegated Administration. </li></ul></ul><ul><ul><li>Engineering Reasons. </li></ul></ul>
  17. 17. Demo – IIS 7.0 Management UI
  18. 18. Diagnostics <ul><li>Detailed Errors </li></ul><ul><li>IIS 7.0 includes a Failed Request Tracing feature that enables web administrators to capture information related to requests that failed. </li></ul><ul><li>You can configure failed request processing by setting up rules that set criteria for filtering and logging failed requests. </li></ul><ul><li>The trace criteria can be configured to monitor only ASP.NET content, or only ASP content or all content as required. </li></ul><ul><li>You can use status codes to further filter the requests and log the information. </li></ul><ul><li>IIS 7 provides a wizard-driven interface for defining the rules. </li></ul><ul><li>Logparser </li></ul>
  19. 19. Demo – Detailed Errors
  20. 20. Demo – Logging
  21. 21. Demo – Failed Request Trace Log
  22. 22. Demo – LogParser
  23. 23. Understanding XML Configuration
  24. 24. Configuration <ul><li>The old centralized configuration store, found in the previous releases of IIS (known as the metabase), is gone. </li></ul><ul><li>Instead, IIS 7.0 now features a new delegated configuration system based on a hierarchy of distributed XML configuration files </li></ul><ul><li>Benefits   </li></ul><ul><ul><li>Enable developers to specify configuration for a Web site or application in the same directory as the code or content. </li></ul></ul><ul><ul><li>Allow moving Web sites and applications from development to test or from test into production as simply a matter of copying the configuration files. </li></ul></ul><ul><ul><li>Enable administrators to share configuration information easily across multiple front-end Web servers and Web </li></ul></ul>
  25. 25. Configuration - ApplicationHost.config <ul><li>Server-level configuration defaults, and distributed Web.config files located within the application's directory structure. </li></ul><ul><li>Contains configuration sections and settings that only make sense globally on the server. </li></ul><ul><li>File stores global or computer-wide configuration settings and is located at the root level of the Web server in the %windir% system32inetsrvconfig directory. </li></ul><ul><li>There are two major configuration sections in this file:   </li></ul><ul><ul><li>system.applicationHost - Contains configuration settings for sites, applications, virtual directories, and application pools. These are centralized settings that cannot be distributed. </li></ul></ul><ul><ul><li>system.webServer - Contains configuration for all other settings, including global defaults. These settings can be delegated and distributed. </li></ul></ul>
  26. 27. Demo – ApplicationHost.config
  27. 28. Configuration - Web.config <ul><li>URL-specific configuration settings can either be stored directly within the code or in the content directories of a Web site using Web.config files. </li></ul><ul><li>These are the same Web.config files that are used by the ASP.NET application framework to store application settings.   </li></ul><ul><li>You can also store URL-specific configuration settings in the ApplicationHost.config file using <location> tags. </li></ul>
  28. 30. Configuration - Redirection.config  <ul><li>Contains settings used to redirect a Web server to configuration files and schemas located on another computer. </li></ul>
  29. 31. Configuration - Administration.config <ul><li>The IIS Manager tool uses administration.config (also not part of the IIS 7.0 configuration hierarchy) exclusively to specify its own configuration. </li></ul><ul><li>Located in %windir%system32 inetsrvconfig directory. </li></ul><ul><li>Contains the list of IIS Manager extensions that the tool loads. These extensions provide the features you see in the IIS Manager. Like IIS, the IIS Manager is fully extensible. </li></ul>
  30. 33. Placement of Configuration Configuration For Place Place In Entire server applicationHost.config A specific site web.config in the site’s physical root directory A specific application web.config in the application’s physical root directory A specific virtual directory web.config in the virtual directory’s physical root A specific URL If the URL corresponds to a physical directory, in web.config in that directory; otherwise, in any existing parent web.config file with a location tag for the specific URL
  31. 34. Demo <ul><li>Install: vista & windown server 2008 </li></ul><ul><li>Create new website: socute.com </li></ul><ul><li>+ Change port: 8080 </li></ul><ul><li>+ Change host header:www.socute.com & socute.com </li></ul><ul><li>+ Change defaul page: index.html </li></ul><ul><li>+ Change DocumentRoot: c:home </li></ul><ul><li>+ add virtual directories: subdr </li></ul><ul><li>+ add aplication pool :admin </li></ul><ul><li>Add new module: Bit rate throttling (limit download file msi < 5kbs) </li></ul><ul><li>Connection limit : + Time out: 300s </li></ul><ul><li>+ Bandwidth: 800000000 b/s </li></ul><ul><li>+ Concurent conection: 4000 </li></ul>
  32. 35. Install IIS 7.0
  33. 42. Create a new Web site - To create a new Web site in Apache, you must set up a virtual host and configure the individual settings for the host. If you are using IIS, you can create a new Web site by translating the following terms to the IIS equivalents:
  34. 44. Connection limit:

×