Which are the different IIS isolation levels in ASP.NET? IIS has three level of isolation –
LOW (IIS process) - In this, ASP.NET application and main IIS process run in same process. So, if any application crashes it will adversely affect the others too.
Medium (Pooled) - In Medium pooled scenario the IIS and web application run in different process. So in this case there will be two processes process1 and process2. Process1 runs the IIS process and Process2 runs the Web application.
High (Isolated) - Here every process runs under it’s own process. This consumes heavy memory but has highest reliability.
Which type if caching will be used if we want to cache the portion of a page instead of whole page? Fragment Caching: It caches the portion of the page generated by the request. For that, we can create user controls with the below code:
<%@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"%>