ASP.NET - Query  ASP.NET - Query

Asked By myzonal.com myzonal.com
27-Jun-11 07:33 AM
Hi All
what is worker process in asp.net?how we use this process?
  James H replied to myzonal.com myzonal.com
27-Jun-11 07:35 AM

ASP.NET runs within a process known as the ASP.NET worker process. All ASP.NET functionality runs within the scope of this process.

A regular Web server contains only a single ASP.NET worker process. This is different from both Web farms and Web gardens:

  • A Web farm contains multiple ASP.NET worker processes.

    Each server in the group of servers handles a separate ASP.NET worker process.

  • A Web garden contains multiple ASP.NET worker processes.

    Each CPU in the SMP server handles a separate ASP.NET worker process.

Choosing an ASP.NET worker process

When a Web client connects to a Web farm or Web garden, one of the multiple ASP.NET worker processes is selected to run the request.

  • In a Web farm, Network Load Balancing determines the ASP.NET worker process selected.
  • In a Web garden, the ASP.NET worker process selected is determined by ASP.NET.

State management with multiple ASP.NET worker processes

When moving from a scenario with a single ASP.NET worker process (a normal Web server) to a scenario with multiple ASP.NET worker processes (a Web farm or Web garden), complications with state management are introduced.

Web pages are stateless, so a Web server must persist state through other means. Typical means to manage state on the Web server include Session State and the ASP.NET Cache.

  Vickey F replied to myzonal.com myzonal.com
27-Jun-11 07:37 AM

ASP.NET runs within a process known as the ASP.NET worker process. All ASP.NET functionality runs within the scope of this process.

A regular Web server contains only a single ASP.NET worker process. This is different from both Web farms and Web gardens:

1.    A Web farm contains multiple ASP.NET worker processes.

2.    Each server in the group of servers handles a separate ASP.NET worker process.
3.    A Web garden contains multiple ASP.NET worker processes.

4.    Each CPU in the SMP server handles a separate ASP.NET worker process.

Choosing an ASP.NET worker process

When a Web client connects to a Web farm or Web garden, one of the multiple ASP.NET worker processes is selected to run the request.

1.    In a Web farm, Network Load Balancing determines the ASP.NET worker process selected.
2.    In a Web garden, the ASP.NET worker process selected is determined by ASP.NET.

- Configuring ASP.NET Applications in Worker Process Isolation Mode-

Follow this link-

http://technet.microsoft.com/en-us/library/cc786907%28WS.10%29.aspx

Hope this will help you.

  Vickey F replied to myzonal.com myzonal.com
27-Jun-11 07:42 AM
What is Worker Process?

"The "Process" which is responsible for processing Asp.net application request and sending back response to the client , is known as "Worker Process". All ASP.NET functionalities runs within the scope of this process."

So finally I can write it...

"Process which is responsible for all asp.net requests and response cycle is known as worker process."

What about Worker process in Web Farm?

A Web farm contains multiple ASP.NET worker processes.

Each server in the group of servers handles a separate ASP.NET worker process.

What about Worker process in Web Garden?

A Web garden contains multiple ASP.NET worker processes.

Each CPU in the SMP server handles a separate ASP.NET worker process.

Let's See the Worker Process

Running IIS 5.0: Aspnet_wp.ex

Running IIS 6.0: W3wp.exe




For more detail Follow this link-

http://www.c-sharpcorner.com/UploadFile/prg.apv/Worker11282008020925AM/Worker.aspx

Hope this will help you.
  Reena Jain replied to myzonal.com myzonal.com
27-Jun-11 07:46 AM
hi,

A worker process is user-mode code whose role is to process requests, such as processing requests to return a static page, invoking an ISAPI extension or filter, or running a Common Gateway Interface (CGI) handler.

In both application isolation modes, the worker process is controlled by the WWW service. However, in worker process isolation mode, a worker process runs as an executable file named W3wp.exe, and in IIS 5.0 isolation mode, a worker process is hosted by Inetinfo.exe. Figure 2.2, which depicts the architecture for IIS 5.0 isolation mode, uses a dashed line to suggest the relationship between the worker process and the WWW service.

Worker processes use HTTP.sys to receive requests and to send responses by using HTTP. Worker processes also run application code, such as ASP.NET applications and XML Web services. You can configure IIS to run multiple worker processes that serve different application pools concurrently. This design separates applications by process boundaries and helps achieve maximum Web server reliability.

By default, worker processes in worker process isolation mode run under the Network Service account, which has the strongest security (least access) compatible with the functionality that is required.

Hope this will  help you
Create New Account
help
Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object? (A) How will implement Page Fragment Caching? (B) Can you compare ASP.NET sessions with classic ASP? (B) Which are the various modes of storing ASP.NET session
in Sql server as var_name int How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging The control itself will take care of the date display How can you deploy an asp.net application ? You can deploy an ASP.NET Web application using any one of the following three deployment options. a) Deployment using VS
Migration from ASP to ASP.net How to convert ASP site to ASP.NET site using C# http: / / www.asp.net / downloads / archived-v11 / migration-assistants / asp-to-aspnet hi, ASP.NET framework is very much different from unstrucured ASP and there is no correct way to
Tracing in ASP.NET? hi all, what is tracing? how to achieve tracing in asp.net? different ways of doing tracing? thanks and regards Aman Khan hi. . Tracing in ASP.NET 2.0 Tracing is a way to monitor the execution of your ASP.NET application. You can record exception details and program flow in a way that doesn't