Posts

Getting Started with AppCmd.exe

Overview AppCmd.exe is the single command line tool for managing IIS 7 and above. It exposes all key server management functionality through a set of intuitive management objects that can be manipulated from the command line or from scripts. AppCmd enables you to easily control the server without using a graphical administration tool and to quickly automate server management tasks without writing code. Some of the things you can do with AppCmd: Create and configure sites, apps, application pools, and virtual directories Start and stop sites, and recycle application pools List running worker processes, and examine currently executing requests Search, manipulate, export, and import IIS and ASP.NET configuration AppCmd also allows server administrators to build advanced management tasks simply by combining multiple simpler AppCmd.exe commands, or reusing the output of the tool inside another program. This article contains: How to Use AppCmd.exe Getting H

How IIS Process ASP.NET Request

Image
Introduction When request come from client to the server a lot of operation is performed before sending response to the client. This is all about how IIS Process the request Web Server When we run our ASP.NET Web Application from visual studio IDE, VS Integrated ASP.NET Engine is responsible to execute all kind of asp.net requests and responses.  The process name is “WebDev.WebServer.Exe” which actually take care of all request and response of a web application which is running from Visual Studio IDE. Now, the name “Web Server” comes into picture when we want to host the application on a centralized location and wanted to access from many locations. Web server is responsible for handle all the requests that are coming from clients, process them and provide the responses. IIS IIS (Internet Information Server) is one of the most powerful web servers from Microsoft that is used to host your ASP.NET Web application. IIS has it’s own ASP.NET Process Engine  t

IIS Request Processing

As you have read my earlier topic "Introduction to IIS Architectures". You can find it here http://shareinkt.blogspot.com/2015/08/introduction-to-iis-architectures.html   This topic describes how a client request is processed on an IIS server. Request Processing by Type of Request The following table describes what happens once an IIS process receives a request to be executed. Request Action HTML Page IIS returns the page in HTML format. A file whose extension is mapped to a particular ISAPI extension, such as Asp.dll IIS loads the appropriate DLL file and presents the request through the Extension_Control_Block data structure. For example, the .asp extension is mapped to Asp.dll, so that all requests for files with an .asp extension will be directed to Asp.dll. The .stm and .shtm extensions are mapped to the Ssinc.dll. ISAPI extension IIS loads the ISAPI DLL (if it is not already running) and the request is sent to the extension through the EXTENS