Tech Support Websites

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 4 July 2011

Learn IIS7 with Scott Forsyth's 52-week video lesson series

Posted on 21:40 by Unknown

IIS expert Scott Forsyth has been running a video lesson series where he shares best practices, technical processes, tools of the trade, and occasional stories from working in the trenches. 25 of the planned 52 weekly, roughly 10 minute sessions are hosted on YouTube and currently available for free viewing. I checked out the "AppDomain - What it is and Why it's Important" & "IIS Virtual Directory vs. Application" sessions & found them very informative. I've jotted down some material from there & I'll add more as I finish watching the rest -

* When to use Virtual Directory vs Application -
- Use Virtual Directory when you want to point to a different physical path, when you want to share a physical folder across sites.
+ Use Application when you want:
- New application root or
- AppDomain isolation or
- Subfolder to be in new application pool (2 folders of same site targetting different .NET Framework versions can be set to different app pools)

- A vDir pointing to a single physical path can be shared by 2 sites. While accessing files under that shared folder, it appears as if this vDir appears physically under it.

+ 4 types of IIS Folders (note the icons in the image)
- Normal Folder
- Application Folder - use "Convert to Application" in the context menu. Lets you change Application pool but not physical path
- vDir only Folder - shares same app domain & app pool as root site
- vDir with Application - vDir with seperate application boundary

- On removing an Application, physical path remains but references are lost.

- AppDomains are a boundary set up by ASP.NET; they are controlled by IIS

- Usually there is a 1:1 mapping between app & app pool

+ AppDomain recycle consequences -
- First hit perf penalty when
- Any info in that appdomain (like inproc sessions) is lost

+ AppDomain Recycle causes -
- App Pool Recycle/server reset/reboot
- Touching or modifying web.config
- Touching anything in an application folder (bin folder or any of the 7 ASP.NET special folders - App_Code etc)
- Adding/deleting folders
- IIS settings that affect app pool
- IIS settings that affect web.config (change to Default Document in IIS causes app recycle as this file is referenced in web.config)
- Root machine.config & web.config changes (but modifying applicationHost.config will have no impact)
- Some failures at AppPool or AppDomain level

Related:
Notes from Tech-Ed session "Internet Information Services (IIS) 7.5 for Developers"
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in IIS | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Windows 8 keyboard shortcuts
    Win + X   - context menu to access common features like Control Panel, Task Manager, File Explorer, Programs & Features, Run, Search etc...
  • Dashboard-like info with Browser tabs, Windows 7 Taskbar tabs
    Browser tabs & Windows 7 Taskbar tabs are turning self-aware.  This is how my browser looked the other day: I had the summary of all tha...
  • The State Of HTML5 Video
    Key points from the  The State Of HTML5 Video  report by LongTailVideo (last updated on April 19, 2012): 75% of the desktop & mobile bro...
  • Archive tweets & favorites with Google Reader
    There are numerous ways to archive tweets but rather than use yet another tool, I prefer using Google Reader to preserve the tweets I mark ...
  • TWIL - Week #3
    This Week I Learned: New Azure VM Image Templates include SQL Server, BizTalk Server, and SharePoint Server (2013?) images . This can be han...
  • What is the difference between Browser Mode & Document Mode in IE
    If you're a web developer and your job actively involves building web pages that work the same in all browsers including the last three ...
  • My 30-day personal project - watch 100 hours of Pluralsight videos
    Inspired by Matt Cutts' 30-day challenges , I plan to watch 100 hours of Pluralsight online videos to get up-to-date with current ...
  • Azure in Pictures - overview of Windows Azure Features, Services and Common Uses
    Download the Windows Azure Poster in PDF format (1.1MB)
  • Indian comparison shopping sites
    Did you know, India has 120 million Internet users & the Indian e-commerce market is worth $7 billion ?  Travel accounts for over 80 per...
  • HOW TO dynamically generate a Word document with custom header & footer
    Way back in 2004, a project I was working on required a web page to be exported as a Word document (.DOC). Without relying on any components...

