{"id":871,"date":"2012-10-10T16:59:17","date_gmt":"2012-10-10T16:59:17","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=871"},"modified":"2012-10-10T16:59:17","modified_gmt":"2012-10-10T16:59:17","slug":"introduction-to-internet-information-services-7-0","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=871","title":{"rendered":"Introduction to Internet Information Services 7.0"},"content":{"rendered":"<p>The basics of Internet Information Services 7.0 also known as IIS 7.0.  IIS 7.0 is the web server role in Windows Vista and Windows Server 2008.<\/p>\n<h2>Introduction<\/h2>\n<p>Internet Information Services 7.0 (IIS 7.0) is  Microsoft\u2019s latest version of their web server. IIS has been included  with Windows Server since Windows 2000 Server as a Windows Component and  since Windows NT as an option. IIS 7.0 is available with Windows Vista  and Windows Server 2008, which is scheduled for release in Q1 2008. IIS  7.0 has gone through a major overhaul and has been completely redesigned  from scratch. This has been done to make the most flexible and secure  platform for web and application hosting.<\/p>\n<p>IIS 7.0 has been designed to be the most secure and\u00a0flexible web and  application platform from Microsoft. Microsoft has redesigned IIS from  the ground and during this process the IIS team has focused on 5 major  areas:<\/p>\n<ul>\n<li>\n<div>Security<\/div>\n<\/li>\n<li>\n<div>Extensibility<\/div>\n<\/li>\n<li>\n<div>Configuration and Deployment<\/div>\n<\/li>\n<li>\n<div>Administration and Diagnostics<\/div>\n<\/li>\n<li>\n<div>Performance<\/div>\n<\/li>\n<\/ul>\n<h2>What\u2019s New<\/h2>\n<p>Almost everything is new in IIS 7.0. Microsoft has  focused on modularity when building IIS 7.0, which means that only the  binaries needed is installed, this minimizes the attack surface of the  web server.<\/p>\n<p>An example to this: If you need the FTP Server or the Caching feature  in IIS, you install the FTP Server or Cache modules to manage and  enable either the caching activity or the FTP Server.<\/p>\n<p>Windows Server 2008 will include all the IIS features needed to  support hosting of web content in production environments. Windows Vista  only has some IIS features and the features depend on your Vista  version. IIS 7.0 in Windows Vista is ideal for building and testing web  applications. Additional modules and features will be available from  Microsoft or you can code your own, maybe even buy some from 3rd party  vendors.<\/p>\n<h2>Architecture<\/h2>\n<p>Besides the changes to the core components of  IIS 7.0, the focus has been with modular design in mind. The modular  design gives more flexibility and security to\u00a0IIS 7.0, compared to  previous\u00a0versions of IIS.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image021190034654617.JPG\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure A<\/strong>: Overview of the main modules and components of IIS 7.0<\/p>\n<p>The main advantage of the new modular design is that it helps to  reduce the footprint, which\u00a0results in a more secure web server  platform, since the attack surface has been minimized.<\/p>\n<p>IIS 7.0 provides a new native core API, which replaces the ISAPI  filter from previous versions of IIS. With the new API it\u2019s now possible  to extend IIS with extra modules or even replace any of the built-in  modules with custom written modules.<\/p>\n<p>New modules can be downloaded from Microsoft\u2019s IIS.net website, where Microsoft maintains a download repository for IIS: <a href=\"http:\/\/www.iis.net\/downloads\" target=\"_blank\">http:\/\/www.iis.net\/downloads<\/a><\/p>\n<h2>Administration<\/h2>\n<p>There are several ways of administrating IIS 7.0.<\/p>\n<ul>\n<li>\n<div>The GUI way using IIS Manager<\/div>\n<\/li>\n<li>\n<div>APPCMD command tool<\/div>\n<\/li>\n<li>\n<div>Remote administration using IIS Manager<\/div>\n<\/li>\n<li>\n<div>Scripting using Windows PowerShell<\/div>\n<\/li>\n<li>\n<div>Microsoft.Web.Administration API interface<\/div>\n<\/li>\n<\/ul>\n<p>The GUI Management interface has also been redesigned, the new IIS  Manager is now more task-oriented and action based, as we know\u00a0from ISA  Server and the new Exchange Server 2007.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0041190034654617.jpg\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure B<\/strong>: Screenshot of the IIS Manager<\/p>\n<p>IIS Manager can be used to configure IIS and ASP.NET settings, the  configuration settings will be written to the xml configuration files.  As something new, Health and diagnostics information can now be seen and  run as integrated tools directly from within IIS Manager and is already  a part of IIS 7.0.<\/p>\n<p>APPCMD is the new main general purpose command prompt tool for IIS  7.0, which can be used for administration and configuration of IIS.  APPCMD is the new enhanced version of the old adsutil.vbs, for those of  you who are familiar with that tool from IIS 6.0.<\/p>\n<p>Remote Administration has been enhanced and is now possible using the  IIS Manager, communicating securely over https to the web server.<\/p>\n<p>There\u2019s also the option of scripting all IIS management. This is now  done using Windows PowerShell, which is Microsoft\u2019s new scripting  language. It\u2019s an easy and effective way of handling administration of  IIS on your web server and this is especially useful if you manage  several web servers or large web farms. Windows PowerShell can be used  directly against the WMI interface of IIS or used to read and write in  the IIS 7.0 XML configuration files.<\/p>\n<p>IIS 7.0 has backward compatibility with the IIS 6.0 metabase and the  ADSI and WMI scripting interface known from IIS 6.0, which means that  all your old scripts for IIS 6.0 will still work on IIS 7.0.<\/p>\n<p>Microsoft.Web.Administration API is the interface  targeted\u00a0to\u00a0developers, who want to code their own programs or scripts  to manage IIS 7.0.<\/p>\n<p>In IIS 7.0 it\u2019s now possible to delegate the management of IIS and  the web sites. You can now delegate full administrative access to the  site owners of a website. The site owners can then control and manage  all the website settings using IIS Manager, without compromising server  security. All the settings the site owners manage, are written to the  web.config xml file of their own website.<\/p>\n<h2>Configuration<\/h2>\n<p>The configuration has been made simple and is  based on distributed XML files that hold the configuration settings for  the entire IIS and ASP.NET.<\/p>\n<p>Configuration settings can be done globally for the entire web server  or for specific websites using either the XML files or through the GUI  Management interface. The GUI just writes the configuration settings to  the same XML files. The main xml configuration files\u00a0in IIS 7.0 are:<\/p>\n<ul>\n<li>\n<div>Applicationhost.config<\/div>\n<\/li>\n<li>\n<div>Global web.config<\/div>\n<\/li>\n<li>\n<div>Machine.config<\/div>\n<\/li>\n<li>\n<div>Site web.config<\/div>\n<\/li>\n<li>\n<div>App web.config<\/div>\n<\/li>\n<\/ul>\n<p>By using xml based configuration files, deployment and scale-out in  large web hosting environments has been optimized. It\u2019s fairly easy to  copy the IIS configuration to a new server and be up and running  relatively quickly.<\/p>\n<p>Handling replication of web server configuration is also relatively  easy with IIS 7.0 compared to IIS 6.0, because of the xml based  configuration files. This makes it very easy to replicate and deploy  configurations in larger web farm environments. With IIS 6.0 this was  best handled by using Microsoft Application Center 2000 or other 3rd  party products.<\/p>\n<p>Shared Configuration is a new feature of IIS 7.0, which is designed  for web farm scenarios. With Shared Configuration it\u2019s now possible for  multiple web servers to share a single configuration file  (applicationhost.config). A master of the applicationhost.config file  will be placed on a common UNC path. The Shared Configuration feature is  a great alternative to the perspective of replicating IIS settings.<\/p>\n<p>The Applicationhost.config xml file is the main configuration file of  IIS 7.0, this configuration file contains all the information about  sites, virtual directories, applications, application pools and global  settings for the web server.<\/p>\n<p>Content replication can relatively easy been managed by simple x-copy  or robocopy commands, as well as specific website configurations, which  are saved in web.config xml files within each website.<\/p>\n<h2>Conclusion<\/h2>\n<p>With the redesign of IIS, Microsoft has really focused on making the  IIS 7.0 a better web server for everyone, from IT Professionals,  Developers to Web Hosters. To sum up I\u2019ll try to highlight some of the  main reasons why I believe IIS 7.0 is a strong product:<\/p>\n<ul>\n<li>\n<div>The product is more secure \u2013 only the binaries needed are installed<\/div>\n<\/li>\n<li>\n<div>It\u2019s extendable in a flexible way, because of the new modular architecture<\/div>\n<\/li>\n<li>\n<div>It\u2019s easier to scale-out \u2013 because of the simplicity in configuration, based on xml files<\/div>\n<\/li>\n<li>\n<div>Better performance \u2013 due to the improvements to the\u00a0core\u00a0of IIS (http.sys)<\/div>\n<\/li>\n<\/ul>\n<p>There are plenty of opportunities for trying out IIS 7.0 yourself and getting familiar with it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The basics of Internet Information Services 7.0 also known as IIS 7.0. IIS 7.0 is the web server role in Windows Vista and Windows Server 2008. Introduction Internet Information Services 7.0 (IIS 7.0) is Microsoft\u2019s latest version of their web server. IIS has been included with Windows Server since Windows 2000 Server as a Windows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-871","post","type-post","status-publish","format-standard","hentry","category-iis-internet-information-services"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=871"}],"version-history":[{"count":2,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":874,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/871\/revisions\/874"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}