IIS 7 / 7.5
- Version of IIS is always tied to version of OS.
- Modularity of IIS 7 /7.5: You chose modules of IIS which are to be installed.
- SSL Site: A unique IP address is required for SSL enabled web site.IIS cannot use Host name to distinguish, because host name is encrypted when IIS handles request.
- Starting IIS 7 certain settings are saved in Application’s web.config file.Each App pool has one worker process.
- Starting IIS 7: When you create a new web site, IIS creates a new App pool of exact same name.
- Managed Pipeline mode: Use Integrated mode if possible.
- Unhandled exceptions lead to App pool to crash.
- Any type of configuration change leads to an App pool to recycle.
- Session state is saved in App pool. So when App pool is recycled session state would be lost?
- IIS Troubleshooting
- Track errors using Failed Request Tracing module
- Log Parser Wizard & Log Parser Tool are could be used to analyze log files. Log Parser Tool allows SQL like queries on log.
- MSDeploy is a tool from Microsoft for deploying web sites.
- MSDeploy could be used
- Take back-up of site on physical drive and vice versa.
- Since Visual Studio 2010. MSDeploy is built in
to VS 2010.
- URL Rewrite extension: Could be used to give friendly URLs to user. This is IIS feature.
- Web Farm Framework: There is IIS extension which helps in Web Farm.
IIS 8
- Application Initialization: When first user shows up, lot of initialization happens. Application initialization allows this to be done before first user shows up. Thus first user won't take hit.
- SNI: Allows multiple SSL certificates to one IP Address.