Categories

  • AJAX
  • Android
  • APIs
  • App
  • ASP
  • ASP.NET
  • ASP.NET-MVC
  • Azure
  • Azure SQL Database
  • AzureInPictures
  • Bing
  • Book Review
  • Bookmarklet
  • Browsers
  • C#
  • chart
  • Chrome
  • Cloud
  • CSS
  • CSS3
  • DidYouKnow
  • E-Commerce
  • Excel
  • FB
  • Fiddler
  • Firefox
  • Gadgets
  • GeoLocation
  • GMail
  • Google
  • Google Docs
  • Google Reader
  • Health
  • Hotmail
  • HOWTO
  • HTML
  • HTML/CSS
  • HTML5
  • Humor
  • Hyderabad
  • IE
  • IIS
  • India
  • Internet
  • IT
  • Javascript
  • jQuery
  • JSON
  • JSONP
  • Laptop
  • Learning Resources
  • Lists
  • Map
  • Metrics
  • Microsoft
  • miscellaneous
  • Mobile
  • NAPA
  • Office365
  • Opera
  • PDF
  • Performance
  • Personal
  • PHP
  • PM
  • PowerShell
  • Privacy
  • Programming
  • Rant
  • Safari
  • Science
  • Search Engines
  • SearchEngines
  • Security
  • SEO
  • Sharepoint
  • SharePoint2013
  • Silverlight
  • Software Engineering
  • Solutions
  • SQL Azure
  • SQL Server
  • TFS
  • Tip
  • Tips
  • Tools
  • Tools/Utilities
  • Trivia
  • TWIL
  • Twitter
  • UX
  • VM
  • VS.NET
  • VS2010
  • VS2012
  • WCF
  • WebApps
  • Websites
  • WF
  • Windows Phone
  • Windows7
  • Windows8
  • Word
  • WP7
  • WPF

Blog Archive

  • ►  2013 (112)
    • ►  October (16)
    • ►  September (14)
    • ►  August (8)
    • ►  July (8)
    • ►  June (13)
    • ►  May (12)
    • ►  April (12)
    • ►  March (8)
    • ►  February (15)
    • ►  January (6)
  • ►  2012 (127)
    • ►  December (11)
    • ►  November (14)
    • ►  October (13)
    • ►  September (14)
    • ►  August (16)
    • ►  July (16)
    • ►  June (6)
    • ►  May (5)
    • ►  April (11)
    • ►  March (12)
    • ►  February (7)
    • ►  January (2)
  • ▼  2011 (98)
    • ►  December (5)
    • ►  November (2)
    • ►  October (5)
    • ►  September (7)
    • ►  August (7)
    • ▼  July (15)
      • Learning with Pluralsight videos gets even better ...
      • Free JavaScript & jQuery learning resources
      • Learn IIS 7 - IIS 7.x's Configuration System
      • Older ASP.NET Starter Kits
      • Why formatting of a ASP.NET page looks different w...
      • HTML5 at work
      • Discover public transport in India with Google Tra...
      • Adobe BrowserLab vs Browsershots.org: online servi...
      • Overview of Pluralsight course "A Beginner's Guide...
      • You can now use an actual image as Google Image se...
      • HOW TO check what HTML5 features a browser supports
      • Online database of medicines used in India - MedGu...
      • HOW TO see how your web pages are ranking in realtime
      • Learn IIS7 with Scott Forsyth's 52-week video less...
      • India IT - facts, numbers & trivia
    • ►  June (10)
    • ►  May (7)
    • ►  April (8)
    • ►  March (10)
    • ►  February (11)
    • ►  January (11)
  • ►  2010 (163)
    • ►  December (14)
    • ►  November (19)
    • ►  October (19)
    • ►  September (15)
    • ►  August (18)
    • ►  July (17)
    • ►  June (20)
    • ►  May (17)
    • ►  April (19)
    • ►  March (5)
Powered by Blogger.

About Me

Unknown
View my complete profile